public object Resolve_AsyncIUnityContainer()
 => ContainerAsync.ResolveAsync(typeof(IUnityContainerAsync), (string)null)
 .GetAwaiter()
 .GetResult();
 public object Resolve_Object_IUnityContainerAsync()
 => ContainerAsync.ResolveAsync(typeof(object), null)
 .GetAwaiter()
 .GetResult();
Exemplo n.º 3
0
 public object Resolve_Generic_IServiceProvider()
 => ContainerAsync.Resolve(typeof(TestGeneric <object>), null);
Exemplo n.º 4
0
 public object Resolve_Generic_IUnityContainerAsync()
 => ContainerAsync.ResolveAsync(typeof(TestGeneric <object>), (string)null)
 .GetAwaiter()
 .GetResult();
Exemplo n.º 5
0
 public object Resolve_Registered_Type_Async()
 => ContainerAsync.ResolveAsync(typeof(Service), (string)null)
 .GetAwaiter()
 .GetResult();