public NodeInstructionGroup SetInstructionGroupTry(NodeInstructionGroupTry NewInstructionGroupTry)
 {
     if (NewInstructionGroupTry == null)
     {
         throw new ArgumentNullException(m_InstructionGroupTryName);
     }
     return(m_InstructionGroupTry.Set(NewInstructionGroupTry));
 }
        public static NodeInstructionGroupTry BuildWith()
        {
            //build fields
            Dictionary<FieldIdentifier, FieldBase> mutableFields =
                new Dictionary<FieldIdentifier, FieldBase>();
            //Add Fields here: mutableFields.Add(new FieldIdentifier(m_CodeName), Code);

            //build children
            KeyedNodeCollection<NodeBase> mutableChildren =
                new KeyedNodeCollection<NodeBase>();
            //Add Children here: mutableChildren.Add(SomeChild);

            //build node
            NodeInstructionGroupTry Builder = new NodeInstructionGroupTry(
                new ReadOnlyDictionary<FieldIdentifier, FieldBase>(mutableFields),
                new ReadOnlyCollection<NodeBase>(mutableChildren));

            return Builder;
        }
Ejemplo n.º 3
0
        public static NodeInstructionGroupTry BuildWith()
        {
            //build fields
            Dictionary <FieldIdentifier, FieldBase> mutableFields =
                new Dictionary <FieldIdentifier, FieldBase>();
            //Add Fields here: mutableFields.Add(new FieldIdentifier(m_CodeName), Code);

            //build children
            KeyedNodeCollection <NodeBase> mutableChildren =
                new KeyedNodeCollection <NodeBase>();
            //Add Children here: mutableChildren.Add(SomeChild);

            //build node
            NodeInstructionGroupTry Builder = new NodeInstructionGroupTry(
                new ReadOnlyDictionary <FieldIdentifier, FieldBase>(mutableFields),
                new ReadOnlyCollection <NodeBase>(mutableChildren));

            return(Builder);
        }
Ejemplo n.º 4
0
 public NodeInstructionGroup SetInstructionGroupTry(NodeInstructionGroupTry NewInstructionGroupTry)
 {
     if (NewInstructionGroupTry == null)
     {
         throw new ArgumentNullException(m_InstructionGroupTryName);
     }
     return m_InstructionGroupTry.Set(NewInstructionGroupTry);
 }