語言

Conversation.Disable 方法

定義

多載

名稱 Description
Disable(Type)

透過替換成通過式實作來停用特定服務類型。

Disable(Type, ContainerBuilder)

透過替換成通過式實作來停用特定服務類型。

Disable(Type)

來源:
Conversation.cs

透過替換成通過式實作來停用特定服務類型。

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

參數

type
Type

服務類型。

適用於

Disable(Type, ContainerBuilder)

來源:
Conversation.cs

透過替換成通過式實作來停用特定服務類型。

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)

參數

type
Type

服務類型。

builder
Autofac.ContainerBuilder

貨櫃建造者。

適用於