Class OpenBiServerSettingsExtensions
Extension methods for server settings.
Inheritance
OpenBiServerSettingsExtensions
Namespace: BiExcellence.OpenBi.Api.Commands.ServerSettings
Assembly: BiExcellence.OpenBi.Api.ServerSettings.dll
Syntax
public static class OpenBiServerSettingsExtensions
Methods
GetServerSettingsAsync(IOpenBiSession, CancellationToken)
Returns the server settings.
Declaration
public static Task<IServerSettings> GetServerSettingsAsync(this IOpenBiSession session, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | The session. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<IServerSettings> |
SetServerSettingsAsync(IOpenBiSession, IServerSettings, CancellationToken)
Sets the server settings.
Declaration
public static Task SetServerSettingsAsync(this IOpenBiSession session, IServerSettings serverSettings, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | The session. |
IServerSettings | serverSettings | The server settings. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task |