Class NullPhase
Instantly skipped phase.
public class NullPhase : ILayoutPhase
- Inheritance
-
NullPhase
- Implements
- Inherited Members
Constructors
NullPhase(IConfiguration)
public NullPhase(IConfiguration config)
Parameters
configIConfiguration
Properties
Configuration
The configuration section used to create this phase.
public IConfiguration Configuration { get; }
Property Value
IsActive
If this phase is currently activated.
public bool IsActive { get; }
Property Value
Name
Display name of the phase.
public string Name { get; }
Property Value
Methods
BeginPhaseAsync(CancellationToken)
Activates the phase. This should happen just after the old phase ended if there was one.
public UniTask BeginPhaseAsync(CancellationToken token = default)
Parameters
tokenCancellationToken
Returns
- UniTask
Remarks
EndPhaseAsync(CancellationToken)
Deactivates the phase.
public UniTask EndPhaseAsync(CancellationToken token = default)
Parameters
tokenCancellationToken
Returns
- UniTask
InitializePhaseAsync(CancellationToken)
Invoked before the layout starts. Meant to be used for loading extra configuration information.
public UniTask InitializePhaseAsync(CancellationToken token = default)
Parameters
tokenCancellationToken
Returns
- UniTask