Class RuntimeModuleLifecycleState
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Describes the current operator-facing lifecycle state for one loaded module.
public sealed record RuntimeModuleLifecycleState : IEquatable<RuntimeModuleLifecycleState>Inheritance
Section titled “Inheritance”object ← RuntimeModuleLifecycleState
Implements
Section titled “Implements”IEquatable<RuntimeModuleLifecycleState>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”RuntimeModuleLifecycleState(string, string, string, string, string?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, DateTimeOffset?, RuntimeFailureInfo?)
Section titled “ RuntimeModuleLifecycleState(string, string, string, string, string?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, DateTimeOffset?, RuntimeFailureInfo?)”Describes the current operator-facing lifecycle state for one loaded module.
public RuntimeModuleLifecycleState(string ModuleId, string DisplayName, string Version, string AssemblyName, string? PackageId, DateTimeOffset? LoadedAtUtc, DateTimeOffset? InitializedAtUtc, DateTimeOffset? StartedAtUtc, DateTimeOffset? StoppedAtUtc, string? LastObservedPhase, DateTimeOffset? LastObservedAtUtc, RuntimeFailureInfo? LastFailure)Parameters
Section titled “Parameters”ModuleId string
The stable module identifier.
DisplayName string
The operator-facing module display name.
Version string
The effective module version.
AssemblyName string
The assembly that contains the module implementation.
PackageId string?
The package that supplied the module when package loading was used.
LoadedAtUtc DateTimeOffset?
The UTC timestamp when the module became part of the built runtime story.
InitializedAtUtc DateTimeOffset?
The UTC timestamp when module initialization last completed successfully.
StartedAtUtc DateTimeOffset?
The UTC timestamp when module startup last completed successfully.
StoppedAtUtc DateTimeOffset?
The UTC timestamp when module shutdown last completed successfully.
LastObservedPhase string?
The last lifecycle phase recorded for the module.
LastObservedAtUtc DateTimeOffset?
The UTC timestamp when the last lifecycle phase was recorded for the module.
LastFailure RuntimeFailureInfo?
The last failure recorded for the module when one is still relevant to the current runtime story.
Properties
Section titled “Properties”AssemblyName
Section titled “ AssemblyName”The assembly that contains the module implementation.
public string AssemblyName { get; init; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”The operator-facing module display name.
public string DisplayName { get; init; }Property Value
Section titled “Property Value”InitializedAtUtc
Section titled “ InitializedAtUtc”The UTC timestamp when module initialization last completed successfully.
public DateTimeOffset? InitializedAtUtc { get; init; }Property Value
Section titled “Property Value”IsInitialized
Section titled “ IsInitialized”Gets a value indicating whether the module completed initialization successfully.
public bool IsInitialized { get; }Property Value
Section titled “Property Value”IsLoaded
Section titled “ IsLoaded”Gets a value indicating whether the module is present in the built runtime.
public bool IsLoaded { get; }Property Value
Section titled “Property Value”IsStarted
Section titled “ IsStarted”Gets a value indicating whether the module most recently completed startup without a later successful stop.
public bool IsStarted { get; }Property Value
Section titled “Property Value”IsStopped
Section titled “ IsStopped”Gets a value indicating whether the module most recently completed shutdown.
public bool IsStopped { get; }Property Value
Section titled “Property Value”LastFailure
Section titled “ LastFailure”The last failure recorded for the module when one is still relevant to the current runtime story.
public RuntimeFailureInfo? LastFailure { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the last lifecycle phase was recorded for the module.
public DateTimeOffset? LastObservedAtUtc { get; init; }Property Value
Section titled “Property Value”LastObservedPhase
Section titled “ LastObservedPhase”The last lifecycle phase recorded for the module.
public string? LastObservedPhase { get; init; }Property Value
Section titled “Property Value”LoadedAtUtc
Section titled “ LoadedAtUtc”The UTC timestamp when the module became part of the built runtime story.
public DateTimeOffset? LoadedAtUtc { get; init; }Property Value
Section titled “Property Value”ModuleId
Section titled “ ModuleId”The stable module identifier.
public string ModuleId { get; init; }Property Value
Section titled “Property Value”PackageId
Section titled “ PackageId”The package that supplied the module when package loading was used.
public string? PackageId { get; init; }Property Value
Section titled “Property Value”StartedAtUtc
Section titled “ StartedAtUtc”The UTC timestamp when module startup last completed successfully.
public DateTimeOffset? StartedAtUtc { get; init; }Property Value
Section titled “Property Value”StoppedAtUtc
Section titled “ StoppedAtUtc”The UTC timestamp when module shutdown last completed successfully.
public DateTimeOffset? StoppedAtUtc { get; init; }Property Value
Section titled “Property Value”Version
Section titled “ Version”The effective module version.
public string Version { get; init; }