/// <summary> /// Otevře Scope (dá Begin), ihned, jehož Dispose zapíše párový End /// </summary> /// <param name="priority"></param> /// <param name="type"></param> /// <param name="method"></param> /// <param name="result"></param> /// <param name="items"></param> /// <returns></returns> public ITraceScope ScopeNow(TracePriority priority, string type, string method, string result, params string[] items) { bool isReal = App.TraceForPriority(priority); return(TraceScope.GetScope(this, true, isReal, type, method, result, items)); }
/// <summary> /// Otevře Scope (dá Begin), jehož Dispose zapíše párový End /// </summary> /// <param name="type"></param> /// <param name="method"></param> /// <param name="result"></param> /// <param name="items"></param> /// <returns></returns> public ITraceScope Scope(string type, string method, string result, params string[] items) { bool isReal = App.TraceForPriority(TracePriority.Priority5_Normal); return(TraceScope.GetScope(this, false, isReal, type, method, result, items)); }