///////////////////////////////////////////////////////////////////////////////////////////////////// #region Reset Methods ///////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Resets the inmemory caches so that at the next invocation the methods will re-fetch /// the default properties from DB. /// </summary> public static void Reset(this IPropertiesRepository repo) { if (repo != null) { repo.ResetCaches(); } s_defPropertyValues = null; s_defPropertyItemsSet = null; s_basicProps = null; s_browsers = null; s_architectures = null; s_osTypes = null; s_windowsVersions = null; s_languages = null; s_defValuesRelatedToSingleKey = null; }