Jaa


Conversation.Disable Method

Definition

Overloads

Disable(Type)

Disable a specific service type by replacing it with a pass through implementation.

Disable(Type, ContainerBuilder)

Disable a specific service type by replacing it with a pass through implementation.

Disable(Type)

Source:
Conversation.cs

Disable a specific service type by replacing it with a pass through implementation.

public static void Disable (Type type);
static member Disable : Type -> unit
Public Shared Sub Disable (type As Type)

Parameters

type
Type

The service type.

Applies to

Disable(Type, ContainerBuilder)

Source:
Conversation.cs

Disable a specific service type by replacing it with a pass through implementation.

public static void Disable (Type type, Autofac.ContainerBuilder builder);
static member Disable : Type * Autofac.ContainerBuilder -> unit
Public Shared Sub Disable (type As Type, builder As ContainerBuilder)

Parameters

type
Type

The service type.

builder
Autofac.ContainerBuilder

The container builder.

Applies to