Exemplo n.º 1
0
 /// <summary>
 /// Resolves the <see cref="ProjectionHandler{TConnection}">handlers</see> that match the type of the message exactly.
 /// </summary>
 /// <param name="handlers">The set of resolvable handlers.</param>
 /// <returns>A <see cref="ProjectionHandlerResolver{TConnection}">resolver</see>.</returns>
 public static ProjectionHandlerResolver <TConnection> WhenEqualToHandlerMessageType <TConnection>(ProjectionHandler <TConnection>[] handlers)
 {
     return(Resolve.WhenEqualToHandlerMessageType <TConnection>(handlers));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Resolves the <see cref="SqlProjectionHandler">handlers</see> that match the type of the message exactly.
 /// </summary>
 /// <param name="handlers">The set of resolvable handlers.</param>
 /// <returns>A <see cref="SqlProjectionHandlerResolver">resolver</see>.</returns>
 public static SqlProjectionHandlerResolver WhenEqualToHandlerMessageType(SqlProjectionHandler[] handlers)
 {
     return(Resolve.WhenEqualToHandlerMessageType(handlers));
 }