CollectionExtensionsSynchCollectionAsyncT Method (IListT, IEnumerableT) |
Synches the collection items to the target collection items.
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static Task SynchCollectionAsync<T>(
this IList<T> source,
IEnumerable<T> updatedCollection
)
<ExtensionAttribute>
Public Shared Function SynchCollectionAsync(Of T) (
source As IList(Of T),
updatedCollection As IEnumerable(Of T)
) As Task
public:
[ExtensionAttribute]
generic<typename T>
static Task^ SynchCollectionAsync(
IList<T>^ source,
IEnumerable<T>^ updatedCollection
)
[<ExtensionAttribute>]
static member SynchCollectionAsync :
source : IList<'T> *
updatedCollection : IEnumerable<'T> -> Task
Parameters
- source
- Type: System.Collections.GenericIListT
The source. - updatedCollection
- Type: System.Collections.GenericIEnumerableT
The updated collection.
Type Parameters
- T
Return Value
Type:
TaskUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also