Table of Contents

Method SetProperty<T>

Namespace
Oscova.Agents.Settings
Assembly
Oscova.Agents.dll

SetProperty<T>(ref T, T, string?)

Updates a property and raises its change notifications when the value differs.

protected void SetProperty<T>(ref T field, T value, string? propertyName = null)

Parameters

field T
value T
propertyName string?

Type Parameters

T