/// <summary> /// 引发 <see cref="RollbackFile" /> 事件 /// </summary> protected virtual void OnRollbackFile(InstallFileEventArgs ea) { var handler = RollbackFile; if (handler != null) { handler(this, ea); } }
/// <summary> /// 引发 <see cref="RollbackFile" /> 事件 /// </summary> protected virtual void OnRollbackFile(InstallFileEventArgs ea) { if (RollbackFile == null) { return; } RollbackFile(this, ea); }
/// <summary> /// 引发 <see cref="DeleteFile" /> 事件 /// </summary> protected virtual void OnDeleteFile(InstallFileEventArgs ea) { var handler = DeleteFile; if (handler != null) { handler(this, ea); } }
/// <summary> /// 引发 <see cref="InstallFile" /> 事件 /// </summary> protected virtual void OnInstallFile(InstallFileEventArgs ea) { if (InstallFile == null) { return; } InstallFile(this, ea); }
/// <summary> /// 引发 <see cref="RollbackFile" /> 事件 /// </summary> protected virtual void OnRollbackFile(InstallFileEventArgs ea) { var handler = RollbackFile; if (handler != null) handler(this, ea); }
/// <summary> /// 引发 <see cref="DeleteFile" /> 事件 /// </summary> protected virtual void OnDeleteFile(InstallFileEventArgs ea) { var handler = DeleteFile; if (handler != null) handler(this, ea); }
/// <summary> /// 引发 <see cref="RollbackFile" /> 事件 /// </summary> protected virtual void OnRollbackFile(InstallFileEventArgs ea) { if (RollbackFile == null) return; RollbackFile(this, ea); }
/// <summary> /// 引发 <see cref="InstallFile" /> 事件 /// </summary> protected virtual void OnInstallFile(InstallFileEventArgs ea) { if (InstallFile == null) return; InstallFile(this, ea); }