Eigenverft.NetLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.ConfigurationSets
    • ConfigurationSetApplyMode
    • ConfigurationSetBuilderBindingExtensions
    • ConfigurationSetCoordinatorExtensions
    • ConfigurationSetDefinition
    • ConfigurationSetEventArgs
    • ConfigurationSetEventKind
    • ConfigurationSetNotification
    • ConfigurationSetParticipantSwitchResult
    • ConfigurationSetPendingRestartChange
    • ConfigurationSetRegistration
    • ConfigurationSetStateApplyResult
    • ConfigurationSetStateApplyStatus
    • ConfigurationSetStateFailureKind
    • ConfigurationSetStateStatus
    • ConfigurationSetStateStoreEventArgs
    • ConfigurationSetStateStoreEventKind
    • ConfigurationSetStateStoreExtensions
    • ConfigurationSetStateStoreStatus
    • ConfigurationSetStatus
    • ConfigurationSetSwitchFailureKind
    • ConfigurationSetSwitchResult
    • ConfigurationSetSwitchStatus
    • ConfigurationSetSwitchableJsonExtensions
    • IConfigurationSetCoordinator
    • IConfigurationSetDesiredStateStore
    • IConfigurationSetEventHub
    • IConfigurationSetManager
    • IConfigurationSetStateStore
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Diagnostics
    • ConfigurationPrecedenceDiagnosticsExtensions
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Sources
    • HostApplicationBuilderConfigurationExtensions
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.SwitchableJson
    • IJsonConfigurationSourcePreparation
    • ISwitchableJsonConfiguration
    • JsonConfigurationCandidatePreparation
    • JsonConfigurationCandidatePreparations
    • JsonConfigurationSourcePreparationContext
    • JsonConfigurationSourcePreparationException
    • JsonConfigurationValueProtection
    • SwitchableJsonConfigurationEventArgs
    • SwitchableJsonConfigurationEventKind
    • SwitchableJsonConfigurationExtensions
    • SwitchableJsonFailureKind
    • SwitchableJsonPreparationStatus
    • SwitchableJsonRegistrationOptions
    • SwitchableJsonRuntimeFailurePolicy
    • SwitchableJsonSwitchPreparation
    • SwitchableJsonSwitchResult
    • SwitchableJsonSwitchStatus
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Values
    • ConfigurationValueCodec
    • ConfigurationValueCodecs
    • ConfigurationValueKind
    • JsonConfigurationFileEncoder
  • Eigenverft.NetLib.Infrastructure.Hosting.DirectoryLayout
    • AppDirectoryLayout
    • AppDirectoryLayoutFactory
    • DefaultDirectory
    • DefaultDirectoryExtensions
    • DefaultDirectoryNameAttribute
    • HostApplicationBuilderDirectoryLayoutExtensions
    • HostApplicationBuilderFactory
    • IAppDirectoryLayout
  • Eigenverft.NetLib.Infrastructure.Hosting.Logging.BootstrapLogger
    • BootstrapLogger
    • BootstrapLogger<TCategoryName>
  • Eigenverft.NetLib.Infrastructure.Security.Certificates
    • CertificateKeyProfile
    • CertificatePurpose
    • CertificateRecoveryMode
    • CertificateSubject
    • ManagedCertificateAction
    • ManagedCertificateFile
    • ManagedCertificateFileOptions
    • ManagedCertificateResult
    • SelfSignedCertificateFactory
    • SelfSignedCertificateOptions
  • Eigenverft.NetLib.Infrastructure.Security.MachineBinding
    • PhysicalMachineBinding
  • Eigenverft.NetLib.Infrastructure.Text
    • Base92JsonSafeEncoder
  • Eigenverft.NetLib.Infrastructure.Transformations
    • ReversibleStringTransform
    • ReversibleStringTransform.TryReverseDelegate
    • ReversibleStringTransforms

Class SwitchableJsonSwitchResult

Contains the completed outcome of a manual runtime source switch.

Inheritance
object
SwitchableJsonSwitchResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Eigenverft.NetLib.Infrastructure.Hosting.Configuration.SwitchableJson
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public sealed class SwitchableJsonSwitchResult

Properties

| Edit this page View Source

ConfigurationChanged

Gets whether the provider's effective key/value snapshot changed.

Declaration
public bool ConfigurationChanged { get; }
Property Value
Type Description
bool
| Edit this page View Source

CurrentSourcePath

Gets the source path active after the request completed.

Declaration
public string CurrentSourcePath { get; }
Property Value
Type Description
string
| Edit this page View Source

Exception

Gets the underlying failure exception for rejected switches, when available.

Declaration
public Exception? Exception { get; }
Property Value
Type Description
Exception
| Edit this page View Source

FailureKind

Gets the classified failure kind, or None.

Declaration
public SwitchableJsonFailureKind FailureKind { get; }
Property Value
Type Description
SwitchableJsonFailureKind
| Edit this page View Source

Name

Gets the caller-defined provider identity.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

PreviousSourcePath

Gets the source path that was active before the request.

Declaration
public string PreviousSourcePath { get; }
Property Value
Type Description
string
| Edit this page View Source

RequestedSourcePath

Gets the normalized source path requested by the caller.

Declaration
public string RequestedSourcePath { get; }
Property Value
Type Description
string
| Edit this page View Source

Sequence

Gets the monotonically increasing lifecycle sequence assigned by this runtime when the outcome committed.

Declaration
public long Sequence { get; }
Property Value
Type Description
long
Remarks

Notification callbacks intentionally run outside the provider state lock and may therefore arrive out of callback order under concurrency. Consumers that maintain administrative state can compare this sequence instead of callback arrival time. The sequence is scoped to one switchable runtime handle and is not a global process identifier.

| Edit this page View Source

SourceChanged

Gets whether the active source path changed.

Declaration
public bool SourceChanged { get; }
Property Value
Type Description
bool
| Edit this page View Source

Status

Gets the completed switch status.

Declaration
public SwitchableJsonSwitchStatus Status { get; }
Property Value
Type Description
SwitchableJsonSwitchStatus
| Edit this page View Source

Succeeded

Gets whether the request completed without candidate rejection.

Declaration
public bool Succeeded { get; }
Property Value
Type Description
bool
| Edit this page View Source

Timestamp

Gets the UTC timestamp at which the outcome was completed.

Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type Description
DateTimeOffset
  • Edit this page
  • View Source
In this article
Back to top