Beispiel #1
0
 public PreDeleteEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string filePath
 )
 {
     this.TransferSourceFlags = transferSourceFlags;
     this.FilePath            = filePath;
 }
Beispiel #2
0
 public PreNewEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string filePath,
     string fileName
 )
 {
     this.TransferSourceFlags = transferSourceFlags;
     this.FilePath            = filePath;
     this.FileName            = fileName;
 }
Beispiel #3
0
 public PostDeleteEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string deletedFilePath,
     string recycleBinFilePath,
     int hrRename
 ) : base(hrRename)
 {
     this.TransferSourceFlags = transferSourceFlags;
     this.DeletedFilePath     = deletedFilePath;
     this.RecycleBinFilePath  = recycleBinFilePath;
 }
 public PreMoveCopyEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string filePath,
     string destinationFolderPath,
     string newFileName
 )
 {
     this.TransferSourceFlags   = transferSourceFlags;
     this.FilePath              = filePath;
     this.DestinationFolderPath = destinationFolderPath;
     this.DestinationFileName   = newFileName;
 }
 public PostRenameEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string renamedFilePath,
     string expectedNewFileName,
     string newFilePath,
     string newFileName,
     int hrRename
 ) : base(hrRename)
 {
     this.TransferSourceFlags = transferSourceFlags;
     this.RenamedFilePath     = renamedFilePath;
     this.ExpectedNewFileName = expectedNewFileName;
     this.NewFilePath         = newFilePath;
     this.NewFileName         = newFileName;
 }
 public PostMoveCopyEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string sourceFilePath,
     string destinationFolderPath,
     string destinationFilePath,
     string destinationFileName,
     int hrResult
 ) : base(hrResult)
 {
     this.TransferSourceFlags   = transferSourceFlags;
     this.SourceFilePath        = sourceFilePath;
     this.DestinationFolderPath = destinationFolderPath;
     this.DestionationFilePath  = destinationFilePath;
     this.DestionationFileName  = destinationFileName;
 }
Beispiel #7
0
 public PostNewEventArgs
 (
     TransferSourceFlags transferSourceFlags,
     string destinationFolderPath,
     string fileName,
     string templateName,
     FileAttributes fileAttributes,
     string filePath,
     int hrResult
 ) : base(hrResult)
 {
     this.TransferSourceFlags   = transferSourceFlags;
     this.DestinationFolderPath = destinationFolderPath;
     this.FileName       = fileName;
     this.TemplateName   = templateName;
     this.FileAttributes = fileAttributes;
     this.FilePath       = filePath;
 }
 /// <summary>
 ///     ファイルが削除される前に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 public virtual void PreDelete(TransferSourceFlags flags, ShellObject shellObject)
 {
 }
 /// <summary>
 ///     ファイルが移動した後に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 /// <param name="destinationFolder"></param>
 /// <param name="newName"></param>
 /// <param name="hrMove"></param>
 /// <param name="newlyCreated"></param>
 public virtual void PostMove(TransferSourceFlags flags,
                              ShellObject shellObject, ShellObject destinationFolder,
                              string newName, HRESULT hrMove, ShellObject newlyCreated)
 {
 }
 /// <summary>
 ///     ファイルが移動される前に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 /// <param name="destinationFolder"></param>
 /// <param name="newName"></param>
 public virtual void PreMove(TransferSourceFlags flags,
                             ShellObject shellObject, ShellObject destinationFolder,
                             string newName)
 {
 }
 /// <summary>
 ///     ファイルが新規作成された後に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="destinationFolder"></param>
 /// <param name="newName"></param>
 /// <param name="templateName"></param>
 /// <param name="dwFileAttributes"></param>
 /// <param name="hrNew"></param>
 /// <param name="newItem"></param>
 public virtual void PostNew(TransferSourceFlags flags, ShellObject destinationFolder,
                             string newName, string templateName,
                             FileAttributes dwFileAttributes,
                             HRESULT hrNew, ShellObject newItem)
 {
 }
 /// <summary>
 ///     ファイル名が変更された後に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 /// <param name="newName"></param>
 /// <param name="hrRename"></param>
 /// <param name="newlyCreated"></param>
 public virtual void PostRename(TransferSourceFlags flags, ShellObject shellObject,
                                string newName, HRESULT hrRename, ShellObject newlyCreated)
 {
 }
 /// <summary>
 ///     ファイル名が変更される前に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 /// <param name="newName"></param>
 public virtual void PreRename(TransferSourceFlags flags, ShellObject shellObject,
                               string newName)
 {
 }
 /// <summary>
 ///     ファイルが削除された後に呼び出されます。
 /// </summary>
 /// <param name="flags"></param>
 /// <param name="shellObject"></param>
 /// <param name="hrDelete"></param>
 /// <param name="newlyCreated"></param>
 public virtual void PostDelete(TransferSourceFlags flags, ShellObject shellObject,
                                HRESULT hrDelete, ShellObject newlyCreated)
 {
 }