CacheNotify record¶
Attributes: [DebuggerDisplay("CacheNotify: {ToString(),nq}")]
Defined in
Namespace: ReactiveList.Reactive.Core Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Core.CacheNotify<T> Modifiers: public sealed
Summary¶
View source (opens in a new tab)
Represents a notification describing a cache action and the associated item or batch of items.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class CacheNotify~T~
class IEquatable~CacheNotify~T~~ {
<>
}
IEquatable~CacheNotify~T~~ <|.. CacheNotify~T~
Implements: IEquatable
Remarks¶
Initializes a new instance of the CacheNotify class.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Represents a notification describing a cache action and the associated item or batch of items. |
Properties¶
| Name | Summary |
|---|---|
| Action | Gets the cache action that triggered the notification. |
| Item | Gets the item associated with the cache action, or default if the action applies to a batch. |
| Batch | Gets an optional batch of items associated with the cache action. |
| CurrentIndex | Gets the current index of the item in the collection, or -1 if not applicable. |
| PreviousIndex | Gets the previous index of the item in the collection, or -1 if not applicable. |
| Previous | Gets the previous item value (for update operations), or default if not applicable. |
Methods¶
| Name | Summary |
|---|---|
| ToString | Returns a string that represents the current object. |
| GetHashCode | Serves as the default hash function. |
| Equals | Determines whether the specified object is equal to the current object. |
| Deconstruct |
Operators¶
| Name | Summary |
|---|---|
| static op_Inequality | |
| static op_Equality |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)