Ejemplo n.º 1
0
 /// <summary>
 /// Gets a value indication whether trace is enabled for the specified trigger.
 /// </summary>
 /// <param name="trigger">The trigger.</param>
 /// <returns></returns>
 public static bool GetTraceEnabled(TriggerBase trigger)
 {
     return (bool)trigger.GetValue(TraceEnabledProperty);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the trigger name for the specified trigger. This will be used
 /// to identify the trigger in the debug output.
 /// </summary>
 /// <param name="trigger">The trigger.</param>
 /// <returns></returns>
 public static string GetTriggerName(TriggerBase trigger)
 {
     return (string)trigger.GetValue(TriggerNameProperty);
 }