Class ILog_Properties
Extension methods for property getters and setters.
[InternalApi_DoNotUse_MayChangeWithoutNotice("Still experimental")]
public static class ILog_Properties
- Inheritance
-
objectILog_Properties
Methods
Getter<TProperty>(ILog, Func<TProperty>, bool, bool, string?, string?, string?, string?, int)
⚠️ This is an internal API and can change at any time.
It's documented so you see how it works.
⚠️ Do not use it, or anything with
⚠️ Do not use it, or anything with
Sys or Internal namespaces in your code, as future changes could break your code.
Short wrapper for PropertyGet calls which only return the value.
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static TProperty Getter<TProperty>(this ILog log, Func<TProperty> getter, bool timer = false, bool enabled = true, string? message = null, string? parameters = null, string? cPath = null, string? cName = null, int cLine = 0)
Parameters
logILoggetterFunc<TProperty>timerboolenabledboolmessagestringparametersstringcPathstringcNamestringcLineint
Returns
- TProperty
Type Parameters
TPropertyType of return value