Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public LogFileCollectionAppEvent(ILogFileCollection logFiles, FileChangingType changingType)
 {
     ChangingType = changingType;
     LogFiles     = logFiles;
 }
Example #2
0
 /// <summary>
 /// A project akcióit követi.
 /// </summary>
 public StorageAppEvent(Storage storage, FileChangingType changingType)
 {
     ChangingType = changingType;
     Storage = storage;
     Details = new StorageChanegdEventArgs(DataObjects.Unknown);
 }
Example #3
0
 /// <summary>
 /// A project akcióit követi. és részletezi amnyira tudja...
 /// 
 /// A Details segitségével beazonisítható, hogy konkrétan mi változott a projectben.
 /// Segítségével célzottan módosíthatsz.
 /// Pl:
 /// 
 /// EventAggregator.Instance.Subscribe<ProjectFileAppEvent/>(e =>
 /// {
 ///     if (e.ChangingType == FileChangingType.LoadComplete ||
 ///         e.ChangingType == FileChangingType.ContentChanged)
 ///     {
 ///         if (e.Details.ProjectObjects == ProjectObjects.ParameterProperty &&
 ///             e.Details.PropertyDescriptor.Name == PropertyPlus.GetPropertyName(() => e.Project.Parameters.Termination))
 ///         {
 ///             _parmeters = e.Project.Parameters;
 ///             Checked = _parmeters.Termination;
 ///         }
 /// 
 ///     }
 /// });
 /// </summary>
 public StorageAppEvent(Storage storage, FileChangingType changingType, StorageChanegdEventArgs args)
 {
     ChangingType = changingType;
     Storage = storage;
     Details = args;
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public LogFileAppEvent(ILogFileItem logFile, FileChangingType changingType)
 {
     ChangingType = changingType;
     LogFile      = logFile;
 }