Escali License control
1
StateProperty.cs
Gå til dokumentasjonen til denne filen.
1
namespace
Escali.LicenseControl.Client.State;
2
3
public
class
StateProperty
<T>
4
{
5
public
T?
Value
6
{
7
get
=>
_value
;
8
set
9
{
10
_value
= value;
11
OnValueChanged
();
12
}
13
}
14
private
T?
_value
;
15
public
event
Action?
ValueChanged
;
16
private
void
OnValueChanged
() =>
ValueChanged
?.Invoke();
17
18
public
StateProperty
() {}
19
public
StateProperty
(T value)
20
{
21
Value
= value;
22
}
23
}
StateProperty
Definition:
StateProperty.cs:4
StateProperty.Value
T? Value
Definition:
StateProperty.cs:6
StateProperty.StateProperty
StateProperty()
Definition:
StateProperty.cs:18
StateProperty.OnValueChanged
void OnValueChanged()
StateProperty.ValueChanged
Action? ValueChanged
Definition:
StateProperty.cs:15
StateProperty._value
T? _value
Definition:
StateProperty.cs:14
StateProperty.StateProperty
StateProperty(T value)
Definition:
StateProperty.cs:19
Desktop
Escali-LicenseControl-FinalDelivery
Escali.LicenseControl.Client
State
StateProperty.cs
Generert av
1.9.3