Skip to main content

SetPropertyHelper.Set Method

Name Parameters Description
Set<T>(ref T, T, Action) static storage, value, changedCallback Updates the field value if the new value is different. The method invokes the specified callback if the field value changes.
Set<T>(ref T, T, Action<T, T>) static storage, value, changedCallback Updates the field value if the new value is different. The method invokes the specified callback if the field value changes.
Set<T>(ref T, T, Action<T>) static storage, value, changedCallback Updates the field value if the new value is different. The method invokes the specified callback if the field value changes.
Set<T>(ref T, T) static storage, value Updates the field value if the new value is different.