Udostępnij za pośrednictwem


RegistrationBuilder.ForType Metoda

Definicja

Przeciążenia

ForType(Type)

Pobiera obiekt reprezentujący regułę, która ma zastosowanie do określonego typu.

ForType<T>()

Pobiera silnie typizowanego obiektu reprezentującego regułę, która ma zastosowanie do określonego typu.

ForType(Type)

Źródło:
RegistrationBuilder.cs
Źródło:
RegistrationBuilder.cs
Źródło:
RegistrationBuilder.cs

Pobiera obiekt reprezentujący regułę, która ma zastosowanie do określonego typu.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ForType(Type ^ type);
public System.ComponentModel.Composition.Registration.PartBuilder ForType (Type type);
member this.ForType : Type -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ForType (type As Type) As PartBuilder

Parametry

type
Type

Typ.

Zwraca

Obiekt reprezentujący regułę.

Dotyczy

ForType<T>()

Źródło:
RegistrationBuilder.cs
Źródło:
RegistrationBuilder.cs
Źródło:
RegistrationBuilder.cs

Pobiera silnie typizowanego obiektu reprezentującego regułę, która ma zastosowanie do określonego typu.

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ForType();
public System.ComponentModel.Composition.Registration.PartBuilder<T> ForType<T> ();
member this.ForType : unit -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ForType(Of T) () As PartBuilder(Of T)

Parametry typu

T

Typ.

Zwraca

Silnie typizowanego obiektu reprezentującego regułę.

Dotyczy