Partilhar via


TypeCatalog Construtores

Definição

Inicializa uma nova instância da classe TypeCatalog.

Sobrecargas

TypeCatalog(IEnumerable<Type>)

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados.

TypeCatalog(Type[])

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados.

TypeCatalog(IEnumerable<Type>, ICompositionElement)

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados e a origem dos blocos.

TypeCatalog(IEnumerable<Type>, ReflectionContext)

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados no contexto de reflexão especificado.

TypeCatalog(IEnumerable<Type>, ReflectionContext, ICompositionElement)

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados no contexto de reflexão especificado e a origem dos blocos.

TypeCatalog(IEnumerable<Type>)

Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados.

public:
 TypeCatalog(System::Collections::Generic::IEnumerable<Type ^> ^ types);
public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types);
new System.ComponentModel.Composition.Hosting.TypeCatalog : seq<Type> -> System.ComponentModel.Composition.Hosting.TypeCatalog
Public Sub New (types As IEnumerable(Of Type))

Parâmetros

types
IEnumerable<Type>

Uma coleção de objetos Type atribuídos a ser adicionada ao objeto TypeCatalog.

Exceções

types é null.

types contém um elemento que é null.

- ou -

types contém um elemento que foi carregado no contexto exclusivo de reflexão.

Aplica-se a

TypeCatalog(Type[])

Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados.

public:
 TypeCatalog(... cli::array <Type ^> ^ types);
public TypeCatalog (params Type[] types);
new System.ComponentModel.Composition.Hosting.TypeCatalog : Type[] -> System.ComponentModel.Composition.Hosting.TypeCatalog
Public Sub New (ParamArray types As Type())

Parâmetros

types
Type[]

Uma matriz de objetos Type atribuídos a ser adicionada ao objeto TypeCatalog.

Exceções

types é null.

types contém um elemento que é null.

- ou -

types contém um elemento que foi carregado no contexto exclusivo de reflexão.

Aplica-se a

TypeCatalog(IEnumerable<Type>, ICompositionElement)

Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados e a origem dos blocos.

public:
 TypeCatalog(System::Collections::Generic::IEnumerable<Type ^> ^ types, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.TypeCatalog : seq<Type> * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.TypeCatalog
Public Sub New (types As IEnumerable(Of Type), definitionOrigin As ICompositionElement)

Parâmetros

types
IEnumerable<Type>

Uma coleção de objetos Type atribuídos a ser adicionada ao objeto TypeCatalog.

definitionOrigin
ICompositionElement

Um elemento usado pelo diagnóstico para identificar a origem dos blocos.

Exceções

types é null.

types contém um elemento que é null.

- ou -

types contém um elemento que foi carregado no contexto exclusivo de reflexão.

Aplica-se a

TypeCatalog(IEnumerable<Type>, ReflectionContext)

Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados no contexto de reflexão especificado.

public:
 TypeCatalog(System::Collections::Generic::IEnumerable<Type ^> ^ types, System::Reflection::ReflectionContext ^ reflectionContext);
public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.Reflection.ReflectionContext reflectionContext);
new System.ComponentModel.Composition.Hosting.TypeCatalog : seq<Type> * System.Reflection.ReflectionContext -> System.ComponentModel.Composition.Hosting.TypeCatalog
Public Sub New (types As IEnumerable(Of Type), reflectionContext As ReflectionContext)

Parâmetros

types
IEnumerable<Type>

Uma coleção de objetos Type atribuídos a ser adicionada ao objeto TypeCatalog.

reflectionContext
ReflectionContext

O contexto usado para interpretar os tipos.

Exceções

types é null.

types contém um elemento que é null.

- ou -

types contém um elemento que foi carregado no contexto exclusivo de reflexão.

Aplica-se a

TypeCatalog(IEnumerable<Type>, ReflectionContext, ICompositionElement)

Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs
Origem:
TypeCatalog.cs

Inicializa uma nova instância da classe TypeCatalog com os tipos especificados no contexto de reflexão especificado e a origem dos blocos.

public:
 TypeCatalog(System::Collections::Generic::IEnumerable<Type ^> ^ types, System::Reflection::ReflectionContext ^ reflectionContext, System::ComponentModel::Composition::Primitives::ICompositionElement ^ definitionOrigin);
public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);
new System.ComponentModel.Composition.Hosting.TypeCatalog : seq<Type> * System.Reflection.ReflectionContext * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Hosting.TypeCatalog
Public Sub New (types As IEnumerable(Of Type), reflectionContext As ReflectionContext, definitionOrigin As ICompositionElement)

Parâmetros

types
IEnumerable<Type>

Uma coleção de objetos Type atribuídos a ser adicionada ao objeto TypeCatalog.

reflectionContext
ReflectionContext

O contexto usado para interpretar os tipos.

definitionOrigin
ICompositionElement

Um elemento usado pelo diagnóstico para identificar a origem dos blocos.

Exceções

types é null.

types contém um elemento que é null.

- ou -

types contém um elemento que foi carregado no contexto exclusivo de reflexão.

Aplica-se a