Esempio n. 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="T:FileActivityEventArgs" /> class.
 /// </summary>
 /// <param name="file">The file that changed, if any (full path).</param>
 /// <param name="oldFileName">The old name of the file, if any (full path).</param>
 /// <param name="directory">The directory that changed, if any (full path).</param>
 /// <param name="oldDirectoryName">The old name of the directory, if any (full path).</param>
 /// <param name="page">The page owning the attachment, if any.</param>
 /// <param name="activity">The activity.</param>
 public FileActivityEventArgs(StFileInfo file, string oldFileName,
                              StDirectoryInfo directory, string oldDirectoryName,
                              PageInfo page, FileActivity activity)
 {
     File             = file;
     OldFileName      = oldFileName;
     Directory        = directory;
     OldDirectoryName = oldDirectoryName;
     Page             = page;
     Activity         = activity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FileActivityEventArgs" /> class.
 /// </summary>
 /// <param name="file">The file that changed, if any (full path).</param>
 /// <param name="oldFileName">The old name of the file, if any (full path).</param>
 /// <param name="directory">The directory that changed, if any (full path).</param>
 /// <param name="oldDirectoryName">The old name of the directory, if any (full path).</param>
 /// <param name="page">The page owning the attachment, if any.</param>
 /// <param name="activity">The activity.</param>
 public FileActivityEventArgs(StFileInfo file, string oldFileName,
                              StDirectoryInfo directory, string oldDirectoryName,
                              PageInfo page, FileActivity activity)
 {
     this.file             = file;
     this.oldFileName      = oldFileName;
     this.directory        = directory;
     this.oldDirectoryName = oldDirectoryName;
     this.page             = page;
     this.activity         = activity;
 }