Class InvalidationRequest
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Represents an invalidation request for a control.
public class InvalidationRequest
- Inheritance
-
InvalidationRequest
- Inherited Members
Constructors
InvalidationRequest(IWindowControl, InvalidationReason, bool)
Initializes a new instance of the InvalidationRequest class.
public InvalidationRequest(IWindowControl control, InvalidationReason reason, bool propagateToParent = true)
Parameters
controlIWindowControlThe control that needs invalidation.
reasonInvalidationReasonThe reason for the invalidation.
propagateToParentboolWhether to propagate the invalidation to the parent container. Defaults to
true.
Properties
Control
Gets the control that needs invalidation.
public IWindowControl Control { get; }
Property Value
PropagateToParent
Gets whether this invalidation should propagate to the parent container.
public bool PropagateToParent { get; }
Property Value
Reason
Gets the reason for the invalidation.
public InvalidationReason Reason { get; }
Property Value
RequestTime
Gets the UTC time when the invalidation was requested.
public DateTime RequestTime { get; }