示例#1
0
 /// <summary>
 /// Initializes a new instance of the 'ArgumentDVController' class.
 /// </summary>
 /// <param name="name">Name of the data-valued argument.</param>
 /// <param name="alias">Alias of the data-valued argument.</param>
 /// <param name="idxml">IdXML of the data-valued argument.</param>
 /// <param name="modelType">ModelType of the data-valued argument.</param>
 /// <param name="maxLength">Maximum length of the data-valued argument.</param>
 /// <param name="nullAllowed">Indicates whether the data-valued argument allows null values.</param>
 /// <param name="introductionPattern">Introduction pattern associated to the data-valued argument.</param>
 /// <param name="parent">Parent controller.</param>
 public ArgumentDVController(
     string name,
     string alias,
     string idxml,
     ModelType modelType,
     int maxLength,
     bool nullAllowed,
     IntroductionPattern introductionPattern,
     IUController parent)
     : base(name, parent, alias, idxml, nullAllowed, false)
 {
     mModelType          = modelType;
     mMaxLength          = maxLength;
     mOptions            = null;
     IntroductionPattern = introductionPattern;
 }
        /// <summary>
        /// Initializes a new instance of the 'ArgumentDVController' class.
        /// </summary>
        /// <param name="name">Name of the data-valued argument.</param>
        /// <param name="alias">Alias of the data-valued argument.</param>
        /// <param name="idxml">IdXML of the data-valued argument.</param>
        /// <param name="modelType">ModelType of the data-valued argument.</param>
        /// <param name="maxLength">Maximum length of the data-valued argument.</param>
        /// <param name="nullAllowed">Indicates whether the data-valued argument allows null values.</param>
        /// <param name="introductionPattern">Introduction pattern associated to the data-valued argument.</param>
        /// <param name="parent">Parent controller.</param>
        public ArgumentDVController(
			string name,
			string alias,
			string idxml,
			ModelType modelType,
			int maxLength,
			bool nullAllowed,
			IntroductionPattern introductionPattern,
			IUController parent)
            : base(name, parent, alias, idxml, nullAllowed, false)
        {
            mModelType = modelType;
            mMaxLength = maxLength;
            mOptions = null;
            IntroductionPattern = introductionPattern;
        }