RegistrationBuilder.ForTypesDerivedFrom Metodo

Definizione

Overload

ForTypesDerivedFrom(Type)

Ottiene un oggetto che rappresenta una regola applicabile a tutti i tipi che implementano il tipo specificato, ma non al tipo specificato.

ForTypesDerivedFrom<T>()

Ottiene un oggetto fortemente tipizzato che rappresenta una regola applicabile a tutti i tipi che implementano il tipo specificato, ma non al tipo specificato.

ForTypesDerivedFrom(Type)

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

Ottiene un oggetto che rappresenta una regola applicabile a tutti i tipi che implementano il tipo specificato, ma non al tipo specificato.

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

Parametri

type
Type

Tipo.

Restituisce

Oggetto che rappresenta la regola.

Si applica a

ForTypesDerivedFrom<T>()

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

Ottiene un oggetto fortemente tipizzato che rappresenta una regola applicabile a tutti i tipi che implementano il tipo specificato, ma non al tipo specificato.

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

Parametri di tipo

T

Tipo.

Restituisce

Oggetto fortemente tipizzato che rappresenta la regola.

Si applica a