Example #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>();
 }
Example #2
0
 public TacticConnectionOutput(TacticBlock block, bool mandatory, Type type = null, ITacticNode connectedNode = null)
     : base(block, type)
 {
 }
Example #3
0
 public TacticInput(TacticBlock block, Type type = null, TacticOutput connection = null)
 {
     Block           = block;
     Type            = type ?? typeof(object);
     ConnectedOutput = connection;
 }
Example #4
0
 public TacticPropertyOutput(TacticBlock block, string inputName, string propertyName, Type type = null)
     : base(block, type)
 {
     InputName    = inputName;
     PropertyName = propertyName;
 }
Example #5
0
 public TacticFormulaOutput(TacticBlock block, Type type = null, IFormula formula = null)
     : base(block, type)
 {
     Formula = formula;
 }
Example #6
0
 public TacticOutput(TacticBlock block, Type type = null)
 {
     Block = block;
     Type  = type ?? typeof(object);
 }
Example #7
0
 public TacticObjectInput(TacticBlock block, Type type = null, object defaultValue = null, TacticOutput connection = null)
     : base(block, type, connection)
 {
     DefaultValue = defaultValue;
 }
Example #8
0
 public TacticFormulaInput(TacticBlock block, Type type = null, IFormula defaultValue = null, TacticOutput connection = null)
     : base(block, type, connection)
 {
     DefaultValue = defaultValue;
 }