public void Init(Pattern pattern, IConditionTestValue test, IConditionFlagProcessor flags) { Pattern = pattern; Test = new AuthenticationTestValue(test); Flags = flags ?? new ConditionFlagProcessor(); }
/// <summary> /// Inits the specified text. /// </summary> /// <param name="pattern">The pattern.</param> /// <param name="substitution">The text.</param> public void Init(Pattern pattern, string substitution) { Pattern = pattern; Substitution = substitution; }