Click or drag to resize

PropertyBagValueSetterFunc Property

Gets or sets the value setter func, which is a Func used in OnSetValue, when set, instead of raising an event. Use this func instead of the event to avoid memory leaks due to event handlers which keep the property bag in memory as long as the creating code is kept in memory: this func has a reference to the value container instead of to the property bag.

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures.PropertyEditing
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0529)
Syntax
public Action<string, Object> ValueSetterFunc { get; set; }

Property Value

Type: ActionString, Object
See Also