Table of Contents

Class ProxyRef<T>

Namespace
MCM.Common
Assembly
MCMv5.dll

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
Inherited Members

Constructors

ProxyRef(Func<T>, Action<T>?)

public ProxyRef(Func<T> getter, Action<T>? setter)

Parameters

getter Func<T>
setter Action<T>

Properties

Type

Underlying type of the value

public Type Type { get; }

Property Value

Type

Value

public object? Value { get; set; }

Property Value

object

Methods

Equals(ProxyRef<T>?)

public bool Equals(ProxyRef<T>? other)

Parameters

other ProxyRef<T>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

OnPropertyChanged(string?)

protected virtual void OnPropertyChanged(string? propertyName = null)

Parameters

propertyName string

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler

Operators

operator ==(ProxyRef<T>?, ProxyRef<T>?)

public static bool operator ==(ProxyRef<T>? left, ProxyRef<T>? right)

Parameters

left ProxyRef<T>
right ProxyRef<T>

Returns

bool

operator !=(ProxyRef<T>?, ProxyRef<T>?)

public static bool operator !=(ProxyRef<T>? left, ProxyRef<T>? right)

Parameters

left ProxyRef<T>
right ProxyRef<T>

Returns

bool

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