Exemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RavenProjectionBuilder" /> class.
 /// </summary>
 public RavenProjectionBuilder(RavenProjection projection)
 {
     if (projection == null)
     {
         throw new ArgumentNullException("projection");
     }
     _handlers = projection.Handlers;
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Concatenates the handlers of this projection with the handlers of the specified projection.
 /// </summary>
 /// <param name="projection">The projection to concatenate.</param>
 /// <returns>A <see cref="RavenProjection"/> containing the concatenated handlers.</returns>
 /// <exception cref="System.ArgumentNullException">Thrown when <paramref name="projection"/> is <c>null</c>.</exception>
 public RavenProjection Concat(RavenProjection projection)
 {
     if (projection == null)
     {
         throw new ArgumentNullException("projection");
     }
     return(Concat(projection.Handlers));
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Concatenates the handlers of this projection with the handlers of the specified projection.
 /// </summary>
 /// <param name="projection">The projection to concatenate.</param>
 /// <returns>A <see cref="RavenProjection"/> containing the concatenated handlers.</returns>
 /// <exception cref="System.ArgumentNullException">Thrown when <paramref name="projection"/> is <c>null</c>.</exception>
 public RavenProjection Concat(RavenProjection projection)
 {
     if (projection == null)
         throw new ArgumentNullException("projection");
     return Concat(projection.Handlers);
 }