Esempio n. 1
0
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     if (workspace == null)
     {
         throw new ArgumentNullException(nameof(workspace));
     }
     return(workspace.CreateResourceCollection());
 }
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     if (workspace == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("workspace");
     }
     return(workspace.CreateResourceCollection());
 }
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     if (workspace == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("workspace");
     }
     return workspace.CreateResourceCollection();
 }
Esempio n. 4
0
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     if (workspace == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(workspace));
     }
     return(workspace.CreateResourceCollection());
 }
Esempio n. 5
0
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     return(workspace.CreateResourceCollection());
 }
 protected static ResourceCollectionInfo CreateCollection(Workspace workspace)
 {
     return workspace.CreateResourceCollection ();
 }