コード例 #1
0
 public IMLInput(IMLInput newInput)
 {
     if (newInput != null)
     {
         SetInputData(newInput.InputData);
         InputType = newInput.InputType;
     }
 }
コード例 #2
0
        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);
        }