RegistrationBuilder.ForType Metodo

Definizione

Overload

ForType(Type)

Ottiene un oggetto che rappresenta una regola applicabile al tipo specificato.

ForType<T>()

Ottiene un oggetto fortemente tipizzato che rappresenta una regola applicabile al tipo specificato.

ForType(Type)

Origine:
RegistrationBuilder.cs
Origine:
RegistrationBuilder.cs
Origine:
RegistrationBuilder.cs

Ottiene un oggetto che rappresenta una regola applicabile al tipo specificato.

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

Parametri

type
Type

Tipo.

Restituisce

Oggetto che rappresenta la regola.

Si applica a

ForType<T>()

Origine:
RegistrationBuilder.cs
Origine:
RegistrationBuilder.cs
Origine:
RegistrationBuilder.cs

Ottiene un oggetto fortemente tipizzato che rappresenta una regola applicabile al tipo specificato.

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)

Parametri di tipo

T

Tipo.

Restituisce

Oggetto fortemente tipizzato che rappresenta la regola.

Si applica a