Class HostedExecutionDescriptor
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Describes one operator-facing hosted or background execution surface contributed by an active module.
public sealed class HostedExecutionDescriptorInheritance
Section titled “Inheritance”object ← HostedExecutionDescriptor
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”HostedExecutionDescriptor(string, string, string, string, string, string?, bool, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)
Section titled “ HostedExecutionDescriptor(string, string, string, string, string, string?, bool, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”Creates a new hosted execution descriptor.
[JsonConstructor]public HostedExecutionDescriptor(string id, string displayName, string description, string sourceModuleId, string kind, string? executionGraphId = null, bool startsWithHost = true, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”id string
The stable hosted-execution identifier.
displayName string
The operator-facing hosted-execution name.
description string
A human-readable description of the hosted execution.
sourceModuleId string
The module identifier that owns the hosted execution.
kind string
The operator-facing hosted-execution kind such as background-service, timer, or listener.
executionGraphId string?
The related execution-graph identifier when this hosted execution drives one graph directly.
startsWithHost bool
A value indicating whether the hosted execution is expected to become active when the runtime host starts.
tags IReadOnlyList<string>?
Optional descriptive tags associated with the hosted execution.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the hosted execution.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the human-readable description of the hosted execution.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing hosted-execution name.
public string DisplayName { get; }Property Value
Section titled “Property Value”ExecutionGraphId
Section titled “ ExecutionGraphId”Gets the related execution-graph identifier when one is declared.
public string? ExecutionGraphId { get; }Property Value
Section titled “Property Value”Gets the stable hosted-execution identifier.
public string Id { get; }Property Value
Section titled “Property Value”Gets the operator-facing hosted-execution kind.
public string Kind { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets operator-facing metadata associated with the hosted execution.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
SourceModuleId
Section titled “ SourceModuleId”Gets the identifier of the module that contributed the hosted execution.
public string SourceModuleId { get; }Property Value
Section titled “Property Value”StartsWithHost
Section titled “ StartsWithHost”Gets a value indicating whether the hosted execution is expected to become active when the runtime host starts.
public bool StartsWithHost { get; }Property Value
Section titled “Property Value”Gets descriptive tags associated with the hosted execution.
public IReadOnlyList<string> Tags { get; }