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