private static LicenseProvider GetCachedProvider(Type type) { if (s_providers != null) { return (LicenseProvider)s_providers[type]; } return null; }