title: Adding WebService Type into Custom Class Public Static Method
body: <p>I seem to be having difficulty implementing a using for multiple namespaces of multiple services.  For example, I have the following Services as Namespaces:</p>
  
  <p><code>ServiceMemberIDSS</code>, <code>ServiceVenueIDSS</code>, <code>ServiceProspectIDSS</code>, etc. etc.</p>
  
  <p>All of these Services have a property named, <code>AuthorizeHeader</code></p>
  
  <p>I would like to create a Method where the user can input the Namespace to use.</p>
  
  <p>For example, to call <code>ServiceMemberIDSS</code>, I could include <code>using ServiceMemberIDSS;</code> and have this Method:</p>
  
  <pre><code>public static AuthorizeHeader Authorize()
  {
      AuthorizeHeader _authHeader = new ServiceMemberIDSS.AuthorizeHeader();
      _authHeader.SetCredentials();
      return _authHeader;
  }
  </code></pre>
  
  <p>And call it like:  <code>Authorize()</code></p>
  
  <p>But how can I change this so that either of these are possible:</p>
  
  <pre><code>Authorize.ServiceMemberIDSS();
  Authorize.ServiceVenueIDSS();
  Authorize.ServiceProspectIDSS();
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Authorize(ServiceMemberIDSS);
  Authorize(ServiceVenueIDSS);
  Authorize(ServiceProspectIDSS);
  </code></pre>
  
  <p>How can either of these be done?  What do I need to do to the Authorize Method to make this work in either of those ways?</p>