/// <summary> /// Set up rules for any feature /// </summary> /// <param name="featureName">Name of the feature you want rules for. /// The official list is at https://github.com/WICG/feature-policy/blob/master/features.md</param> public FeaturePolicyOtherFeatureBuilder AllowOtherFeature(string featureName) { var options = new FeaturePolicyOtherFeatureOptions(featureName); var builder = new FeaturePolicyOtherFeatureBuilder(options); _otherBuilders.Add(builder); return(builder); }
public FeaturePolicyOtherFeatureBuilder(FeaturePolicyOtherFeatureOptions options) { _options = options; }