Beispiel #1
0
            protected override void RunDefinedInEnum <TEnum>(Expression <Func <TEnum> > value)
            {
                var arg = Arg.Validate(value);

                Arg.DefinedInEnum(arg.Value, arg.Name);
            }
 public void ArgValidaton_Short()
 {
     Arg.DefinedInEnum(Value, nameof(Value));
 }
Beispiel #3
0
 protected override void RunDefinedInEnum <TEnum>(Expression <Func <TEnum> > value)
 {
     Arg.DefinedInEnum(value);
 }