Click or drag to resize

PropertyBagValueGetterFunc Property

Gets or sets the value getter func, which is a Func used in OnGetValue, 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 Func<string, Object> ValueGetterFunc { get; set; }

Property Value

Type: FuncString, Object
See Also