Show / Hide Table of Contents

Class ValidatingDispatcher

Inheritance
System.Object
ValidatingDispatcher
Namespace: FunctionMonkey.Testing
Assembly: FunctionMonkey.Testing.dll
Syntax
public class ValidatingDispatcher : ICommandDispatcher

Constructors

| Improve this Doc View Source

ValidatingDispatcher(ICommandDispatcher, IValidator)

Declaration
public ValidatingDispatcher(ICommandDispatcher underlyingDispatcher, IValidator validator)
Parameters
Type Name Description
ICommandDispatcher underlyingDispatcher
IValidator validator

Properties

| Improve this Doc View Source

AssociatedExecuter

Declaration
public ICommandExecuter AssociatedExecuter { get; }
Property Value
Type Description
ICommandExecuter

Methods

| Improve this Doc View Source

DispatchAsync(ICommand, CancellationToken)

Declaration
public Task<CommandResult> DispatchAsync(ICommand command, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICommand command
CancellationToken cancellationToken
Returns
Type Description
Task<CommandResult>
| Improve this Doc View Source

DispatchAsync<TResult>(ICommand<TResult>, CancellationToken)

Declaration
public Task<CommandResult<TResult>> DispatchAsync<TResult>(ICommand<TResult> command, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICommand<TResult> command
CancellationToken cancellationToken
Returns
Type Description
Task<CommandResult<TResult>>
Type Parameters
Name Description
TResult

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
In This Article
  • Constructors
    • ValidatingDispatcher(ICommandDispatcher, IValidator)
  • Properties
    • AssociatedExecuter
  • Methods
    • DispatchAsync(ICommand, CancellationToken)
    • DispatchAsync<TResult>(ICommand<TResult>, CancellationToken)
  • Extension Methods
Back to top Copyright © 2018 James Randall