Table of Contents

UserAgentSentinelMiddleware Constructor

Definition

UserAgentSentinelMiddleware(RequestDelegate, IOptions<UserAgentSentinelOptions>)

Initializes a new instance of the UserAgentSentinelMiddleware class.

public UserAgentSentinelMiddleware(RequestDelegate next, IOptions<UserAgentSentinelOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup IOptions<UserAgentSentinelOptions>

The UserAgentSentinelOptions which need to be configured.

UserAgentSentinelMiddleware(RequestDelegate, Action<UserAgentSentinelOptions>)

Initializes a new instance of the UserAgentSentinelMiddleware class.

public UserAgentSentinelMiddleware(RequestDelegate next, Action<UserAgentSentinelOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup Action<UserAgentSentinelOptions>

The UserAgentSentinelOptions which need to be configured.