コード例 #1
0
 /// <summary>
 ///   Uses credentials to login to a registry.
 /// </summary>
 /// <param name="server">The ip or dns to the server (with optioanl :port)</param>
 /// <param name="user">An optional user to use when logging in.</param>
 /// <param name="password">An optional password to user when logging in.</param>
 /// <returns>Itself for fluent access.</returns>
 public ContainerBuilder WithCredential(string server, string user = null, string password = null)
 {
     _repositoryBuilder = new RepositoryBuilder(server, user, password);
     return(this);
 }