예제 #1
0
 private object ToModel(TypeConversionFailedException e)
 {
     return new[]{
         new TypeConversionFailed
         {
             Message = "Type conversion failed.",
             Argument = e.Argument,
             Value = e.Value,
             TargetType = e.TargetType.FullName
         }
     };
 }
예제 #2
0
 private object ToModel(TypeConversionFailedException e)
 {
     return(new[] {
         new TypeConversionFailed
         {
             Message = "Type conversion failed.",
             Argument = e.Argument,
             Value = e.Value,
             TargetType = e.TargetType.FullName
         }
     });
 }