src/Projac/Projector.cs
/// <summary>
/// Projects the specified messages asynchronously.
/// </summary>
/// <param name="connection">The connection used during projection.</param>
/// <param name="messages">The messages to project.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>
///     A <see cref="Task" />.
/// </returns>
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="connection"/> or <paramref name="messages"/> is <c>null</c>.</exception>
Projects the specified messages asynchronously.
Projects the specified messages asynchronously .
public Task ProjectAsync(TConnection connection, IEnumerable<object> messages, CancellationToken cancellationToken)
        {
            if (messages == null) throw new ArgumentNullException("messages");
            return
                (
                    from message in messages
                    from handler in _resolver(message)
                    select handler.Handler(connection, message, cancellationToken)
                ).ExecuteAsync(cancellationToken);
        }
public Task ProjectAsync ( TConnection connection , IEnumerable < object > messages , CancellationToken cancellationToken ) { if ( messages == null ) throw new ArgumentNullException ( " " ) ; return ( from message in messages from handler in _resolver ( message ) select handler . Handler ( connection , message , cancellationToken ) ) . ExecuteAsync ( cancellationToken ) ; }
Projects the specified messages asynchronously.
Projects the specified messages asynchronously .
None
Thrown when  or  is null
Thrown when or is null
connection
TConnection
The connection used during projection.
The connection used during projection .
messages
IEnumerable<object>
The messages to project.
The messages to project .
cancellationToken
CancellationToken
The cancellation token.
The cancellation token .