コード例 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="owner">The owner of this repository</param>
 /// <param name="slug">The slug of this repository</param>
 /// <param name="client">A handle to the client</param>
 public RepositoryController(Client client, UserController owner, string slug)
     : base(client)
 {
     Owner = owner;
     Slug = slug.Replace(' ', '-').ToLower();
 }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="client">A handle to the client</param>
 /// <param name="owner">The owner of the repositories</param>
 public UserRepositoriesController(Client client, UserController owner)
     : base(client)
 {
     Owner = owner;
 }
コード例 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="client"></param>
 /// <param name="user"></param>
 public GroupsController(Client client, UserController user)
     : base(client)
 {
     User = user;
 }
コード例 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="client"></param>
 public SSHKeyController(Client client, UserController user)
     : base(client)
 {
     User = user;
 }
コード例 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="client">A handle to the client</param>
 /// <param name="owner">The owner</param>
 public UserPrivilegesController(Client client, UserController owner)
     : base(client)
 {
     Owner = owner;
 }