/* ----------------------------------------------------------------- */
 ///
 /// ReadOnlyArchiveCollection
 ///
 /// <summary>
 /// オブジェクトを初期化します。
 /// </summary>
 ///
 /// <param name="archive">実装オブジェクト</param>
 /// <param name="src">圧縮ファイルのパス</param>
 /// <param name="password">パスワード取得用オブジェクト</param>
 /// <param name="io">入出力用のオブジェクト</param>
 ///
 /* ----------------------------------------------------------------- */
 public ReadOnlyArchiveList(IInArchive archive, string src, PasswordQuery password, IO io)
 {
     Source      = src;
     _controller = new ArchiveItemController(archive, password, io);
 }
Exemplo n.º 2
0
 /* ----------------------------------------------------------------- */
 ///
 /// ArchiveItem
 ///
 /// <summary>
 /// Initializes a new instance of the ArchiveItem class with the
 /// specified arguments.
 /// </summary>
 ///
 /// <param name="src">Path of the archive.</param>
 /// <param name="controller">Controller object.</param>
 ///
 /* ----------------------------------------------------------------- */
 internal ArchiveItem(string src, ArchiveItemController controller) :
     base(src, controller)
 {
 }
Exemplo n.º 3
0
 /* ----------------------------------------------------------------- */
 ///
 /// ArchiveItem
 ///
 /// <summary>
 /// Initializes a new instance of the ArchiveItem class with the
 /// specified arguments.
 /// </summary>
 ///
 /// <param name="src">Path of the archive.</param>
 /// <param name="index">Index of the archive.</param>
 /// <param name="controller">Controller object.</param>
 ///
 /* ----------------------------------------------------------------- */
 internal ArchiveItem(string src, int index, ArchiveItemController controller) :
     base(src, controller, index)
 {
 }