Exemple #1
0
        public InlineProjectionSource(IInlineProjection projection)
        {
            _projection = projection;

            // TODO -- this probably gets fancier later
            ProjectionName = projection.GetType().FullName;
        }
 /// <summary>
 /// Add a projection that should be executed asynchronously
 /// </summary>
 /// <param name="projection"></param>
 public void Async(IInlineProjection projection)
 {
     _asyncProjections.Add(new InlineProjectionSource(projection));
 }
 /// <summary>
 /// Add a projection to be executed inline
 /// </summary>
 /// <param name="projection"></param>
 public void Inline(IInlineProjection projection)
 {
     _inlineProjections.Add(new InlineProjectionSource(projection));
 }