public Scope(
string name = null,
bool log = false,
string logText = null,
string logTopic = null,
Nullable<MessageType> logMsgType = null,
Action onExit = null,
bool measureTime = false,
int stackFrameOffset = 2
)
public Scope(
string name = null,
bool log = false,
string logText = null,
string logTopic = null,
Nullable<MessageType> logMsgType = null,
Action onExit = null,
bool measureTime = false,
int stackFrameOffset = 2
)
Public Sub New (
Optional name As String = Nothing,
Optional log As Boolean = false,
Optional logText As String = Nothing,
Optional logTopic As String = Nothing,
Optional logMsgType As Nullable(Of MessageType) = Nothing,
Optional onExit As Action = Nothing,
Optional measureTime As Boolean = false,
Optional stackFrameOffset As Integer = 2
)
Public Sub New (
Optional name As String = Nothing,
Optional log As Boolean = false,
Optional logText As String = Nothing,
Optional logTopic As String = Nothing,
Optional logMsgType As Nullable(Of MessageType) = Nothing,
Optional onExit As Action = Nothing,
Optional measureTime As Boolean = false,
Optional stackFrameOffset As Integer = 2
)
public:
Scope(
String^ name = nullptr,
bool log = false,
String^ logText = nullptr,
String^ logTopic = nullptr,
Nullable<MessageType> logMsgType = nullptr,
Action^ onExit = nullptr,
bool measureTime = false,
int stackFrameOffset = 2
)
public:
Scope(
String^ name = nullptr,
bool log = false,
String^ logText = nullptr,
String^ logTopic = nullptr,
Nullable<MessageType> logMsgType = nullptr,
Action^ onExit = nullptr,
bool measureTime = false,
int stackFrameOffset = 2
)
new :
?name : string *
?log : bool *
?logText : string *
?logTopic : string *
?logMsgType : Nullable<MessageType> *
?onExit : Action *
?measureTime : bool *
?stackFrameOffset : int
(* Defaults:
let _name = defaultArg name null
let _log = defaultArg log false
let _logText = defaultArg logText null
let _logTopic = defaultArg logTopic null
let _logMsgType = defaultArg logMsgType null
let _onExit = defaultArg onExit null
let _measureTime = defaultArg measureTime false
let _stackFrameOffset = defaultArg stackFrameOffset 2
*)
-> Scope
new :
?name : string *
?log : bool *
?logText : string *
?logTopic : string *
?logMsgType : Nullable<MessageType> *
?onExit : Action *
?measureTime : bool *
?stackFrameOffset : int
(* Defaults:
let _name = defaultArg name null
let _log = defaultArg log false
let _logText = defaultArg logText null
let _logTopic = defaultArg logTopic null
let _logMsgType = defaultArg logMsgType null
let _onExit = defaultArg onExit null
let _measureTime = defaultArg measureTime false
let _stackFrameOffset = defaultArg stackFrameOffset 2
*)
-> Scope