public IMLInput(IMLInput newInput) { if (newInput != null) { SetInputData(newInput.InputData); InputType = newInput.InputType; } }
public void AddInputExample(IMLBaseDataType inputExample) { // Check that list is initialised if (m_Inputs == null) { m_Inputs = new List <IMLInput>(); } // Add entry to list with the example passed in var newInputExample = new IMLInput(inputExample); m_Inputs.Add(newInputExample); }