Add ProfileType enum and extension for URI scheme

Introduced the ProfileType enum with Http and Https values in the ReC.Domain.Constants namespace. Added ProfileTypeExtensions with a ToUriBuilderScheme method to convert enum values to their lowercase string representations for URI building.
This commit is contained in:
2025-12-15 15:05:10 +01:00
parent fb6d6af12b
commit aab8174500

View File

@@ -0,0 +1,12 @@
namespace ReC.Domain.Constants;
public enum ProfileType : byte
{
Http = 1,
Https = 2
}
public static class ProfileTypeExtensions
{
public static string ToUriBuilderScheme(this ProfileType profileType) => profileType.ToString().ToLower();
}