Provides a thread-safe list of TraceListener objects.
The TraceListenerSet class provides the same set of functionality as TraceListenerCollection provides. The reason for creating this class is inpossibility of using TraceListenerCollection due to hidden constructor.
상속: IList, ICollection, IEnumerable
예제 #1
0
 /// <summary>
 /// Adds the contents of another
 /// <see cref="BytesRoad.Diag.NSTraceListeners">NSTraceListeners</see>
 /// to the list.
 /// </summary>
 /// <param name="listeners">
 /// Another
 /// <see cref="BytesRoad.Diag.NSTraceListeners">NSTraceListeners</see>
 /// whose contents are added to the list.
 /// </param>
 public void AddRange(NSTraceListeners listeners)
 {
     _listeners.AddRange(listeners);
 }
예제 #2
0
		/// <summary>
		/// Adds the contents of another
		/// <see cref="BytesRoad.Diag.NSTraceListeners">NSTraceListeners</see>
		/// to the list.
		/// </summary>
		/// <param name="listeners">
		/// Another 
		/// <see cref="BytesRoad.Diag.NSTraceListeners">NSTraceListeners</see>
		/// whose contents are added to the list.
		/// </param>
		public void AddRange(NSTraceListeners listeners)
		{
			_listeners.AddRange(listeners);
		}