logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    DefaultSkipPolicy
    Implements
    ISkipPolicy
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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

    Implements

    ISkipPolicy
    In this article
    © 2026 Serenity. All Rights Reserved