/// <summary>
 ///     Initializes a new instance of the <see cref="T:System.Object" /> class.
 /// </summary>
 /// <exception cref="ArgumentNullException"><paramref name="convertFromString" /> is <see langword="null" />.</exception>
 public OptionSetValueFromString(IConvertFromString convertFromString)
     : base(convertFromString)
 {
     if (convertFromString == null)
     {
         throw new ArgumentNullException(nameof(convertFromString));
     }
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="T:System.Object" /> class.
 /// </summary>
 public StringFromString(IConvertFromString convertFromString)
     : base(convertFromString)
 {
     //if (convertFromString == null)
     //{
     //    throw new ArgumentNullException(nameof(convertFromString));
     //}
 }
예제 #3
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="T:System.Object" /> class.
        /// </summary>
        protected ConvertFromString(IConvertFromString convertFromString)
        {
            if (convertFromString == null)
            {
                //   throw new ArgumentNullException(nameof(convertFromString));
            }

            NextChain = convertFromString;
        }
예제 #4
0
 /// <summary>Initialisiert eine neue Instanz der <see cref="T:System.Object" />-Klasse.</summary>
 /// <exception cref="ArgumentNullException"><paramref name="convertFromString" /> is <see langword="null" />.</exception>
 public Test(IConvertFromString convertFromString)
 {
     _convertFromString = convertFromString ?? throw new ArgumentNullException(nameof(convertFromString));
 }