Files
monorepo/LCU.API.Internal.Document/LCU.API.Internal.Document.PerformanceTest/API/ApiFactory.cs
T
2026-03-13 09:11:35 -05:00

11 lines
351 B
C#

namespace LCU.API.Internal.Document.PerformanceTest.API;
public static class ApiFactory
{
public static IDocumentApi Api => Environment.Type switch
{
EnvironmentType.Local => new DirectInMemoryDocumentApi(),
EnvironmentType.Azure => new DirectInMemoryDocumentApi(),
_ => throw new NotImplementedException()
};
}