當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。