refactors to use string interpolation

This commit is contained in:
Ibrahim Islam 2020-10-20 06:35:51 +07:00
parent 577776f30f
commit 462069cefe

View file

@ -8,7 +8,7 @@ static class PipeHelpers
{
static readonly string PipePrefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe_");
public static string GetUnqiuePipeName() => "FFMpegCore_" + Guid.NewGuid("N").Substring(0, 5);
public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid("N").Substring(0, 5)}";
public static string GetPipePath(string pipeName)
{