protected VirtualDirectoryInfo(VirtualDirectoryInfo parent, string path)
			: this()
		{
			this.FileInfo = parent.FileInfo;
			this.VirtualPath = path;
			if (parent != null) {
				this.parent = parent;
				this.Files = parent.Files;
			}
		}
Beispiel #2
0
 protected VirtualDirectoryInfo(VirtualDirectoryInfo parent, string path)
     : this()
 {
     this.FileInfo    = parent.FileInfo;
     this.VirtualPath = path;
     if (parent != null)
     {
         this.parent = parent;
         this.Files  = parent.Files;
     }
 }
Beispiel #3
0
		protected override VirtualDirectoryInfo CreateDirectory (VirtualDirectoryInfo parent, string path)
		{
			return new RarDirectoryInfo((RarDirectoryInfo)parent, path);
		}
Beispiel #4
0
		protected override VirtualDirectoryInfo CreateDirectory (VirtualDirectoryInfo parent, string path)
		{
			return new SharpCompressDirectoryInfo((SharpCompressDirectoryInfo)parent, path);
		}
		protected virtual VirtualFileInfo CreateFile(VirtualDirectoryInfo parent, string path)
		{
			return new VirtualFileInfo(parent, path);
		}
		protected abstract VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path);
Beispiel #7
0
 protected virtual VirtualFileInfo CreateFile(VirtualDirectoryInfo parent, string path)
 {
     return(new VirtualFileInfo(parent, path));
 }
Beispiel #8
0
 protected abstract VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path);
Beispiel #9
0
 protected override VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path)
 {
     return(new ZipDirectoryInfo((ZipDirectoryInfo)parent, path));
 }
Beispiel #10
0
		public VirtualFileInfo(VirtualDirectoryInfo parent, string file)
		{
			this.parent = parent;
			this.file = file;
		}
Beispiel #11
0
 protected override VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path)
 {
     return(new SharpCompressDirectoryInfo((SharpCompressDirectoryInfo)parent, path));
 }
Beispiel #12
0
 public VirtualFileInfo(VirtualDirectoryInfo parent, string file)
 {
     this.parent = parent;
     this.file   = file;
 }