SevenZip/SevenZipCompressor.cs
/// <summary>
///   Produces  a new instance of ArchiveUpdateCallback class.
/// </summary>
/// <param name = "streamDict">Dictionary&lt;name of the archive entry, stream&gt;.</param>
/// <param name = "password">The archive password</param>
/// <returns></returns>
Produces  a new instance of ArchiveUpdateCallback class.
Produces a new instance of ArchiveUpdateCallback class .
private ArchiveUpdateCallback GetArchiveUpdateCallback(
            Dictionary<string, Stream> streamDict, string password)
        {
            SetCompressionProperties();
            ArchiveUpdateCallback auc = (String.IsNullOrEmpty(password))
                                            ? new ArchiveUpdateCallback(streamDict, this, GetUpdateData(),
                                                                        DirectoryStructure)
                                                  {DictionarySize = GetDictionarySize()}
                                            : new ArchiveUpdateCallback(streamDict, password, this, GetUpdateData(),
                                                                        DirectoryStructure)
                                                  {DictionarySize = GetDictionarySize()};
            CommonUpdateCallbackInit(auc);
            return auc;
        }
private ArchiveUpdateCallback GetArchiveUpdateCallback ( Dictionary < string , Stream > streamDict , string password ) { SetCompressionProperties ( ) ; ArchiveUpdateCallback auc = ( String . IsNullOrEmpty ( password ) ) ? new ArchiveUpdateCallback ( streamDict , this , GetUpdateData ( ) , DirectoryStructure ) { DictionarySize = GetDictionarySize ( ) } : new ArchiveUpdateCallback ( streamDict , password , this , GetUpdateData ( ) , DirectoryStructure ) { DictionarySize = GetDictionarySize ( ) } ; CommonUpdateCallbackInit ( auc ) ; return auc ; }
Produces  a new instance of ArchiveUpdateCallback class.
Produces a new instance of ArchiveUpdateCallback class .
None
streamDict
Dictionary<string, Stream>
None
password
string
The archive password
The archive password