当前位置: 首页>>代码示例>>C#>>正文


C# Html.Node类代码示例

本文整理汇总了C#中SharpKit.Html.Node的典型用法代码示例。如果您正苦于以下问题:C# Node类的具体用法?C# Node怎么用?C# Node使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Node类属于SharpKit.Html命名空间,在下文中一共展示了Node类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: walkDomFragment

        public void walkDomFragment(Node node, AbstractBehavior parentBehavior = null)
        {
            investigateNode(node, parentBehavior);

            //free this for GC when we are done, it has references to a lot of DOM elements
            this.extensionsToBeApplied = null;
        }
开发者ID:RandoriCSharp,项目名称:randori-framework,代码行数:7,代码来源:DomWalker.cs

示例2: walkDomChildren

        public void walkDomChildren(Node parentNode, AbstractBehavior parentBehavior = null)
        {
            //The fact that we have two entry point into here walkChildren and walkDomFragment continues to screw us
            walkChildren(parentNode, parentBehavior);

            //free this for GC when we are done, it has references to a lot of DOM elements
            this.extensionsToBeApplied = null;
        }
开发者ID:RandoriCSharp,项目名称:randori-framework,代码行数:8,代码来源:DomWalker.cs

示例3: walkChildren

        public void walkChildren(Node parentNode, InjectionClassBuilder classBuilder, AbstractBehavior parentBehavior = null)
        {
            var node = parentNode.firstChild;

            while (node != null) {
                investigateNode(node, classBuilder, parentBehavior);
                node = node.nextSibling;
            }
        }
开发者ID:labriola,项目名称:Randori,代码行数:9,代码来源:DomWalker.cs

示例4: investigateTextNode

        public void investigateTextNode(Node textNode)
        {
            //We have a list of matches within the text node which tell us what we need to get
            //further we have the original node, which we need to preserve as there may be only parts getting translated
            //even though this is bad form <div>[labels.monkey] is a type of [labels.animal]</div> we still need to support it
            var result = getElementLocalizationComponents(textNode);

            if (result != null) {
                for ( int i=0; i<result.length;i++) {
                    requestTranslation( result[ i ], textNode );
                }

                scheduleTranslation();
            }
        }
开发者ID:griffith-computing,项目名称:Randori,代码行数:15,代码来源:LocalizationProvider.cs

示例5: compareDocumentPosition

	public  int compareDocumentPosition(Node other) { return default(int); }
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:Node.cs

示例6: RandoriApplication

 public RandoriApplication(Node rootNode)
 {
     this.rootNode = rootNode;
 }
开发者ID:labriola,项目名称:Randori,代码行数:4,代码来源:RandoriApplication.cs

示例7: isEqualNode

	public  bool isEqualNode(Node other) { return default(bool); }
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:Node.cs

示例8: evaluate

	public  XPathResult evaluate(string expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult) { return default(XPathResult); }
开发者ID:fjgandrade,项目名称:sharpkit,代码行数:1,代码来源:XPathEvaluator.cs

示例9: acceptNode

	public short acceptNode(Node nodeArg) { return default(short); }
开发者ID:fjgandrade,项目名称:sharpkit,代码行数:1,代码来源:LSParserFilter.cs

示例10: replaceChild

	public  Node replaceChild(Node newChild, Node oldChild) { return default(Node); }
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:Node.cs

示例11: appendChild

	public  Node appendChild(Node newChild) { return default(Node); }
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:Node.cs

示例12: importStylesheet

	public  void importStylesheet(Node stylesheet) {}
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:XSLTProcessor.cs

示例13: transformToFragment

	public  DocumentFragment transformToFragment(Node source, Document docVal) { return default(DocumentFragment); }
开发者ID:hultqvist,项目名称:SharpKit-SDK,代码行数:1,代码来源:XSLTProcessor.cs

示例14: writeToURI

	public bool writeToURI(Node nodeArg, string uri) { return default(bool); }
开发者ID:fjgandrade,项目名称:sharpkit,代码行数:1,代码来源:LSSerializer.cs

示例15: writeToString

	public JsString writeToString(Node nodeArg) { return default(JsString); }
开发者ID:fjgandrade,项目名称:sharpkit,代码行数:1,代码来源:LSSerializer.cs


注:本文中的SharpKit.Html.Node类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。