ContainerFilterService 類別

定義

提供容器篩選服務的基底類別Provides a base class for the container filter service.

public ref class ContainerFilterService abstract
public abstract class ContainerFilterService
type ContainerFilterService = class
Public MustInherit Class ContainerFilterService
繼承
ContainerFilterService

備註

ContainerNestedContainer 類別會在每次需要建立元件集合以傳回呼叫端時,呼叫 FilterComponents 方法。The Container and NestedContainer classes call the FilterComponents method each time they need to construct a component collection for return to a caller. FilterComponents 可能會傳回元件的更新集合。FilterComponents may return an updated collection of components. 這可讓外部服務修改從容器傳回之元件的視圖。This enables an external service to modify the view of components that are returned from a container.

建構函式

ContainerFilterService()

初始化 ContainerFilterService 類別的新執行個體。Initializes a new instance of the ContainerFilterService class.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
FilterComponents(ComponentCollection)

篩選元件集合。Filters the component collection.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於