C# Class Todo_DurandalBreezeJsSignalR.Hubs.NotificationHubClient

The SignalR client for the NotificationHub
Inheritance: IDisposable
ファイルを表示 Open project: BlueBasher/TodoBreezeSignalR Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize ( string url ) : void

Initialize the client and connect to hub.

NotifyRefreshEntities ( List entities ) : void
NotifyRefreshEntity ( string entityName, object id, string state ) : void

Notify all clients to Refresh Entity

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Initialize() public method

Initialize the client and connect to hub.
public Initialize ( string url ) : void
url string
return void

NotifyRefreshEntities() public method

public NotifyRefreshEntities ( List entities ) : void
entities List
return void

NotifyRefreshEntity() public method

Notify all clients to Refresh Entity
public NotifyRefreshEntity ( string entityName, object id, string state ) : void
entityName string
id object
state string
return void