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


C# BinaryReader.ReadSyntaxNode方法代码示例

本文整理汇总了C#中System.IO.BinaryReader.ReadSyntaxNode方法的典型用法代码示例。如果您正苦于以下问题:C# BinaryReader.ReadSyntaxNode方法的具体用法?C# BinaryReader.ReadSyntaxNode怎么用?C# BinaryReader.ReadSyntaxNode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.IO.BinaryReader的用法示例。


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

示例1: UvssSelectorWithNavigationExpressionSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorWithNavigationExpressionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorWithNavigationExpressionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.Selector = reader.ReadSyntaxNode<UvssSelectorSyntax>(version);
            ChangeParent(this.Selector);

            this.NavigationExpression = reader.ReadSyntaxNode<UvssNavigationExpressionSyntax>(version);
            ChangeParent(this.NavigationExpression);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssSelectorWithNavigationExpressionSyntax.cs

示例2: UvssPseudoClassSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPseudoClassSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPseudoClassSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.ColonToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ColonToken);

            this.ClassNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.ClassNameIdentifier);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssPseudoClassSyntax.cs

示例3: UvssPlaySfxTriggerActionSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPlaySfxTriggerActionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPlaySfxTriggerActionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PlaySfxKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PlaySfxKeyword);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.Value);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssPlaySfxTriggerActionSyntax.cs

示例4: UvssSelectorPartTypeSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorPartTypeSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorPartTypeSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.SelectedTypeIdentifier = reader.ReadSyntaxNode<UvssIdentifierSyntax>(version);
            ChangeParent(this.SelectedTypeIdentifier);

            this.ExclamationMarkToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ExclamationMarkToken);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssSelectorPartTypeSyntax.cs

示例5: UvssSelectorPartNameSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssSelectorPartNameSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssSelectorPartNameSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.HashToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.HashToken);

            this.SelectedNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierSyntax>(version);
            ChangeParent(this.SelectedNameIdentifier);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssSelectorPartNameSyntax.cs

示例6: UvssCultureDirectiveSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssCultureDirectiveSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssCultureDirectiveSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.DirectiveToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.DirectiveToken);

            this.CultureValue = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.CultureValue);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:UvssCultureDirectiveSyntax.cs

示例7: WithTwoChildren

            /// <summary>
            /// Initializes a new instance of the <see cref="WithTwoChildren"/> class from
            /// the specified binary reader.
            /// </summary>
            /// <param name="reader">The binary reader with which to deserialize the object.</param>
            /// <param name="version">The file version of the data being read.</param>
            private WithTwoChildren(BinaryReader reader, Int32 version)
                : base(reader, version)
            {
                this.child0 = reader.ReadSyntaxNode(version);
                ChangeParent(this.child0);

                this.child1 = reader.ReadSyntaxNode(version);
                ChangeParent(this.child1);
            }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:15,代码来源:SyntaxList.WithTwoChildren.cs

示例8: UvssEscapedIdentifierSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssEmptyStatementSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssEscapedIdentifierSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenBracketToken);

            this.IdentifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.IdentifierToken);

            this.CloseBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseBracketToken);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssEscapedIdentifierSyntax.cs

示例9: UvssBlockSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssBlockSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssBlockSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenCurlyBraceToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenCurlyBraceToken);

            this.Content = reader.ReadSyntaxList<SyntaxNode>(version);
            ChangeParent(this.Content.Node);

            this.CloseCurlyBraceToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseCurlyBraceToken);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssBlockSyntax.cs

示例10: UvssEventTriggerArgumentList

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssEventTriggerArgumentList"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssEventTriggerArgumentList(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenParenToken);

            this.Arguments = reader.ReadSeparatedSyntaxList<SyntaxNode>(version);
            ChangeParent(this.Arguments.Node);

            this.CloseParenToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseParenToken);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssEventTriggerArgumentList.cs

示例11: UvssPlayStoryboardTriggerActionSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPlayStoryboardTriggerActionSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPlayStoryboardTriggerActionSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.PlayStoryboardKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PlayStoryboardKeyword);

            this.Selector = reader.ReadSyntaxNode<UvssSelectorWithParenthesesSyntax>(version);
            ChangeParent(this.Selector);

            this.Value = reader.ReadSyntaxNode<UvssPropertyValueWithBracesSyntax>(version);
            ChangeParent(this.Value);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssPlayStoryboardTriggerActionSyntax.cs

示例12: UvssPropertyValueWithBracesSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyValueWithBracesSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyValueWithBracesSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenCurlyBrace = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenCurlyBrace);

            this.ContentToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.ContentToken);

            this.CloseCurlyBrace = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseCurlyBrace);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssPropertyValueWithBracesSyntax.cs

示例13: UvssNavigationExpressionIndexerSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssNavigationExpressionIndexerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssNavigationExpressionIndexerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.OpenBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.OpenBracketToken);

            this.NumberToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.NumberToken);

            this.CloseBracketToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.CloseBracketToken);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssNavigationExpressionIndexerSyntax.cs

示例14: UvssIncompleteTriggerSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssIncompleteTriggerSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssIncompleteTriggerSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.TriggerKeyword = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.TriggerKeyword);

            this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.QualifierToken);

            this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version);
            ChangeParent(this.Body);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssIncompleteTriggerSyntax.cs

示例15: UvssPropertyNameSyntax

        /// <summary>
        /// Initializes a new instance of the <see cref="UvssPropertyNameSyntax"/> class from
        /// the specified binary reader.
        /// </summary>
        /// <param name="reader">The binary reader with which to deserialize the object.</param>
        /// <param name="version">The file version of the data being read.</param>
        internal UvssPropertyNameSyntax(BinaryReader reader, Int32 version)
            : base(reader, version)
        {
            this.AttachedPropertyOwnerNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.AttachedPropertyOwnerNameIdentifier);

            this.PeriodToken = reader.ReadSyntaxNode<SyntaxToken>(version);
            ChangeParent(this.PeriodToken);

            this.PropertyNameIdentifier = reader.ReadSyntaxNode<UvssIdentifierBaseSyntax>(version);
            ChangeParent(this.PropertyNameIdentifier);
        }
开发者ID:RUSshy,项目名称:ultraviolet,代码行数:18,代码来源:UvssPropertyNameSyntax.cs


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