Changeset 35629

Show
Ignore:
Timestamp:
10/18/09 16:59:42 (4 years ago)
Author:
ohyajapan
Message:

Fixed an argument of FileCopyInfo? constructor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/PhotoCollector/PhotoCollector/FileCopyInfo.cs

    r22500 r35629  
    1313        public string DestFilePath { set; private get; } 
    1414 
    15         public FileCopyInfo(string srcFilePath, string destDirPath) 
     15        public FileCopyInfo(FileInfo srcFile, string destDirPath) 
    1616        { 
    17             this.srcFile = new FileInfo(srcFilePath); 
     17            this.srcFile = srcFile; 
    1818            DestFilePath = Path.Combine(destDirPath, srcFile.Name); 
    1919        } 
     
    6868                        where f.CreationTime > showStartTime 
    6969                        orderby f.CreationTime descending 
    70                         select new FileCopyInfo(f.FullName, destDirPath); 
     70                        select new FileCopyInfo(f, destDirPath); 
    7171            array = query.ToArray(); 
    7272        }