DataWeb
Search Results for

    Show / Hide Table of Contents

    Class NavigationContext

    Provides a context for a navigation event, which includes information about the user, the navigation action, and the permissions the user has for that navigation action.

    Inheritance
    object
    NavigationContext
    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 NavigationContext

    Properties

    ErrorCode

    An error code if the navigation was not successful.

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

    IsClone

    A flag indicating whether the user has clone permissions for the navigation.

    Declaration
    public bool IsClone { get; set; }
    Property Value
    Type Description
    bool

    IsCreate

    A flag indicating whether the user has create permissions for the navigation.

    Declaration
    public bool IsCreate { get; set; }
    Property Value
    Type Description
    bool

    IsDelete

    A flag indicating whether the user has delete permissions for the navigation.

    Declaration
    public bool IsDelete { get; set; }
    Property Value
    Type Description
    bool

    IsLink

    A flag indicating whether the user has link permissions for the navigation.

    Declaration
    public bool IsLink { get; set; }
    Property Value
    Type Description
    bool

    IsMove

    A flag indicating whether the user has move permissions for the navigation.

    Declaration
    public bool IsMove { get; set; }
    Property Value
    Type Description
    bool

    IsNavigationValid

    A flag indicating whether the navigation is valid.

    Declaration
    public bool IsNavigationValid { get; set; }
    Property Value
    Type Description
    bool

    IsVisible

    A flag indicating whether the navigation is visible.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    IsVisibleNotActive

    A flag indicating whether the navigation is visible, but not active.

    Declaration
    public bool IsVisibleNotActive { get; set; }
    Property Value
    Type Description
    bool

    IsWrite

    A flag indicating whether the user has write permissions for the navigation.

    Declaration
    public bool IsWrite { get; set; }
    Property Value
    Type Description
    bool

    Navigation

    The navigation action being taken.

    Declaration
    public Navigation Navigation { get; set; }
    Property Value
    Type Description
    Navigation

    PermissionSet

    The permission set for the user.

    Declaration
    public PermissionSet PermissionSet { get; set; }
    Property Value
    Type Description
    PermissionSet

    Steps

    A list of steps in the navigation context.

    Declaration
    public List<NavigationContext.Step> Steps { get; set; }
    Property Value
    Type Description
    List<NavigationContext.Step>

    User

    The user that is navigating.

    Declaration
    public IUser User { get; set; }
    Property Value
    Type Description
    IUser

    Extension Methods

    NavigationMapperExtension.ToNavigationContextInfoAsync(NavigationContext)
    In this article
    Back to top Generated by DocFX