Table of Contents

Method TryResolve

Namespace
Autofac
Assembly
Autofac.dll

TryResolve<T>(IComponentContext, out T?)

public static bool TryResolve<T>(this IComponentContext context, out T? instance) where T : struct

Parameters

context IComponentContext
instance T?

Returns

bool

Type Parameters

T