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