Example #1
0
 static Or  If <tArg>(bool condition, tArg arg)
 {
     if (condition)
     {
         throw TypeSupport <tException> .Create(arg);
     }
     return(Or.Empty);
 }
Example #2
0
 static Or  If(bool condition)
 {
     if (condition)
     {
         throw TypeSupport <tException> .Create();
     }
     return(Or.Empty);
 }