SfcReferenceCollectionAttribute.ResolveCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.