Esempio n. 1
0
        public Task <ServerCommandResult> ExecuteCommand(IServiceLocator locator, ExpandoObject data)
        {
            var cmd = ServerCommandRegistry.GetCommand(locator, type);

            return(cmd.Execute(this, data));
        }
Esempio n. 2
0
        public Task <ServerCommandResult> ExecuteCommand(ExpandoObject data)
        {
            var cmd = ServerCommandRegistry.GetCommand(type);

            return(cmd.Execute(this, data));
        }