Skip to content

Commit cbe331f

Browse files
committed
trace2: move formattargettypes
Move the FormatTargetTypes enum from the specific Trace2StreamWriter class to the shared Trace2Writer class, since the Trace2FileWriter class also uses values from this enum.
1 parent f7c9fd0 commit cbe331f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/shared/Core/ITrace2Writer.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33

44
namespace GitCredentialManager;
55

6+
/// <summary>
7+
/// The different format targets supported in the TRACE2 tracing
8+
/// system.
9+
/// </summary>
10+
public enum Trace2FormatTarget
11+
{
12+
Event,
13+
Normal
14+
}
15+
616
public interface ITrace2Writer : IDisposable
717
{
818
bool Failed { get; }

src/shared/Core/Trace2StreamWriter.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@
33

44
namespace GitCredentialManager;
55

6-
/// <summary>
7-
/// The different format targets supported in the TRACE2 tracing
8-
/// system.
9-
/// </summary>
10-
public enum Trace2FormatTarget
11-
{
12-
Event,
13-
Normal
14-
}
15-
166
public class Trace2StreamWriter : Trace2Writer
177
{
188
private readonly TextWriter _writer;

0 commit comments

Comments
 (0)