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()); }
private static Type GetFormatterType(IValueFormatter formatter) { return(formatter is DeferredInstantiatedFormatter ? ((DeferredInstantiatedFormatter)formatter).GetFormatterType() : formatter.GetType()); }