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