Exemplo n.º 1
0
 internal static void RegisterRepository(this IPackageRepository repository)
 {
     PresentRepositories.UpdateGeneric(repository.Url, repository);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Register this repository as a default one, which will be used to infer
 /// package references without reference to specific repository.
 /// </summary>
 /// <remarks>
 /// Default repositories must be specified and completely initialized by the
 /// implementer of uppm.Core before any other uppm operations take place.
 /// </remarks>
 public static void RegisterDefaultRepository(this IPackageRepository repository)
 {
     DefaultRepositories.UpdateGeneric(repository.Url, repository);
     PresentRepositories.UpdateGeneric(repository.Url, repository);
 }