Build() private method

private Build ( Type type, FilterHandlerBuilder filterHandlerBuilder ) : MessageHandlerItem>.Dictionary
type System.Type
filterHandlerBuilder FilterHandlerBuilder
return MessageHandlerItem>.Dictionary
        public InterfacedActorHandler(Type type)
        {
            var filterHandlerBuilder = new FilterHandlerBuilder(type);

            var requestHandlerBuilder = new RequestHandlerBuilder();
            RequestDispatcher = new RequestDispatcher(
                requestHandlerBuilder.Build(type, filterHandlerBuilder));

            var notificationHandlerBuilder = new NotificationHandlerBuilder();
            NotificationDispatcher = new NotificationDispatcher(
                notificationHandlerBuilder.Build(type, filterHandlerBuilder));

            var messageHandlerBuilder = new MessageHandlerBuilder();
            MessageDispatcher = new MessageDispatcher(
                messageHandlerBuilder.Build(type, filterHandlerBuilder));

            PerInstanceFilterCreators = filterHandlerBuilder.PerInstanceFilterCreators;
        }
        public InterfacedActorHandler(Type type)
        {
            var filterHandlerBuilder = new FilterHandlerBuilder(type);

            var requestHandlerBuilder = new RequestHandlerBuilder();

            RequestDispatcher = new RequestDispatcher(
                requestHandlerBuilder.Build(type, filterHandlerBuilder));

            var notificationHandlerBuilder = new NotificationHandlerBuilder();

            NotificationDispatcher = new NotificationDispatcher(
                notificationHandlerBuilder.Build(type, filterHandlerBuilder));

            var messageHandlerBuilder = new MessageHandlerBuilder();

            MessageDispatcher = new MessageDispatcher(
                messageHandlerBuilder.Build(type, filterHandlerBuilder));

            PerInstanceFilterCreators = filterHandlerBuilder.PerInstanceFilterCreators;
        }