public ParamNamePolicySet(EnforcementConfig enforcementConfig) { basicPolicies = new List<IBasicPolicy<string, string>> { new TransliteratePolicy(enforcementConfig), new ReplaceKnownValuePolicy(enforcementConfig, NonSafePrintUsAscii, QuestionMark), new TruncateToKnownValuePolicy(enforcementConfig, ParamNameMaxLength) }; replaceComputedValuePolicy = new ReplaceComputedValuePolicy(enforcementConfig, QuestionMark); }
public ParamNamePolicySet(EnforcementConfig enforcementConfig) { basicPolicies = new List <IBasicPolicy <string, string> > { new TransliteratePolicy(enforcementConfig), new ReplaceKnownValuePolicy(enforcementConfig, NonSafePrintUsAscii, QuestionMark), new TruncateToKnownValuePolicy(enforcementConfig, ParamNameMaxLength) }; replaceComputedValuePolicy = new ReplaceComputedValuePolicy(enforcementConfig, QuestionMark); }