Пример #1
0
 public int Add(AMSFileInfo FileInfo)
 {
     if(this.Count < this.AMSFiles.Length)
     {
         this.AMSFiles[this.Count].FileName = FileInfo.FileName;
         this.AMSFiles[this.Count].FilePath = FileInfo.FilePath;
         this.Count++;
         return this.Count-1;
     }
     return -1;
 }
Пример #2
0
 public AMSFileInfo(AMSFileInfo fi)
 {
     this.FileName = fi.FileName;
     this.FilePath = fi.FilePath;
 }