예제 #1
0
    public Task AddMessage_assembly()
    {
        var map = new MessageToHandlerMap();

        map.AddMessagesFromAssembly <MyMessage>();
        return(VerifyMap(map));
    }
예제 #2
0
    public async Task Integration()
    {
        #region MessageToHandlerMap
        var map = new MessageToHandlerMap();
        map.AddMessagesFromAssembly <MyMessage>();
        map.AddHandlersFromAssembly <MyHandler>();
        await Verify(map);

        #endregion
    }