コード例 #1
0
 public void Init(Pattern pattern, IConditionTestValue test, IConditionFlagProcessor flags)
 {
     Pattern = pattern;
     Test = new AuthenticationTestValue(test);
     Flags = flags ?? new ConditionFlagProcessor();
 }
コード例 #2
0
		/// <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;
		}