Exemplo n.º 1
0
 public InvitationCommands(IQuilt4NetClient client)
     : base("Invitation")
 {
     RegisterCommand(new CreateInvitationCommand(client));
     RegisterCommand(new ListUserInvitationsCommand(client));
     RegisterCommand(new AcceptInvitationCommand(client));
 }
Exemplo n.º 2
0
 public ProjectCommands(IQuilt4NetClient client)
     : base("Project")
 {
     RegisterCommand(new CreateProjectCommand(client));
     RegisterCommand(new ListProjectsCommand(client));
     RegisterCommand(new GetProjectCommand(client));
     RegisterCommand(new UpdateProjectCommand(client));
     RegisterCommand(new DeleteProjectCommand(client));
     RegisterCommand(new ListMemberProjectsCommand(client));
 }
Exemplo n.º 3
0
 public UserCommands(IQuilt4NetClient client)
     : base("User")
 {
     RegisterCommand(new CreateUserCommand(client));
     RegisterCommand(new LoginUserCommand(client));
     RegisterCommand(new LogoutUserCommand(client));
     RegisterCommand(new GetUserInfoCommand(client));
     RegisterCommand(new ChangeUserPasswordCommand(client));
     RegisterCommand(new ListUsersCommand(client));
     RegisterCommand(new SearchUsersCommand(client));
     RegisterCommand(new UserRoleCommands(client));
 }
Exemplo n.º 4
0
        protected internal SessionHandlerBase(IQuilt4NetClient client)
        {
            lock (_syncRoot)
            {
                if (_instanceCounter != 0)
                {
                    if (!client.Configuration.AllowMultipleInstances)
                    {
                        throw new InvalidOperationException("Multiple instances is not allowed. Set configuration setting AllowMultipleInstances to true if you want to use multiple instances of this object.");
                    }
                }
                _instanceCounter++;
            }

            Client = client;
            ClientStartTime = DateTime.UtcNow;
        }
Exemplo n.º 5
0
 public GetProjectCommand(IQuilt4NetClient client)
     : base("GetApplicationData", "GetApplicationData a project")
 {
     _client = client;
 }
Exemplo n.º 6
0
 public ServiceCommands(IQuilt4NetClient client)
     : base("Service")
 {
     RegisterCommand(new ServiceInfoCommand(client));
     RegisterCommand(new ServiceLogCommands(client));
 }
Exemplo n.º 7
0
 public AcceptInvitationCommand(IQuilt4NetClient client)
     : base("Accept", "Accept an invitation")
 {
     _client = client;
 }
Exemplo n.º 8
0
 public ListServiceLogCommand(IQuilt4NetClient client)
     : base("List", "List all log entries registered on the server.")
 {
     _client = client;
 }
Exemplo n.º 9
0
 public CreateUserCommand(IQuilt4NetClient client)
     : base("Create", "Create a new user")
 {
     _client = client;
 }
Exemplo n.º 10
0
 public SearchUsersCommand(IQuilt4NetClient client)
     : base("Search", "Search for user")
 {
     _client = client;
 }
Exemplo n.º 11
0
 public LoginUserCommand(IQuilt4NetClient client)
     : base("Login", "Login user")
 {
     _client = client;
 }
Exemplo n.º 12
0
 public UserRoleAddCommand(IQuilt4NetClient client)
     : base("Add", "Add a role to a user.")
 {
     _client = client;
 }
Exemplo n.º 13
0
 public ListUserInvitationsCommand(IQuilt4NetClient client)
     : base("List", "List the users invitations")
 {
     _client = client;
 }
Exemplo n.º 14
0
 public ListUsersCommand(IQuilt4NetClient client)
     : base("List", "List users")
 {
     _client = client;
 }
Exemplo n.º 15
0
 public GetUserInfoCommand(IQuilt4NetClient client)
     : base("Info", "Get info about the user.")
 {
     _client = client;
 }
Exemplo n.º 16
0
 public UserRoleCommands(IQuilt4NetClient client)
     : base("Role")
 {
     RegisterCommand(new UserRoleAddCommand(client));
 }
Exemplo n.º 17
0
 public ServiceInfoCommand(IQuilt4NetClient client)
     : base("Info", "Get information about the service.")
 {
     _client = client;
 }
Exemplo n.º 18
0
 public CreateInvitationCommand(IQuilt4NetClient client)
     : base("Create", "Create a new invitation.")
 {
     _client = client;
 }
Exemplo n.º 19
0
 public ListMemberProjectsCommand(IQuilt4NetClient client)
     : base("Members", "List all members for a project.")
 {
     _client = client;
 }
Exemplo n.º 20
0
 public LogoutUserCommand(IQuilt4NetClient client)
     : base("Logout", "Logout user")
 {
     _client = client;
 }
Exemplo n.º 21
0
 public ListSettingsCommand(IQuilt4NetClient client)
     : base("List", "List settings")
 {
     _client = client;
 }
Exemplo n.º 22
0
 public ChangeUserPasswordCommand(IQuilt4NetClient client)
     : base("password", "Change user password.")
 {
     _client = client;
 }
Exemplo n.º 23
0
 public DeleteProjectCommand(IQuilt4NetClient client)
     : base("Delete", "Delete a project")
 {
     _client = client;
 }
Exemplo n.º 24
0
 public ServiceLogCommands(IQuilt4NetClient client)
     : base("Log")
 {
     RegisterCommand(new ListServiceLogCommand(client));
 }
Exemplo n.º 25
0
 public InstanceCreatedEventArgs(IQuilt4NetClient client, int totalNumberOfInstances)
 {
     Client = client;
     TotalNumberOfInstances = totalNumberOfInstances;
 }
Exemplo n.º 26
0
 public SettingCommands(IQuilt4NetClient client)
     : base("Setting")
 {
     RegisterCommand(new ListSettingsCommand(client));
 }
Exemplo n.º 27
0
 public SessionHandler(IQuilt4NetClient client)
     : base(client)
 {
 }