Class InitializationPipelineStep
Represents a step in the initialization pipeline with an ID, criticality, and weight.
Inherited Members
Namespace: Serenity.InitializationPipeline.Domain.Entities
Assembly: Serenity.InitializationPipeline.Domain.dll
Syntax
public class InitializationPipelineStep
Constructors
InitializationPipelineStep(string, TaskCriticality, float)
Initializes a new instance of the InitializationPipelineStep class.
Declaration
public InitializationPipelineStep(string id, TaskCriticality criticality, float weight)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier for the step. |
| TaskCriticality | criticality | The criticality level of the step. |
| float | weight | The weight factor of the step, influencing progress calculation. |
Properties
Criticality
Declaration
public TaskCriticality Criticality { get; }
Property Value
| Type | Description |
|---|---|
| TaskCriticality | Gets the criticality level of the step. |
Id
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string | Gets the unique identifier for the step. |
Weight
Declaration
public float Weight { get; }
Property Value
| Type | Description |
|---|---|
| float | Gets the weight factor of the step, influencing progress calculation. |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Returns a hash code for the current object.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |