コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Values{T1,T2}"/> struct.
 /// </summary>
 /// <param name="value">The value of type <typeparamref name="T2"/>.</param>
 public Values(OneOrMany <T2> value)
 {
     this.value1 = default;
     this.value2 = value;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Values{T1,T2}"/> struct.
 /// </summary>
 /// <param name="value">The value of type <typeparamref name="T1"/>.</param>
 public Values(OneOrMany <T1> value)
 {
     this.value1 = value;
     this.value2 = default;
 }