コード例 #1
0
 public override void Return <TReturnException>(string messageFormat)
 {
     if (Validatable.IsEqual(Value) == false)
     {
         ReturnResult <TReturnException>(null, messageFormat, null, new object[] { Value });
     }
 }
コード例 #2
0
 public override void Return <TReturnException>(object key, string messageFormat, object context = null)
 {
     if (Validatable.IsEqual(Value) == false)
     {
         ReturnResult <TReturnException>(key, messageFormat, context, new object[] { key, Value });
     }
 }