static ServiceProviderBase CreateInstance()
 {
     if (DesignerProperties.IsInDesignTool)
     {
         _instance = new DesignServiceProvider();
     }
     else
     {
         _instance = new ServiceProvider();
     }
     return _instance;
 }
 static ServiceProviderBase CreateInstance()
 {
     if (DesignerProperties.IsInDesignTool)
     {
         _instance = new DesignServiceProvider();
     }
     else
     {
         _instance = new ServiceProvider();
     }
     return(_instance);
 }