Example #1
0
        /// <summary>
        /// Public for testing purposes.
        /// </summary>
        public static void ResetAllImplementations()
        {
            ManageableConfigurationSourceSingletonHelper oldSingletonHelper = singletonHelper;

            singletonHelper = new ManageableConfigurationSourceSingletonHelper();
            oldSingletonHelper.Dispose();
        }
Example #2
0
        internal static ManageableConfigurationSourceSingletonHelper ResetSingletonHelper()
        {
            ManageableConfigurationSourceSingletonHelper oldSingletonHelper = singletonHelper;

            singletonHelper = new ManageableConfigurationSourceSingletonHelper();
            oldSingletonHelper.Dispose();

            return(singletonHelper);
        }
 /// <summary>
 /// Public for testing purposes.
 /// </summary>
 public static void ResetAllImplementations()
 {
     ManageableConfigurationSourceSingletonHelper oldSingletonHelper = singletonHelper;
     singletonHelper = new ManageableConfigurationSourceSingletonHelper();
     oldSingletonHelper.Dispose();
 }
		internal static ManageableConfigurationSourceSingletonHelper ResetSingletonHelper()
		{
			ManageableConfigurationSourceSingletonHelper oldSingletonHelper = singletonHelper;
			singletonHelper = new ManageableConfigurationSourceSingletonHelper();
			oldSingletonHelper.Dispose();

			return singletonHelper;
		}