Click or drag to resize

HubClientOperationsBaseT Class

Represents a base class for SignalR hub operations that need to track session based clients.
Inheritance Hierarchy
SystemObject
  GSF.Web.HubsHubClientOperationsBaseT
    GSF.Web.HubsDataContextOperations

Namespace: GSF.Web.Hubs
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public abstract class HubClientOperationsBase<T>
where T : class, new(), IHubClient
View Source

Type Parameters

T
Type of IHubClient for hub operations.

The HubClientOperationsBaseT type exposes the following members.

Constructors
 NameDescription
Protected methodHubClientOperationsBaseT Creates a new HubClientOperationsBaseT instance.
Top
Properties
 NameDescription
Protected propertyHubClient Gets instance of hub client for current SignalR session.
Top
Methods
 NameDescription
Public methodEndSession Disposes any associated IHubClient when SignalR session is disconnected.
Public methodStatic memberEndSession(String) Disposes any associated IHubClient when SignalR session is disconnected.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberTryGetHubClient Attempts to get hub client for SignalR session with specified connectionID.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also