ข้ามไปยังเนื้อหา

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>

objectRuntimeModuleLifecycleState

IEquatable<RuntimeModuleLifecycleState>

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

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)

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.

The assembly that contains the module implementation.

public string AssemblyName { get; init; }

string

The operator-facing module display name.

public string DisplayName { get; init; }

string

The UTC timestamp when module initialization last completed successfully.

public DateTimeOffset? InitializedAtUtc { get; init; }

DateTimeOffset?

Gets a value indicating whether the module completed initialization successfully.

public bool IsInitialized { get; }

bool

Gets a value indicating whether the module is present in the built runtime.

public bool IsLoaded { get; }

bool

Gets a value indicating whether the module most recently completed startup without a later successful stop.

public bool IsStarted { get; }

bool

Gets a value indicating whether the module most recently completed shutdown.

public bool IsStopped { get; }

bool

The last failure recorded for the module when one is still relevant to the current runtime story.

public RuntimeFailureInfo? LastFailure { get; init; }

RuntimeFailureInfo?

The UTC timestamp when the last lifecycle phase was recorded for the module.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last lifecycle phase recorded for the module.

public string? LastObservedPhase { get; init; }

string?

The UTC timestamp when the module became part of the built runtime story.

public DateTimeOffset? LoadedAtUtc { get; init; }

DateTimeOffset?

The stable module identifier.

public string ModuleId { get; init; }

string

The package that supplied the module when package loading was used.

public string? PackageId { get; init; }

string?

The UTC timestamp when module startup last completed successfully.

public DateTimeOffset? StartedAtUtc { get; init; }

DateTimeOffset?

The UTC timestamp when module shutdown last completed successfully.

public DateTimeOffset? StoppedAtUtc { get; init; }

DateTimeOffset?

The effective module version.

public string Version { get; init; }

string