/// <summary> /// Initializes a new instance of the KeyedObjectEventArgs class. /// </summary> /// <param name="context">The object that is the context of the event.</param> /// <param name="action">The action being taken on the context.</param> public KeyedObjectEventArgs(KeyedObject context, ObjectActions action) : base(context, action) { }
/// <summary> /// Initializes a new instance of the KeyedObject class. /// </summary> /// <param name="element">The object to copy.</param> public KeyedObject(KeyedObject element) : base((ObjectBase)element) { _key = element.Key; }
/// <summary> /// Initializes a new instance of the KeyedObjectCancelEventArgs class. /// </summary> /// <param name="context">The object that is the context of the event.</param> /// <param name="action">The action being taken on the context.</param> /// <param name="cancel">A flag that indicates whether the event will be cancelled.</param> public KeyedObjectCancelEventArgs(KeyedObject context, ObjectActions action, bool cancel) : base(context, action, cancel) { }