mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-02 21:43:08 +00:00
21 lines
520 B
C#
21 lines
520 B
C#
namespace OverwatchTranscript
|
|
{
|
|
public static class Transcript
|
|
{
|
|
public static ITranscriptWriter NewWriter()
|
|
{
|
|
return new TranscriptWriter(NewWorkDir());
|
|
}
|
|
|
|
public static ITranscriptReader NewReader(string transcriptFile)
|
|
{
|
|
return new TranscriptReader(NewWorkDir(), transcriptFile);
|
|
}
|
|
|
|
private static string NewWorkDir()
|
|
{
|
|
return Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
|
|
}
|
|
}
|
|
}
|