Artemis Artemis
Artemis Artemis

Search Results for

    Class ProcessActivationRequirement

    Evaluates to true or false by checking if the specified process is running

    Inheritance
    object
    ProcessActivationRequirement
    Implements
    IModuleActivationRequirement
    Namespace: Artemis.Core.Modules
    Assembly: Artemis.Core.dll
    Syntax
    public class ProcessActivationRequirement : IModuleActivationRequirement

    Constructors

    ProcessActivationRequirement(string?, string?)

    Creates a new instance of the ProcessActivationRequirement class

    Declaration
    public ProcessActivationRequirement(string? processName, string? location = null)
    Parameters
    Type Name Description
    string processName

    The name of the process that must run

    string location

    The location of where the process must be running from (optional)

    Properties

    Location

    The location of where the process must be running from

    Declaration
    public string? Location { get; set; }
    Property Value
    Type Description
    string

    ProcessName

    The name of the process that must run

    Declaration
    public string? ProcessName { get; set; }
    Property Value
    Type Description
    string

    Methods

    Evaluate()

    Called to determine whether the activation requirement is met

    Declaration
    public bool Evaluate()
    Returns
    Type Description
    bool

    GetUserFriendlyDescription()

    Returns a user-friendly description of the activation requirement, should include parameters if applicable

    Declaration
    public string GetUserFriendlyDescription()
    Returns
    Type Description
    string

    A user-friendly description of the activation requirement

    Implements

    IModuleActivationRequirement
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.