예제 #1
0
 private static Type GetFormatterType(IValueFormatter formatter)
 {
     return formatter is DeferredInstantiatedFormatter ? ((DeferredInstantiatedFormatter) formatter).GetFormatterType() : formatter.GetType();
 }
 private static Type GetFormatterType(IValueFormatter formatter, ResolutionContext context)
 {
     return(formatter is DeferredInstantiatedFormatter ? ((DeferredInstantiatedFormatter)formatter).GetFormatterType(context) : formatter.GetType());
 }
예제 #3
0
 private static Type GetFormatterType(IValueFormatter formatter)
 {
     return(formatter is DeferredInstantiatedFormatter ? ((DeferredInstantiatedFormatter)formatter).GetFormatterType() : formatter.GetType());
 }