Build() public method

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