SetFileBytes() public method

public SetFileBytes ( ) : void
return void
Beispiel #1
0
 public void AddFile(string fileName)
 {
   FileInfo fileInfo = new FileInfo(fileName);
   FileData fileData = new FileData(fileInfo);
   if (testCaseFiles == null)
     testCaseFiles = new SortedSetAny<FileData>();
   testCaseFiles.Add(fileData);
   fileData.SetFileBytes();
 }
Beispiel #2
0
        public void AddFile(string fileName)
        {
            FileInfo fileInfo = new FileInfo(fileName);
            FileData fileData = new FileData(fileInfo);

            if (m_testCaseFiles == null)
            {
                m_testCaseFiles = new SortedSetAny <FileData>();
            }
            m_testCaseFiles.Add(fileData);
            fileData.SetFileBytes();
        }