SfcReferenceCollectionAttribute.ResolveCollection Method

Definition

Overloads

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.

ResolveCollection(Object)

Resolve a target enumerable from the given source object.

public System.Collections.IEnumerable ResolveCollection (object instance);
member this.ResolveCollection : obj -> System.Collections.IEnumerable
Public Function ResolveCollection (instance As Object) As IEnumerable

Parameters

instance
Object

The source instance to resolve from.

Returns

The resolved target enumerable.

Applies to

ResolveCollection<T,S>(S)

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

public System.Collections.Generic.IEnumerable<T> ResolveCollection<T,S> (S instance);
member this.ResolveCollection : 'S -> seq<'T>
Public Function ResolveCollection(Of T, S) (instance As S) As IEnumerable(Of T)

Type Parameters

T

The type of the target instance.

S

The type of the source instance to resolve from.

Parameters

instance
S

The source instance to resolve from.

Returns

The resolved target enumerable.

Applies to