Class DefaultSkipPolicy
Default skip policy implementation that never allows tasks to be skipped.
Provides a conservative approach where all initialization tasks are executed regardless of their ID.
Implements
Inherited Members
Namespace: Serenity.InitializationPipeline.Application.Policies
Assembly: Serenity.InitializationPipeline.Application.dll
Syntax
public class DefaultSkipPolicy : ISkipPolicy
Constructors
DefaultSkipPolicy()
Declaration
public DefaultSkipPolicy()
Methods
CanSkip(string)
Determines whether a task with the specified ID can be skipped during initialization.
Always returns false to ensure all tasks are executed.
Declaration
public bool CanSkip(string taskId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | taskId | The unique identifier of the task to check |
Returns
| Type | Description |
|---|---|
| bool | Always false, indicating no tasks should be skipped |