예제 #1
0
 /// <summary>
 /// Initializes a new instance of the RepositoryInfo class.
 /// </summary>
 public RepositoryInfo(DublinCore citation = default(DublinCore), IDictionary<string, string> repositories = default(IDictionary<string, string>), bool? canRead = default(bool?), bool? canAdministrator = default(bool?), bool? canWrite = default(bool?))
 {
     Citation = citation;
     Repositories = repositories;
     CanRead = canRead;
     CanAdministrator = canAdministrator;
     CanWrite = canWrite;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the RepositoryStatistics class.
 /// </summary>
 public RepositoryStatistics(long?totalItems = default(long?), long?totalRevisions = default(long?), IDictionary <string, long?> itemCounts = default(IDictionary <string, long?>), IDictionary <string, long?> itemRevisionCounts = default(IDictionary <string, long?>), DublinCore citation = default(DublinCore), IDictionary <string, string> repositories = default(IDictionary <string, string>), bool?canRead = default(bool?), bool?canAdministrator = default(bool?), bool?canWrite = default(bool?))
 {
     TotalItems         = totalItems;
     TotalRevisions     = totalRevisions;
     ItemCounts         = itemCounts;
     ItemRevisionCounts = itemRevisionCounts;
     Citation           = citation;
     Repositories       = repositories;
     CanRead            = canRead;
     CanAdministrator   = canAdministrator;
     CanWrite           = canWrite;
     CustomInit();
 }