Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatchBuilder{TItem}"/> class.
 /// </summary>
 /// <param name="compiler">TBD</param>
 /// <exception cref="ArgumentNullException">
 /// This exception is thrown if the given <paramref name="compiler"/> is undefined.
 /// </exception>
 public MatchBuilder(IMatchCompiler <TItem> compiler)
 {
     if (compiler == null)
     {
         throw new ArgumentNullException(nameof(compiler), "Compiler cannot be null");
     }
     _compiler = compiler;
 }
Beispiel #2
0
 public MatchBuilder(IMatchCompiler <TItem> compiler)
 {
     if (compiler == null)
     {
         throw new ArgumentNullException("compiler");
     }
     _compiler = compiler;
 }