コード例 #1
0
 protected static Workspace CreateWorkspace(ServiceDocument document)
 {
     if (document == null)
     {
         throw new ArgumentNullException(nameof(document));
     }
     return(document.CreateWorkspace());
 }
コード例 #2
0
 protected static Workspace CreateWorkspace(ServiceDocument document)
 {
     if (document == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("document");
     }
     return(document.CreateWorkspace());
 }
コード例 #3
0
 protected static Workspace CreateWorkspace(ServiceDocument document)
 {
     if (document == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(document));
     }
     return(document.CreateWorkspace());
 }
コード例 #4
0
 protected static Workspace CreateWorkspace(ServiceDocument document)
 {
     return(document.CreateWorkspace());
 }