Beispiel #1
0
 public ValueMap(PType <T> itemType)
 => ItemType = itemType;
Beispiel #2
0
 public ValueList(PType <T> itemType)
 => ItemType = itemType;
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of <see cref="Derived{TBase, T}"/> with a base <see cref="PType{TBase}"/>.
 /// </summary>
 /// <param name="baseType">
 /// The base <see cref="PType{TBase}"/> to depend on.
 /// </param>
 /// <exception cref="ArgumentNullException">
 /// <paramref name="baseType"/> is null.
 /// </exception>
 protected Derived(PType <TBase> baseType)
 => BaseType = baseType ?? throw new ArgumentNullException(nameof(baseType));