public void SetUp()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(FlatFileTraceListenerSetting));
     NamedConfigurationSetting.ClearPublishedInstances();
 }
 public void SetUp()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(ExceptionTypeSetting));
     ExceptionTypeSetting.ClearPublishedInstances();
 }
 public void TearDown()
 {
     ManagementEntityTypesRegistrar.UnregisterAll();
     ExceptionTypeSetting.ClearPublishedInstances();
 }
 public void SetUp()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(ExceptionPolicySetting));
     NamedConfigurationSetting.ClearPublishedInstances();
 }
 public void TearDown()
 {
     ManagementEntityTypesRegistrar.UnregisterAll();
     NamedConfigurationSetting.ClearPublishedInstances();
 }
 public void TearDown()
 {
     // preventive unregister to work around WMI.NET 2.0 issues with appdomain unloading
     ManagementEntityTypesRegistrar.UnregisterAll();
 }
 internal static void RegisterWmiTypes()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(OracleConnectionSetting));
 }
Exemple #8
0
 public void SetUp()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(InstrumentationSetting));
     ConfigurationSectionSetting.ClearPublishedInstances();
 }
Exemple #9
0
 internal static void RegisterWmiTypes()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(FlatFileTraceListenerSetting));
 }
 internal static void RegisterWmiTypes()
 {
     ManagementEntityTypesRegistrar.SafelyRegisterTypes(typeof(CachingBlockSetting),
                                                        typeof(CacheManagerSetting),
                                                        typeof(UnknownCacheManagerSetting));
 }