Conversation.Disable 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Disable(Type) |
透過替換成通過式實作來停用特定服務類型。 |
| Disable(Type, ContainerBuilder) |
透過替換成通過式實作來停用特定服務類型。 |
Disable(Type)
透過替換成通過式實作來停用特定服務類型。
public static void Disable(Type type);
static member Disable : Type -> unit
Public Shared Sub Disable (type As Type)
參數
- type
- Type
服務類型。
適用於
Disable(Type, ContainerBuilder)
透過替換成通過式實作來停用特定服務類型。
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
貨櫃建造者。