コード例 #1
0
 public void Deconstruct(out IPoint Location, out IObservableValue <bool> ErrorState, out IEditableNodeLabel Name, out INodeComponentList FieldList, out IObjectFactory Factory)
 {
     Location   = this.Location;
     ErrorState = this.ErrorState;
     Name       = this.Name;
     Factory    = this.Factory;
     FieldList  = this.FieldList;
 }
コード例 #2
0
 public NodeDependencyAggregate(IPoint location, IObservableValue <bool> errorState, IEditableNodeLabel name, INodeComponentList fieldList, IObjectFactory factory)
 {
     Location   = location;
     ErrorState = errorState;
     Name       = name;
     Factory    = factory;
     FieldList  = fieldList;
 }
コード例 #3
0
        public static INodeComponentList NodeComponentList(IEnumerable <INodeComponent> components)
        {
            INodeComponentList output = Laminar.New <INodeComponentList>();

            foreach (INodeComponent component in components)
            {
                output.Add(component);
            }

            return(output);
        }