Record
public record CloudConfig : System.IEquatable<Moka.Docs.Core.Configuration.CloudConfig>
Namespace: Moka.Docs.Core.Configuration
Cloud feature configuration (all OFF by default).
Inheritance
Implements: System.IEquatable<Moka.Docs.Core.Configuration.CloudConfig>
Properties
| Name | Description |
|---|---|
ApiKey |
API key for cloud features. |
Enabled |
Master switch — nothing calls home unless true. |
Features |
Individual cloud feature toggles. |
ApiKey
string? CloudConfig.ApiKey { get; init; }
API key for cloud features.
Enabled
bool CloudConfig.Enabled { get; init; }
Master switch — nothing calls home unless true.
Features
CloudFeatures CloudConfig.Features { get; init; }
Individual cloud feature toggles.
Type Relationships
classDiagram
style CloudConfig fill:#f9f,stroke:#333,stroke-width:2px
CloudConfig ..|> CloudConfig~ : implements
View Source
/// <summary>
/// Cloud feature configuration (all OFF by default).
/// </summary>
public sealed record CloudConfig
{
/// <summary>Master switch — nothing calls home unless true.</summary>
public bool Enabled { get; init; } = MokaDefaults.EnableCloudFeatures;
/// <summary>API key for cloud features.</summary>
public string? ApiKey { get; init; }
/// <summary>Individual cloud feature toggles.</summary>
public CloudFeatures Features { get; init; } = new();
}