示例#1
0
        public StreamRegistry(IPlacementDispatcher disp, ExceptionSink exceptions, TypeMap typeMap)
        {
            _disp              = disp;
            _exceptions        = exceptions;
            _dStreams          = new ConcurrentDictionary <StreamKey, Stream>();
            _dImplicitSubTypes = new ConcurrentDictionary <string, ConcurrentBag <Type> >();

            typeMap.AddTypeProcessor(DetectImplicitStreamSubs);
        }