Class Update
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
An update for the index normalizer.
public sealed class Update : Object
- Inheritance
-
Update
- Extension Methods
Properties
Index
Gets the index.
public int Index { get; }
Property Value
IsDuplicate
Gets a value indicating whether this instance is duplicate.
public bool IsDuplicate { get; }
Property Value
Type
Gets the type.
public UpdateType Type { get; }
Property Value
Methods
AsDuplicate()
Created a duplicate update.
public Update AsDuplicate()
Returns
- Update
The duplicate update.
Create(UpdateType, int)
Creates an update of the specified type.
public static Update Create(UpdateType type, int index)
Parameters
type
UpdateTypeThe type.
index
intThe index.
Returns
- Update
And update.
CreateAdd(int)
Creates an update for the added index.
public static Update CreateAdd(int index)
Parameters
index
intThe index.
Returns
- Update
The updated add.
CreateDelete(int)
Creates an update for the deleted index.
public static Update CreateDelete(int index)
Parameters
index
intThe index.
Returns
- Update
The updated delete.
ToString()
public override string ToString()