public CommandSecurityProxies( ITypeDiscoverer typeDiscoverer, ICodeGenerator codeGenerator, ICommandSecurityManager commandSecurityManager, WebConfiguration configuration) { _typeDiscoverer = typeDiscoverer; _codeGenerator = codeGenerator; _configuration = configuration; _commandSecurityManager = commandSecurityManager; }
public CommandSecurityProxies( ITypeFinder typeFinder, ICodeGenerator codeGenerator, ICommandSecurityManager commandSecurityManager, IApplicationResources applicationResources, WebConfiguration configuration) { _typeFinder = typeFinder; _codeGenerator = codeGenerator; _configuration = configuration; _applicationResources = applicationResources; _commandSecurityManager = commandSecurityManager; }
/// <summary> /// Initializes a new instance of the <see cref="CommandCoordinator">CommandCoordinator</see> /// </summary> /// <param name="commandHandlerManager">A <see cref="ICommandHandlerManager"/> for handling commands</param> /// <param name="commandContextManager">A <see cref="ICommandContextManager"/> for establishing a <see cref="CommandContext"/></param> /// <param name="commandSecurityManager">A <see cref="ICommandSecurityManager"/> for dealing with security and commands</param> /// <param name="commandValidationService">A <see cref="ICommandValidationService"/> for validating a <see cref="ICommand"/> before handling</param> /// <param name="localizer">A <see cref="ILocalizer"/> to use for controlling localization of current thread when handling commands</param> public CommandCoordinator( ICommandHandlerManager commandHandlerManager, ICommandContextManager commandContextManager, ICommandSecurityManager commandSecurityManager, ICommandValidationService commandValidationService, ILocalizer localizer) { _commandHandlerManager = commandHandlerManager; _commandContextManager = commandContextManager; _commandSecurityManager = commandSecurityManager; _commandValidationService = commandValidationService; _localizer = localizer; }
/// <summary> /// Initializes a new instance of the <see cref="CommandCoordinator">CommandCoordinator</see> /// </summary> /// <param name="commandHandlerManager">A <see cref="ICommandHandlerManager"/> for handling commands</param> /// <param name="commandContextManager">A <see cref="ICommandContextManager"/> for establishing a <see cref="CommandContext"/></param> /// <param name="commandSecurityManager">A <see cref="ICommandSecurityManager"/> for dealing with security and commands</param> /// <param name="commandValidators">A <see cref="ICommandValidators"/> for validating a <see cref="ICommand"/> before handling</param> /// <param name="localizer">A <see cref="ILocalizer"/> to use for controlling localization of current thread when handling commands</param> public CommandCoordinator( ICommandHandlerManager commandHandlerManager, ICommandContextManager commandContextManager, ICommandSecurityManager commandSecurityManager, ICommandValidators commandValidators, ILocalizer localizer) { _commandHandlerManager = commandHandlerManager; _commandContextManager = commandContextManager; _commandSecurityManager = commandSecurityManager; _commandValidationService = commandValidators; _localizer = localizer; }
/// <summary> /// Initializes a new instance of the <see cref="CommandCoordinator">CommandCoordinator</see> /// </summary> /// <param name="commandHandlerManager">A <see cref="ICommandHandlerManager"/> for handling commands</param> /// <param name="commandContextManager">A <see cref="ICommandContextManager"/> for establishing a <see cref="CommandContext"/></param> /// <param name="commandSecurityManager">A <see cref="ICommandSecurityManager"/> for dealing with security and commands</param> /// <param name="commandValidators">A <see cref="ICommandValidators"/> for validating a <see cref="ICommand"/> before handling</param> /// <param name="localizer">A <see cref="ILocalizer"/> to use for controlling localization of current thread when handling commands</param> /// <param name="exceptionPublisher">An <see cref="IExceptionPublisher"/> to send exceptions to</param> public CommandCoordinator( ICommandHandlerManager commandHandlerManager, ICommandContextManager commandContextManager, ICommandSecurityManager commandSecurityManager, ICommandValidators commandValidators, ILocalizer localizer, IExceptionPublisher exceptionPublisher) { _commandHandlerManager = commandHandlerManager; _commandContextManager = commandContextManager; _commandSecurityManager = commandSecurityManager; _commandValidationService = commandValidators; _localizer = localizer; _exceptionPublisher = exceptionPublisher; }
public CommandSecurityService(ICommandSecurityManager commandSecurityManager, ITypeDiscoverer typeDiscoverer) { _typeDiscoverer = typeDiscoverer; _commandSecurityManager = commandSecurityManager; }
public CommandSecurityService(ICommandSecurityManager commandSecurityManager) { _commandSecurityManager = commandSecurityManager; }