Table of Contents

Method Resolve

Namespace
Autofac
Assembly
Autofac.dll

Resolve<TService>(IComponentContext)

public static TService Resolve<TService>(this IComponentContext context) where TService : notnull

Parameters

context IComponentContext

Returns

TService

Type Parameters

TService

Resolve<TService>(IComponentContext, IEnumerable<Parameter>)

public static TService Resolve<TService>(this IComponentContext context, IEnumerable<Parameter> parameters) where TService : notnull

Parameters

context IComponentContext
parameters IEnumerable<Parameter>

Returns

TService

Type Parameters

TService

Resolve<TService>(IComponentContext, params Parameter[])

public static TService Resolve<TService>(this IComponentContext context, params Parameter[] parameters) where TService : notnull

Parameters

context IComponentContext
parameters Parameter[]

Returns

TService

Type Parameters

TService

Resolve(IComponentContext, Type)

public static object Resolve(this IComponentContext context, Type serviceType)

Parameters

context IComponentContext
serviceType Type

Returns

object

Resolve(IComponentContext, Type, IEnumerable<Parameter>)

public static object Resolve(this IComponentContext context, Type serviceType, IEnumerable<Parameter> parameters)

Parameters

context IComponentContext
serviceType Type
parameters IEnumerable<Parameter>

Returns

object

Resolve(IComponentContext, Type, params Parameter[])

public static object Resolve(this IComponentContext context, Type serviceType, params Parameter[] parameters)

Parameters

context IComponentContext
serviceType Type
parameters Parameter[]

Returns

object