コード例 #1
0
    public Task AddHandler_assembly()
    {
        var map = new MessageToHandlerMap();

        map.AddHandlersFromAssembly <MyHandler>();
        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
    }