ServiceStack.LicenseUtils.HasLicensedFeature C# (CSharp) Method

HasLicensedFeature() public static method

public static HasLicensedFeature ( LicenseFeature feature ) : bool
feature LicenseFeature
return bool
        public static bool HasLicensedFeature(LicenseFeature feature)
        {
            var licensedFeatures = ActivatedLicenseFeatures();
            return (feature & licensedFeatures) == feature;
        }