src/Topelab.Core.Resolver.Microsoft/Resolver.cs
/// <summary>
/// Resolve a named instance of type <typeparamref name="T"/>
/// </summary>
/// <typeparam name="T">Type to resolve</typeparam>
/// <param name="key">Key name to resolve</param>
Resolve a named instance of type
Resolve a named instance of type
public T Get<T>(string key)
        {
            Resolver resolver = (Resolver)globalResolvers[key];
            return resolver.serviceProvider.GetService<T>();
        }
public T Get < T > ( string key ) { Resolver resolver = ( Resolver ) globalResolvers [ key ] ; return resolver . serviceProvider . GetService < T > ( ) ; }
Resolve a named instance of type
Resolve a named instance of type
key
string
Key name to resolve
Key name to resolve
typeparam
Type to resolve
Type to resolve