Beispiel #1
0
 public FälttypAttribute(Fälttyp typ)
 {
     if (typ == Fälttyp.Okänd)
     {
         throw new ArgumentOutOfRangeException(nameof(typ));
     }
     Typ = typ;
 }
Beispiel #2
0
 public FälttypAttribute(Fälttyp typ, int maxLength)
     : this(typ)
 {
     MaxLength = maxLength;
 }