DataWeb
Search Results for

    Show / Hide Table of Contents

    Class DisableHotlinkingAttribute.DisableHotlinkingFilter

    Called asynchronously to execute the action filter.

    Inheritance
    object
    DisableHotlinkingAttribute.DisableHotlinkingFilter
    Implements
    IAsyncActionFilter
    IFilterMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Filter
    Assembly: DataWeb.Core.dll
    Syntax
    public class DisableHotlinkingAttribute.DisableHotlinkingFilter : IAsyncActionFilter, IFilterMetadata

    Constructors

    DisableHotlinkingFilter(IWebHostEnvironment)

    Called asynchronously to execute the action filter.

    Declaration
    public DisableHotlinkingFilter(IWebHostEnvironment webHostEnvironment)
    Parameters
    Type Name Description
    IWebHostEnvironment webHostEnvironment

    Methods

    OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)

    Called asynchronously before the action, after model binding is complete.

    Declaration
    public Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
    Parameters
    Type Name Description
    ActionExecutingContext context

    The ActionExecutingContext.

    ActionExecutionDelegate next

    The ActionExecutionDelegate. Invoked to execute the next action filter or the action itself.

    Returns
    Type Description
    Task

    A Task that on completion indicates the filter has executed.

    Implements

    IAsyncActionFilter
    IFilterMetadata
    In this article
    Back to top Generated by DocFX