SfcReferenceCollectionAttribute Classe

Definição

Importante

Esta API não está em conformidade com CLS.

Atributo para referências (suaves) a um destino enumerável.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=true, Inherited=true)]
[System.CLSCompliant(false)]
public class SfcReferenceCollectionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=true, Inherited=true)>]
[<System.CLSCompliant(false)>]
type SfcReferenceCollectionAttribute = class
    inherit Attribute
Public Class SfcReferenceCollectionAttribute
Inherits Attribute
Herança
SfcReferenceCollectionAttribute
Atributos

Construtores

Nome Description
SfcReferenceCollectionAttribute(Type, String[])

A coleção de referência será resolvida criando uma instância do tipo de resolvedor fornecido com chaves e parâmetros opcionais.

SfcReferenceCollectionAttribute(Type)

A coleção de referência será resolvida pelo objeto resolvedor fornecido.

Propriedades

Nome Description
Arguments

Argumentos para o resolvedor.

CollectionResolver

Interface de resolvedor personalizada.

Métodos

Nome Description
ResolveCollection(Object)

Resolva um destino enumerável do objeto de origem fornecido.

ResolveCollection<T,S>(S)

Resolva um destino fortemente tipado enumerável do objeto de origem fornecido.

Aplica-se a