Class SoftwareUpdateStateTransition
Defines a transition of the SoftwareUpdateState
Namespace: Sartorius.SAF.Infrastructure.SoftwareUpdate
Assembly: Sartorius.SAF.dll
Syntax
public class SoftwareUpdateStateTransition
Constructors
View SourceSoftwareUpdateStateTransition(SoftwareUpdateState, SoftwareUpdateStateTransitionReason)
Initializes a new instance of the SoftwareUpdateStateTransition class.
Declaration
public SoftwareUpdateStateTransition(SoftwareUpdateState softwareUpdateState, SoftwareUpdateStateTransitionReason softwareUpdateStateTransitionReason)
Parameters
| Type | Name | Description |
|---|---|---|
| SoftwareUpdateState | softwareUpdateState | The SoftwareUpdateState. |
| SoftwareUpdateStateTransitionReason | softwareUpdateStateTransitionReason |
Properties
View SourceSoftwareUpdateState
Gets the SoftwareUpdateState for this SoftwareUpdateStateTransition.
Declaration
public SoftwareUpdateState SoftwareUpdateState { get; }
Property Value
| Type | Description |
|---|---|
| SoftwareUpdateState |
SoftwareUpdateStateTransitionReason
Gets the SoftwareUpdateStateTransitionReason for this SoftwareUpdateStateTransition.
Declaration
public SoftwareUpdateStateTransitionReason SoftwareUpdateStateTransitionReason { get; }
Property Value
| Type | Description |
|---|---|
| SoftwareUpdateStateTransitionReason |
Methods
View SourceEquals(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
View SourceGetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |