DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ContextActionService

    Service that provides support for the context actions.

    Inheritance
    object
    ContextActionService
    Implements
    IContextActionService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Structure
    Assembly: DataWeb.Core.dll
    Syntax
    public sealed class ContextActionService : IContextActionService
    Remarks

    Initializes a new instance of the ContextActionService class.

    Constructors

    ContextActionService()

    Service that provides support for the context actions.

    Declaration
    public ContextActionService()
    Remarks

    Initializes a new instance of the ContextActionService class.

    Methods

    GetLocalAction(string, string, ContextActionType)

    Gets a local action.

    Declaration
    public ContextAction GetLocalAction(string title, string name, ContextActionType type)
    Parameters
    Type Name Description
    string title

    The title of the action.

    string name

    The name of the local action.

    ContextActionType type

    The ContextActionType of the action.

    Returns
    Type Description
    ContextAction

    GetNavigationAction(string, Step, List<Step>)

    Gets a navigation action.

    Declaration
    public ContextAction GetNavigationAction(string title, ContextAction.Step currentStep, List<ContextAction.Step> newSteps)
    Parameters
    Type Name Description
    string title

    The title of the action.

    ContextAction.Step currentStep

    The current ContextAction.Step in the navigation context.

    List<ContextAction.Step> newSteps

    The new ContextAction.Step objects to be added to the navigation context.

    Returns
    Type Description
    ContextAction

    GetNavigationAction(string, List<Step>)

    Gets a navigation action.

    Declaration
    public ContextAction GetNavigationAction(string title, List<ContextAction.Step> newSteps)
    Parameters
    Type Name Description
    string title

    The title of the action.

    List<ContextAction.Step> newSteps

    The new ContextAction.Step objects to be added to the navigation context.

    Returns
    Type Description
    ContextAction

    GetRemoteAction(string, string, ContextActionType, string, string, bool, bool, bool, bool)

    Gets a remote action.

    Declaration
    public ContextAction GetRemoteAction(string title, string name, ContextActionType type, string context = null, string dialogFormName = null, bool isConfirmRequired = false, bool isSaveItemBeforeProcess = false, bool isReloadAfterProcess = false, bool isDownloadResult = false)
    Parameters
    Type Name Description
    string title

    The title of the action.

    string name

    The name of the remote action.

    ContextActionType type

    The ContextActionType of the action.

    string context
    string dialogFormName
    bool isConfirmRequired
    bool isSaveItemBeforeProcess
    bool isReloadAfterProcess
    bool isDownloadResult
    Returns
    Type Description
    ContextAction

    Implements

    IContextActionService
    In this article
    Back to top Generated by DocFX