Atomia.Provisioning.Modules.Folders.Commands.FoldersCommand.CallOperation C# (CSharp) Method

CallOperation() public method

Calls the operation.
public CallOperation ( string operationName, string operationArgument ) : string
operationName string Name of the operation.
operationArgument string The operation argument.
return string
        public override string CallOperation(string operationName, string operationArgument)
        {
            string result = string.Empty;

            switch (operationName)
            {
                case "GetFullFolderPath":
                    {
                        result = resource["RootFolder"] + service["Name"];
                    }
                    break;
                default:
                    throw ExceptionHelper.GetModuleException("ID400019", null, null);
            }

            return result;
        }