[]
Base Hub implementation for proxy collections.
public abstract class C1DataCollectionHub<T> : Hub, IDisposable where T : class
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| C1DataCollectionHub(IHubClients) | Initializes a new instance of the C1DataCollectionHub<T> class. |
| C1DataCollectionHub(IHubClients, IEnumerable) | Initializes a new instance of the C1DataCollectionHub<T> class. |
| Name | Description |
|---|---|
| Clients | Gets the clients of the hub. |
| Source | The source collection to be shadowed. |
| Name | Description |
|---|---|
| GetCollection(HubCallerContext) | Gets the collection to be shadowed. |
| GetPageAsync(Guid, int, int, IReadOnlyList<SortDescription>?, FilterExpression?) | Gets a page of data as specified in the parameters. |
| InitializeAsync() | Initializes the collection. |
| InsertAsync(Guid, int, T) | Inserts the specified item at the specified index in the collection. |
| LoadMoreItemsAsync(Guid, int?) | Load more items into the collection. |
| MoveAsync(Guid, int, int) | Moves an item from the specified position to the new one. |
| OnConnectedAsync() | |
| OnDisconnectedAsync(Exception?) | |
| RemoveAsync(Guid, int) | Removes the item at the specified index from the collection. |
| ReplaceAsync(Guid, int, T) | Replaces the item at the specified index by the new specified item. |