These v19 docs are archived 🔒.
Go to the
latest docs home
or try if
this exact page is available
in the latest docs.
Class ILog_Properties
Extension methods for property getters and setters.
[InternalApi_DoNotUse_MayChangeWithoutNotice("Still experimental")]
public static class ILog_Properties
- Inheritance
-
objectILog_Properties
Methods
GetterL<TProperty>(ILog, Func<ILogCall, TProperty>, bool, bool, string, string, string, string, int)
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static TProperty GetterL<TProperty>(this ILog log, Func<ILogCall, TProperty> getter, bool timer = false, bool enabled = true, string parameters = null, string message = null, string cPath = null, string cName = null, int cLine = 0)
Parameters
logILoggetterFunc<ILogCall, TProperty>timerboolenabledboolparametersstringmessagestringcPathstringcNamestringcLineint
Returns
- TProperty
Type Parameters
TProperty
GetterM<TProperty>(ILog, Func<(TProperty Result, string FinalMessage)>, bool, bool, string, string, string, int)
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static TProperty GetterM<TProperty>(this ILog log, Func<(TProperty Result, string FinalMessage)> getter, bool timer = false, bool enabled = true, string message = null, string cPath = null, string cName = null, int cLine = 0)
Parameters
logILoggetterFunc<(TProperty Result, string FinalMessage)>timerboolenabledboolmessagestringcPathstringcNamestringcLineint
Returns
- TProperty
Type Parameters
TProperty
GetterM<TProperty>(ILog, Func<ILogCall, (TProperty Result, string Message)>, bool, bool, string, string, string, string, int)
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static TProperty GetterM<TProperty>(this ILog log, Func<ILogCall, (TProperty Result, string Message)> getter, bool timer = false, bool enabled = true, string parameters = null, string message = null, string cPath = null, string cName = null, int cLine = 0)
Parameters
logILoggetterFunc<ILogCall, (TProperty Result, string Message)>timerboolenabledboolparametersstringmessagestringcPathstringcNamestringcLineint
Returns
- TProperty
Type Parameters
TProperty
Getter<TProperty>(ILog, Func<TProperty>, bool, bool, string, string, string, string, int)
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
Setter(ILog, Action, bool, bool, string, string, string, int)
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static void Setter(this ILog log, Action setter, bool timer = false, bool enabled = true, string message = null, string cPath = null, string cName = null, int cLine = 0)
Parameters
Setter<TProperty>(ILog, Func<TProperty>, bool, bool, string, string, string, int)
[InternalApi_DoNotUse_MayChangeWithoutNotice("2dm: Experimental, don't use yet")]
public static void Setter<TProperty>(this ILog log, Func<TProperty> setter, bool timer = false, bool enabled = true, string message = null, string cPath = null, string cName = null, int cLine = 0)
Parameters
logILogsetterFunc<TProperty>timerboolenabledboolmessagestringcPathstringcNamestringcLineint
Type Parameters
TProperty