public override PolicyDirective ToDirective(string name) { var directive = new ScriptPolicyDirective { UnsafeAllowEval = UnsafeAllowEval, UnsafeAllowInline = UnsafeAllowInline }; AddSourcesAndSelf(directive); return directive; }
public override PolicyDirective ToDirective(string name) { var directive = new ScriptPolicyDirective { UnsafeAllowEval = UnsafeAllowEval, UnsafeAllowInline = UnsafeAllowInline }; AddSourcesAndSelf(directive); return(directive); }