[]
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a System.Collections.Specialized.NotifyCollectionChangedAction.Reset change.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This must be set to Reset. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a multi-item change.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, IList changedItems, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can be set to Reset, Add, or Remove. |
IList | changedItems | The items that are affected by the change. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, object? changedItem, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can be set to Reset, Add, or Remove. |
object | changedItem | The item that is affected by the change. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, IList newItems, IList oldItems, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can only be set to Replace. |
IList | newItems | The new items that are replacing the original items. |
IList | oldItems | The original items that are replaced. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, IList changedItems, int startingIndex, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can be set to Reset, Add, or Remove. |
IList | changedItems | The items affected by the change. |
int | startingIndex | The index where the change occurred. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, object? changedItem, int index, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can be set to Reset, Add, or Remove. |
object | changedItem | The item that is affected by the change. |
int | index | The index where the change occurred. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, object? newItem, object? oldItem, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can only be set to Replace. |
object | newItem | The new item that is replacing the original item. |
object | oldItem | The original item that is replaced. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can only be set to Replace. |
IList | newItems | The new items that are replacing the original items. |
IList | oldItems | The original items that are replaced. |
int | startingIndex | The index of the first item of the items that are being replaced. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, IList changedItems, int index, int oldIndex, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can only be set to Move. |
IList | changedItems | The items affected by the change. |
int | index | The new index for the changed items. |
int | oldIndex | The old index for the changed items. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, object? changedItem, int index, int oldIndex, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can only be set to Move. |
object | changedItem | The item affected by the change. |
int | index | The new index for the changed item. |
int | oldIndex | The old index for the changed item. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
public static NotifyCollectionChangedDeferralsAwaiter Create(NotifyCollectionChangedAction action, object? newItem, object? oldItem, int index, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | The action that caused the event. This can be set to Replace. |
object | newItem | The new item that is replacing the original item. |
object | oldItem | The original item that is replaced. |
int | index | The index of the item being replaced. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
NotifyCollectionChangedDeferralsAwaiter |