Files
agent-framework/dotnet/samples/03-workflows/ConditionalEdges/02_SwitchCase/Resources.cs
T

14 lines
384 B
C#

// Copyright (c) Microsoft. All rights reserved.
namespace WorkflowSwitchCaseSample;
/// <summary>
/// Resource helper to load resources.
/// </summary>
internal static class Resources
{
private const string ResourceFolder = "Resources";
public static string Read(string fileName) => File.ReadAllText(Path.Combine(AppContext.BaseDirectory, ResourceFolder, fileName));
}