Build() public method

public Build ( Type type, FilterHandlerBuilder filterHandlerBuilder ) : RequestHandlerItem>.Dictionary
type System.Type
filterHandlerBuilder FilterHandlerBuilder
return RequestHandlerItem>.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;
        }