async Task RunForSMBLog(
            IEnumerableAsync <SMB.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            SMB.IMessagingEvents messagingEvents = new SMB.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.CreatePostprocessorOutputBuilder()
            .SetMessagingEvents(events)
            .SetTriggersConverter(evtTrigger => TextLogEventTrigger.Make((SMB.Message)evtTrigger))
            .Build(postprocessorInput);
        }
Exemple #2
0
        async Task RunForSMBLog(
            IEnumerableAsync <SMB.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            SMB.IMessagingEvents messagingEvents = new SMB.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.SavePostprocessorOutput(
                events,
                null,
                null,
                null,
                evtTrigger => TextLogEventTrigger.Make((SMB.Message)evtTrigger),
                postprocessorInput
                );
        }