public CommandRegistration(Action<CommandDTO> callbackMethod, Type type) { this.CallbackMethod = callbackMethod; this.Type = type; } }