DelegateTenantFeatureSwitches
Namespace: Meshmakers.Octo.Sdk.ServiceClient.TenantLifecycle
ITenantFeatureSwitches over four delegates, so a host composes the switches from whatever clients it holds (octo-cli builds them from its service URLs, the MCP server from its client factory).
public sealed class DelegateTenantFeatureSwitches : ITenantFeatureSwitches
Inheritance Object → DelegateTenantFeatureSwitches
Implements ITenantFeatureSwitches
Constructors
DelegateTenantFeatureSwitches(Func<Task>, Func<Task>, Func<Task>, Func<Task>)
ITenantFeatureSwitches over four delegates, so a host composes the switches from whatever clients it holds (octo-cli builds them from its service URLs, the MCP server from its client factory).
public DelegateTenantFeatureSwitches(Func<Task> disableAi, Func<Task> disableCommunication, Func<Task> disableReporting, Func<Task> disableStreamData)
Parameters
disableAi Func<Task>
disableCommunication Func<Task>
disableReporting Func<Task>
disableStreamData Func<Task>
Methods
DisableAiAsync()
public Task DisableAiAsync()
Returns
DisableCommunicationAsync()
public Task DisableCommunicationAsync()
Returns
DisableReportingAsync()
public Task DisableReportingAsync()
Returns
DisableStreamDataAsync()
public Task DisableStreamDataAsync()