コード例 #1
0
        public static StreamProcessor Fold(this IStream stream, IPayloadProcessor payloadProcessor = null)
        {
            var processor = new StreamProcessor(stream, payloadProcessor ?? DelegateToPrivateEventHandlers.Instance);

            return(processor);
        }
コード例 #2
0
        public static StreamProcessor Fold(this IReadOnlyStream stream)
        {
            var processor = new StreamProcessor(stream);

            return(processor);
        }