Пример #1
0
 public static ObjectType DbC_AssureNotNull <ObjectType>([AssertionCondition(AssertionConditionType.IS_NOT_NULL)] this ObjectType value, string message, params object[] parameters)
 {
     DbC.AssureNotNull(value, message, parameters);
     return(value);
 }
Пример #2
0
 public static T DbC_AssureNotNull <T>([AssertionCondition(AssertionConditionType.IS_NOT_NULL)] this T value)
 {
     DbC.AssureNotNull(value);
     return(value);
 }