internal OrgsClient(GogsClientContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } this.context = context; }
internal GogsClient(GogsClientContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } User = new UserClient(context); Users = new UsersClient(context); Orgs = new OrgsClient(context); Admin = new AdminClient(context); }