Пример #1
0
 public static object Get(this IIocService ioc, Type serviceTppe, params object[] arguments)
 {
     return(RecursiveExceptionTracker.BasisCall(ioc.Get, new RootBindingRequest(serviceTppe, ioc, arguments))
            ?? throw new IocException("Type resolved to null"));
 }
Пример #2
0
 object?IIocService.Get(IBindingRequest requestedType) =>
 RecursiveExceptionTracker.RecursiveCall(GetImplementation, requestedType);