pub struct IndeiValidationPlugin;Expand description
Validates properties on model objects that implement
INotifyDataErrorInfo.
Trait Implementations§
Source§impl IDataValidationPlugin for IndeiValidationPlugin
impl IDataValidationPlugin for IndeiValidationPlugin
Source§fn match_(&self, reference: &WeakValue, _member_name: &str) -> bool
fn match_(&self, reference: &WeakValue, _member_name: &str) -> bool
Checks whether this plugin can handle data validation on the specified
object.
Source§fn start(
&self,
reference: &WeakValue,
property_name: &str,
inner: Rc<dyn IPropertyAccessor>,
) -> Rc<dyn IPropertyAccessor>
fn start( &self, reference: &WeakValue, property_name: &str, inner: Rc<dyn IPropertyAccessor>, ) -> Rc<dyn IPropertyAccessor>
Starts monitoring the data validation state of a property on an
object, wrapping
inner.Auto Trait Implementations§
impl Freeze for IndeiValidationPlugin
impl RefUnwindSafe for IndeiValidationPlugin
impl Send for IndeiValidationPlugin
impl Sync for IndeiValidationPlugin
impl Unpin for IndeiValidationPlugin
impl UnsafeUnpin for IndeiValidationPlugin
impl UnwindSafe for IndeiValidationPlugin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more