Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 708 Bytes

File metadata and controls

20 lines (14 loc) · 708 Bytes

ObjectExtensions.GetCustomProperty<T> method

WARNING: PROTOTYPE. Do not use until this notice is removed since memory impact has not been verified yet. Retrieves an "attached" property for the source object The dictionary storing data will be garbage collected once the object is not used anymore, preventing memory leaks

public static T GetCustomProperty<T>(this object src, string key, T defaultIfNotFound = default)
parameter description
T
src
key

See Also