|
|
|
@ -2,10 +2,26 @@
|
|
|
|
|
{
|
|
|
|
|
public static class SettingConsts
|
|
|
|
|
{
|
|
|
|
|
public const int MaxNameLength = 128;
|
|
|
|
|
public const int MaxValueLength = 2048;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default value: 128
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static int MaxNameLength { get; set; } = 128;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default value: 2048
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static int MaxValueLength { get; set; } = 2048;
|
|
|
|
|
|
|
|
|
|
public static int MaxValueLengthValue { get; set; } = MaxValueLength;
|
|
|
|
|
public const int MaxProviderNameLength = 64;
|
|
|
|
|
public const int MaxProviderKeyLength = 64;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default value: 64
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static int MaxProviderNameLength { get; set; } = 64;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default value: 64
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static int MaxProviderKeyLength { get; set; } = 64;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|