Aperea.Commands.CommandExecutor.GetExecutorInfo C# (CSharp) Метод

GetExecutorInfo() приватный Метод

private GetExecutorInfo ( ICommand command, ICommandHandler handler ) : Executor
command ICommand
handler ICommandHandler
Результат Executor
        private Executor GetExecutorInfo(ICommand command, ICommandHandler handler)
        {
            var commandHandlerName = string.Format("{0}+{1}", command.GetType().FullName, handler.GetType().FullName);
            return Executors.GetOrAdd(commandHandlerName, CreateExecutor(command, handler));
        }