ObservableCollectionListSource<T> Constructors
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
ObservableCollectionListSource<T>() |
Initializes a new instance of the ObservableCollectionListSource<T> class. |
ObservableCollectionListSource<T>(IEnumerable<T>) |
Initializes a new instance of the ObservableCollectionListSource<T> class that contains elements copied from the specified collection. |
ObservableCollectionListSource<T>(List<T>) |
Initializes a new instance of the ObservableCollectionListSource<T> class that contains elements copied from the specified list. |
ObservableCollectionListSource<T>()
Initializes a new instance of the ObservableCollectionListSource<T> class.
public ObservableCollectionListSource ();
Public Sub New ()
Applies to
ObservableCollectionListSource<T>(IEnumerable<T>)
Initializes a new instance of the ObservableCollectionListSource<T> class that contains elements copied from the specified collection.
public ObservableCollectionListSource (System.Collections.Generic.IEnumerable<T> collection);
new Microsoft.EntityFrameworkCore.ChangeTracking.ObservableCollectionListSource<'T (requires 'T : null)> : seq<'T (requires 'T : null)> -> Microsoft.EntityFrameworkCore.ChangeTracking.ObservableCollectionListSource<'T (requires 'T : null)>
Public Sub New (collection As IEnumerable(Of T))
Parameters
- collection
- IEnumerable<T>
The collection from which the elements are copied.
Applies to
ObservableCollectionListSource<T>(List<T>)
Initializes a new instance of the ObservableCollectionListSource<T> class that contains elements copied from the specified list.
public ObservableCollectionListSource (System.Collections.Generic.List<T> list);
new Microsoft.EntityFrameworkCore.ChangeTracking.ObservableCollectionListSource<'T (requires 'T : null)> : System.Collections.Generic.List<'T (requires 'T : null)> -> Microsoft.EntityFrameworkCore.ChangeTracking.ObservableCollectionListSource<'T (requires 'T : null)>
Public Sub New (list As List(Of T))
Parameters
- list
- List<T>
The list from which the elements are copied.
Applies to
Entity Framework