/// <summary> /// Initializes a new instance of the <see cref="UvssRuleSetSyntax"/> 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 UvssRuleSetSyntax(BinaryReader reader, Int32 version) : base(reader, version) { this.Selectors = reader.ReadSeparatedSyntaxList<UvssSelectorWithNavigationExpressionSyntax>(version); ChangeParent(this.Selectors.Node); this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version); ChangeParent(this.Body); }
/// <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); }
/// <summary> /// Initializes a new instance of the <see cref="UvssStoryboardTargetSyntax"/> 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 UvssStoryboardTargetSyntax(BinaryReader reader, Int32 version) : base(reader, version) { this.TargetKeyword = reader.ReadSyntaxNode<SyntaxToken>(version); ChangeParent(this.TargetKeyword); this.Filters = reader.ReadSeparatedSyntaxList<UvssIdentifierBaseSyntax>(version); ChangeParent(this.Filters.Node); this.Selector = reader.ReadSyntaxNode<UvssSelectorWithParenthesesSyntax>(version); ChangeParent(this.Selector); this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version); ChangeParent(this.Body); }
/// <summary> /// Initializes a new instance of the <see cref="UvssPropertyTriggerSyntax"/> 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 UvssPropertyTriggerSyntax(BinaryReader reader, Int32 version) : base(reader, version) { this.TriggerKeyword = reader.ReadSyntaxNode<SyntaxToken>(version); ChangeParent(this.TriggerKeyword); this.PropertyKeyword = reader.ReadSyntaxNode<SyntaxToken>(version); ChangeParent(this.PropertyKeyword); this.Conditions = reader.ReadSeparatedSyntaxList<UvssPropertyTriggerConditionSyntax>(version); ChangeParent(this.Conditions.Node); this.QualifierToken = reader.ReadSyntaxNode<SyntaxToken>(version); ChangeParent(this.QualifierToken); this.Body = reader.ReadSyntaxNode<UvssBlockSyntax>(version); ChangeParent(this.Body); }