Class ProxyRef<T>
A broader wrapper. Uses functions for getting/setting the value
public class ProxyRef<T> : IRef, INotifyPropertyChanged, IEquatable<ProxyRef<T>>
Type Parameters
T
- Inheritance
-
ProxyRef<T>
- Implements
-
IEquatable<ProxyRef<T>>
- Inherited Members
Constructors
ProxyRef(Func<T>, Action<T>?)
public ProxyRef(Func<T> getter, Action<T>? setter)
Parameters
Properties
Type
Underlying type of the value
public Type Type { get; }
Property Value
Value
public object? Value { get; set; }
Property Value
Methods
Equals(ProxyRef<T>?)
public bool Equals(ProxyRef<T>? other)
Parameters
other
ProxyRef<T>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
OnPropertyChanged(string?)
protected virtual void OnPropertyChanged(string? propertyName = null)
Parameters
propertyName
string
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged
Event Type
Operators
operator ==(ProxyRef<T>?, ProxyRef<T>?)
public static bool operator ==(ProxyRef<T>? left, ProxyRef<T>? right)
Parameters
Returns
operator !=(ProxyRef<T>?, ProxyRef<T>?)
public static bool operator !=(ProxyRef<T>? left, ProxyRef<T>? right)
Parameters
Returns
This page was last modified at 06/20/2024 23:41:40 +03:00 (UTC).
Commit Message
Author: Vitalii Mikhailov
Commit: 22da042e932b2b1a231a7120255b8281d0711bc1
Added SettingPropertyGroupMetadata
Removed obsolete code