Exemple #1
0
 /// <summary>
 ///     Set the <see cref="IHeliosTraceWriter" /> that will be used across all built-in Helios calls.
 ///     Not synchronized, and not intended to be called in concurrent code.
 /// </summary>
 /// <param name="writer">The <see cref="IHeliosTraceWriter" /> implementation that will be used internally</param>
 public static void SetWriter(IHeliosTraceWriter writer)
 {
     Guard.True(writer != null);
     Instance = writer;
 }
Exemple #2
0
 /// <summary>
 ///     Set the <see cref="IHeliosTraceWriter" /> that will be used across all built-in Helios calls.
 ///     Not synchronized, and not intended to be called in concurrent code.
 /// </summary>
 /// <param name="writer">The <see cref="IHeliosTraceWriter" /> implementation that will be used internally</param>
 public static void SetWriter(IHeliosTraceWriter writer)
 {
     Guard.True(writer != null);
     Instance = writer;
 }