Interface ISessionService
A service to handle session related logic.
Namespace: MAT.Atlas.Client.Platform.Sessions
Assembly: MAT.Atlas.Client.Platform.dll
Syntax
public interface ISessionService
Methods
GetParameter(CompositeSessionKey, String)
Get Session parameter.
Declaration
ISessionParameter GetParameter(CompositeSessionKey key, string identifier)
Parameters
Type | Name | Description |
---|---|---|
CompositeSessionKey | key | The composite session key. |
System.String | identifier | The identifier. |
Returns
Type | Description |
---|---|
ISessionParameter | The session parameter. |
GetParameters(CompositeSessionKey)
Get all parameters within a composite session.
Declaration
IReadOnlyList<ISessionParameter> GetParameters(CompositeSessionKey key)
Parameters
Type | Name | Description |
---|---|---|
CompositeSessionKey | key | The composite session key. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<ISessionParameter> | A list of session parameters. |
GetParametersCount(CompositeSessionKey)
Get the count of parameters for all parameters within a composite session.
Declaration
int GetParametersCount(CompositeSessionKey key)
Parameters
Type | Name | Description |
---|---|---|
CompositeSessionKey | key | The composite session key. |
Returns
Type | Description |
---|---|
System.Int32 | The count of found parameters, else -1. |