示例#1
0
 public PropertyReferenceNode(XamlType owningType, ActivityBuilderXamlWriter writer, XamlMember originalStartMember) : base(writer)
 {
     this.owningType             = owningType;
     this.propertyReferenceNodes = new XamlNodeQueue(writer.SchemaContext);
     this.originalStartMember    = originalStartMember;
     base.CurrentWriter          = this.propertyReferenceNodes.Writer;
 }
 public PropertyValueNode(PropertyNode property, ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.property = property;
     this.valueNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.valueNodes.Writer;
 }
示例#3
0
 public RootNode(ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.pendingNodes  = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.pendingNodes.Writer;
 }
 public BuilderClassNode(ActivityBuilderXamlWriter.RootNode rootNode, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.rootNode = rootNode;
     this.otherNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.otherNodes.Writer;
 }
 public PropertyNode(PropertiesNode properties, ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.properties = properties;
     base.CurrentWriter = properties.CurrentWriter;
 }
 public BuilderNameNode(BuilderClassNode classNode, ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.classNode = classNode;
     this.nameNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.nameNodes.Writer;
 }
 public RootNode(ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.pendingNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.pendingNodes.Writer;
 }
            public PropertyReferenceNode(ActivityBuilderXamlWriter writer, PropertyReferencesNode parent)
                : base(writer)
            {
                this.propertyReferenceNodes = new XamlNodeQueue(writer.SchemaContext);
                this.parent = parent;

                // save the untransformed output in case we're not able to perform the transformation
                base.CurrentWriter = this.propertyReferenceNodes.Writer;
            }
示例#9
0
 public ImplementationNode(ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.objectTypes = new Stack <XamlType>();
     this.xamlMembers = new Stack <XamlMember>();
 }
示例#10
0
 protected BuilderXamlNode(ActivityBuilderXamlWriter writer)
 {
     this.Depth         = writer.currentDepth;
     this.Writer        = writer;
     this.CurrentWriter = writer.innerWriter;
 }
示例#11
0
 public BuilderNameNode(ActivityBuilderXamlWriter.BuilderClassNode classNode, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.classNode     = classNode;
     this.nameNodes     = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.nameNodes.Writer;
 }
示例#12
0
 public BuilderClassNode(ActivityBuilderXamlWriter.RootNode rootNode, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.rootNode      = rootNode;
     this.otherNodes    = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.otherNodes.Writer;
 }
 public PropertyReferenceNode(XamlType owningType, ActivityBuilderXamlWriter writer, XamlMember originalStartMember) : base(writer)
 {
     this.owningType = owningType;
     this.propertyReferenceNodes = new XamlNodeQueue(writer.SchemaContext);
     this.originalStartMember = originalStartMember;
     base.CurrentWriter = this.propertyReferenceNodes.Writer;
 }
 public ImplementationNode(ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.objectTypes = new Stack<XamlType>();
     this.xamlMembers = new Stack<XamlMember>();
 }
 public ImplementationNode(ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.objectStack = new Stack<ObjectFrame>();
 }
 public PropertyReferencesNode(ActivityBuilderXamlWriter writer, XamlMember originalStartMember, ImplementationNode parent)
     : base(writer)
 {
     this.untransformedNodes = new XamlNodeQueue(Writer.SchemaContext);
     this.originalStartMember = originalStartMember;
     this.Parent = parent;
     base.CurrentWriter = this.untransformedNodes.Writer;
 }
示例#17
0
 public PropertiesNode(ActivityBuilderXamlWriter.BuilderClassNode classNode, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.classNode       = classNode;
     this.propertiesNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter   = this.propertiesNodes.Writer;
     base.CurrentWriter.WriteStartMember(XamlLanguage.Members);
 }
 protected BuilderXamlNode(ActivityBuilderXamlWriter writer)
 {
     this.Depth = writer.currentDepth;
     this.Writer = writer;
     this.CurrentWriter = writer.innerWriter;
 }
示例#19
0
 public PropertyNode(ActivityBuilderXamlWriter.PropertiesNode properties, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.properties    = properties;
     base.CurrentWriter = properties.CurrentWriter;
 }
            public BuilderClassNode(RootNode rootNode, ActivityBuilderXamlWriter writer)
                : base(writer)
            {
                this.rootNode = rootNode;

                // by default, if we're not in a special sub-tree, ferret the nodes away on the side
                this.otherNodes = new XamlNodeQueue(writer.SchemaContext);
                base.CurrentWriter = this.otherNodes.Writer;
            }
示例#21
0
 public PropertyTypeNode(ActivityBuilderXamlWriter.PropertyNode property, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.property      = property;
     base.CurrentWriter = property.CurrentWriter;
 }
 public PropertiesNode(BuilderClassNode classNode, ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.classNode = classNode;
     this.propertiesNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.propertiesNodes.Writer;
     CurrentWriter.WriteStartMember(XamlLanguage.Members);
 }
示例#23
0
 public PropertyValueNode(ActivityBuilderXamlWriter.PropertyNode property, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.property      = property;
     this.valueNodes    = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.valueNodes.Writer;
 }
 public PropertyTypeNode(PropertyNode property, ActivityBuilderXamlWriter writer)
     : base(writer)
 {
     this.property = property;
     base.CurrentWriter = property.CurrentWriter;
 }
 public AttributesNode(ActivityBuilderXamlWriter.BuilderClassNode classNode, ActivityBuilderXamlWriter writer) : base(writer)
 {
     this.classNode = classNode;
     this.attributeNodes = new XamlNodeQueue(writer.SchemaContext);
     base.CurrentWriter = this.attributeNodes.Writer;
     base.CurrentWriter.WriteStartMember(XamlLanguage.ClassAttributes);
 }