Difi.SikkerDigitalPost.Klient.Internal.AsicE.AsiceArchive.SendArchiveThroughBundleProcessors C# (CSharp) Method

SendArchiveThroughBundleProcessors() private method

private SendArchiveThroughBundleProcessors ( byte archiveBytes ) : void
archiveBytes byte
return void
        private void SendArchiveThroughBundleProcessors(byte[] archiveBytes)
        {
            foreach (var documentBundleProcessor in AsiceAttachableProcessors)
            {
                try
                {
                    documentBundleProcessor.Process(new MemoryStream(archiveBytes));
                }
                catch (Exception exception)
                {
                    throw new IOException("Could not run stream through document bundle processor.", exception);
                }
            }
        }