IReadOnlyExtensions
Wisej.Web.Markup.IReadOnlyExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.IReadOnlyExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the implementation.
Attaches an action to be executed when the event is raised.
TReadOnly
target
action
Returns: . The target object, allowing for method chaining.
This extension method allows you to easily attach an action to the event of an object.
Sets the read-only status of the specified target object.
TReadOnly
target
The target object whose read-only status is to be set.
value
A boolean value indicating the desired read-only status.
The type that implements .
The target object whose event is being monitored.
The action to execute when the event occurs.
The type of the target object, which must implement .
Returns: . The target object with the updated read-only status.
This extension method allows you to set the read-only status of an object that implements the interface.