Свойство | Тип | Описание | |
---|---|---|---|
AppendTopic | string | ||
CreateWithDependentTopic | DependentToken | ||
CreateWithMonitorTopic | DependentToken | ||
DependentToken | System | ||
ExtractTopic | bool | ||
FormatStartMessage | string | ||
MatchOriginatorAndTime | bool | ||
Start | IDisposable |
Метод | Описание | |
---|---|---|
CreateDependentMonitor ( Action |
Creates a monitor and executes
|
|
Parse ( string s ) : DependentToken |
Parses a DependentToken.ToString() string or throws a FormatException on error.
|
|
ToString ( ) : string |
Overridden to give a readable description of this token that can be Parsed (or TryParse) back: The format is "{OriginatorId} at CreationDate (with topic '...'|without topic).".
|
|
TryParse ( string s, DependentToken &t ) : bool |
Tries to parse a DependentToken.ToString() string.
|
|
TryParseLaunchOrCreateMessage ( string message, bool &launched, bool &withTopic, string &dependentTopic ) : bool |
Tries to parse a launch or create message.
|
|
TryParseStartMessage ( string startMessage, System.Guid &id, DateTimeStamp &time ) : bool |
Attempts to parse the start message of a dependent activity (tagged with ActivityMonitor.Tags.StartDependentActivity).
|
Метод | Описание | |
---|---|---|
AppendTopic ( string msg, string dependentTopic ) : string | ||
CreateWithDependentTopic ( IActivityMonitor m, bool launchActivity, string dependentTopic, string &msg ) : DependentToken | ||
CreateWithMonitorTopic ( IActivityMonitor m, bool launchActivity, string &msg ) : DependentToken | ||
DependentToken ( System.Guid monitorId, DateTimeStamp logTime, string topic ) : System | ||
ExtractTopic ( string message, int start, string &dependentTopic ) : bool | ||
FormatStartMessage ( ) : string | ||
MatchOriginatorAndTime ( StringMatcher m, System.Guid &id, DateTimeStamp &time ) : bool | ||
Start ( |
public CreateDependentMonitor ( Action |
||
configurator | Action |
Optionally applies any configuration on the created monitor before opening the root activity group. |
fileName | [ | Source file name of the emitter (automatically injected by C# compiler but can be explicitly set). |
lineNumber | [ | Line number in the source file (automatically injected by C# compiler but can be explicitly set). |
Результат | IDisposableActivityMonitor |
static public Parse ( string s ) : DependentToken | ||
s | string | The string to parse. |
Результат | DependentToken |
static public TryParse ( string s, DependentToken &t ) : bool | ||
s | string | The string to parse. |
t | DependentToken | The resulting dependent token. |
Результат | bool |
public static TryParseLaunchOrCreateMessage ( string message, bool &launched, bool &withTopic, string &dependentTopic ) : bool | ||
message | string | The message to parse. |
launched | bool | True if the activity has been launched or the token has only be created. |
withTopic | bool | True if an explicit topic has been associated to the dependent activity. |
dependentTopic | string | When |
Результат | bool |
static public TryParseStartMessage ( string startMessage, System.Guid &id, DateTimeStamp &time ) : bool | ||
startMessage | string | The start message to parse. |
id | System.Guid | The originator monitor identifier. |
time | DateTimeStamp | The creation time of the dependent activity. |
Результат | bool |