System.ComponentModel.LicenseManager.GetCachedProvider C# (CSharp) Method

GetCachedProvider() private static method

Retrieves a cached instance of the provider associated with the specified type.
private static GetCachedProvider ( Type type ) : LicenseProvider
type Type
return LicenseProvider
        private static LicenseProvider GetCachedProvider(Type type)
        {
            if (s_providers != null)
            {
                return (LicenseProvider)s_providers[type];
            }
            return null;
        }