Skip to content

Class BackendForFrontendSettings

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes configuration-driven backend-for-frontend settings for a Cephalon app.

public sealed class BackendForFrontendSettings

objectBackendForFrontendSettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

BackendForFrontendSettings(IReadOnlyList<BackendForFrontendClientBindingSettings>?)

Section titled “ BackendForFrontendSettings(IReadOnlyList<BackendForFrontendClientBindingSettings>?)”

Creates backend-for-frontend settings.

public BackendForFrontendSettings(IReadOnlyList<BackendForFrontendClientBindingSettings>? bindings = null)

bindings IReadOnlyList<BackendForFrontendClientBindingSettings>?

The client-specific transport bindings configured for the app.

Gets the client-specific transport bindings configured for the app.

public IReadOnlyList<BackendForFrontendClientBindingSettings> Bindings { get; }

IReadOnlyList<BackendForFrontendClientBindingSettings>

Gets an empty backend-for-frontend settings instance.

public static BackendForFrontendSettings Empty { get; }

BackendForFrontendSettings

Gets a value indicating whether any backend-for-frontend settings were explicitly supplied.

public bool HasValues { get; }

bool

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Reads backend-for-frontend settings from configuration.

public static BackendForFrontendSettings FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The configuration source that contains the engine section.

sectionPath string

The root configuration section path to read from.

BackendForFrontendSettings

The parsed backend-for-frontend settings.