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))); }
///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))); }