logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IReflectionCallTaskDefinition

    Interface for defining a task that invokes a method via reflection.

    Inherited Members
    ITaskDefinition.Build(TaskBuildContext)
    ITaskDefinition.Criticality
    ITaskDefinition.Weight
    Namespace: Serenity.Tasking.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface IReflectionCallTaskDefinition : ITaskDefinition, IFoundationSettings

    Properties

    IsStatic

    Indicates whether the method to invoke is static.

    Declaration
    bool IsStatic { get; }
    Property Value
    Type Description
    bool

    True if the method is static; otherwise, false.

    MethodName

    The name of the method to invoke.

    Declaration
    string MethodName { get; }
    Property Value
    Type Description
    string

    The name of the method.

    ResolveFromServices

    If true, the method's parameters will be resolved from the service container.

    Declaration
    bool ResolveFromServices { get; }
    Property Value
    Type Description
    bool

    True to resolve parameters from services; otherwise, false.

    StringArgs

    List of string arguments to pass to the method.

    Declaration
    IReadOnlyList<string> StringArgs { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    A list of string arguments.

    TypeName

    The name of the type containing the method to invoke.

    Declaration
    string TypeName { get; }
    Property Value
    Type Description
    string

    The name of the type.

    In this article
    © 2026 Serenity. All Rights Reserved