Ejemplo n.º 1
0
 protected TacticBlock(TacticBlock parent, string defaultName, string customName = null)
 {
     DefaultName = defaultName;
     CustomName  = customName;
     Parent      = parent;
     Children    = new ObservableCollection <TacticBlock>();
     Children.CollectionChanged += Children_CollectionChanged;
     Inputs  = new SafeDictionary <string, TacticInput>();
     Outputs = new SafeDictionary <string, TacticOutput>();
 }
Ejemplo n.º 2
0
 public TacticConnectionOutput(TacticBlock block, bool mandatory, Type type = null, ITacticNode connectedNode = null)
     : base(block, type)
 {
 }
Ejemplo n.º 3
0
 public TacticInput(TacticBlock block, Type type = null, TacticOutput connection = null)
 {
     Block           = block;
     Type            = type ?? typeof(object);
     ConnectedOutput = connection;
 }
Ejemplo n.º 4
0
 public TacticPropertyOutput(TacticBlock block, string inputName, string propertyName, Type type = null)
     : base(block, type)
 {
     InputName    = inputName;
     PropertyName = propertyName;
 }
Ejemplo n.º 5
0
 public TacticFormulaOutput(TacticBlock block, Type type = null, IFormula formula = null)
     : base(block, type)
 {
     Formula = formula;
 }
Ejemplo n.º 6
0
 public TacticOutput(TacticBlock block, Type type = null)
 {
     Block = block;
     Type  = type ?? typeof(object);
 }
Ejemplo n.º 7
0
 public TacticObjectInput(TacticBlock block, Type type = null, object defaultValue = null, TacticOutput connection = null)
     : base(block, type, connection)
 {
     DefaultValue = defaultValue;
 }
Ejemplo n.º 8
0
 public TacticFormulaInput(TacticBlock block, Type type = null, IFormula defaultValue = null, TacticOutput connection = null)
     : base(block, type, connection)
 {
     DefaultValue = defaultValue;
 }