protected void OnChanged(ChangedEventType type, T item) { // if (RaiseListChangedEvents) { if (Changed != null) { Changed(this, new NotifyEventArgs <T>(type, item)); } } }
public ClaraApplicationChangedEvent(ClaraApplicationEntity applicationEntity, ChangedEventType eventType) { ApplicationEntity = applicationEntity ?? throw new ArgumentNullException(nameof(applicationEntity)); Event = eventType; }
/// <summary>Initializes an instance of ChangedEventArgs.</summary> /// <param name="targetHashAlgorithm">The HashAlgorithm that was the target of the change in the List.</param> /// <param name="type">The type of change that was made.</param> public ChangedEventArgs(System.Security.Cryptography.HashAlgorithm targetHashAlgorithm, ChangedEventType type) : base() { this.targetHashAlgorithm = targetHashAlgorithm; this.changeType = type; }
public NotifyEventArgs(ChangedEventType type, T item) : base() { Type = type; Item = item; }
/// <summary>Initializes an instance of ChangedEventArgs.</summary> /// <param name="type">The type of change that was made.</param> public ChangedEventArgs(ChangedEventType type) : base() { this.changeType = type; }