Exemplo n.º 1
0
 public ValueInput AddValueInput(string name, Type type, string ID = "")
 {
     QualifyPortNameAndID(ref name, ref ID, inputPorts);
     return((ValueInput)(inputPorts[ID] = ValueInput.CreateInstance(type, this, name, ID)));
 }
Exemplo n.º 2
0
 ///Recommended. Add a ValueInput of type T. Returns the new ValueInput<T> object.
 public ValueInput <T> AddValueInput <T>(string name, string ID = "")
 {
     QualifyPortNameAndID(ref name, ref ID, inputPorts);
     return((ValueInput <T>)(inputPorts[ID] = new ValueInput <T>(this, name, ID)));
 }