示例#1
0
 protected static Workspace CreateWorkspace(ServiceDocument document)
 {
     if (document == null)
     {
         throw new ArgumentNullException(nameof(document));
     }
     return(document.CreateWorkspace());
 }
 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());
 }