You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Common/Common/Definitions.cs

20 lines
367 B

2 years ago
using Connected.Data;
namespace Common;
public static class RecordStatusLocalizer
{
public static string Localize(Status status) =>
status switch
{
Status.Enabled => SR.RecordStatusEnabled,
Status.Disabled => SR.RecordStatusDisabled,
_ => status.ToString()
};
}
public static class Constants
{
public const string CommonSchema = "cmn";
}