Compartilhar via


SfcReferenceCollectionAttribute Class

Definition

Important

This API is not CLS-compliant.

Attribute for (soft) references to an enumerable target.

[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
Inheritance
SfcReferenceCollectionAttribute
Attributes

Constructors

SfcReferenceCollectionAttribute(Type, String[])

Reference collection will be resolved by creating an instance of the given resolver type with optional keys and parameters.

SfcReferenceCollectionAttribute(Type)

Reference collection will be resolved by the given resolver object.

Properties

Arguments

Arguments for the resolver.

CollectionResolver

Custom resolver interface.

Methods

ResolveCollection(Object)

Resolve a target enumerable from the given source object.

ResolveCollection<T,S>(S)

Resolve a strongly-typed target enumerable from the given source object.

Applies to