/// <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); }
/// <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); }