Atomia.Provisioning.Modules.Folders.Commands.FolderCommand.CallOperation C# (CSharp) Метод

CallOperation() публичный Метод

public CallOperation ( string operationName, string operationArgument ) : string
operationName string
operationArgument string
Результат string
        public override string CallOperation(string operationName, string operationArgument)
        {
            string result = string.Empty;
            Atomia.Provisioning.Base.Exceptions.ModuleException exception = null;

            switch (operationName)
            {
                case "GetFullFolderPath":
                    {
                        result = resource["RootFolder"] + service["Name"];
                    }
                    break;
                default:
                    {
                        exception = ExceptionHelper.GetModuleException("ID422014", new Dictionary<string, string>() { { "Message", operationName } }, null);
                    }
                    break;
            }

            if (exception != null)
            {
                throw exception;
            }

            return result;
        }