Conversation.Disable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.