📄 portraitsetting.cs
字号:
namespace Imps.Client.Core
{
using System;
public class PortraitSetting : PropertyDictionary
{
private Imps.Client.Core.SystemSetting _sysSetting;
internal PortraitSetting(Imps.Client.Core.SystemSetting sysSetting)
{
this._sysSetting = sysSetting;
}
public int MaxPortraitContentLength
{
get
{
return this._sysSetting.GetPropertyValue<int>("MaxPortraitContentLength", 200);
}
}
public int MaxPortraitUnit
{
get
{
return this._sysSetting.GetPropertyValue<int>("MaxPortraitUnit", 0xc0);
}
}
public string PortraitFileType
{
get
{
return this._sysSetting.GetPropertyValue<string>("portrait-file-type");
}
}
public string UriDelPortrait
{
get
{
return this._sysSetting.GetPropertyValue<string>("del-portrait");
}
}
public string UriDownloadPortrait
{
get
{
return this._sysSetting.GetPropertyValue<string>("get-portrait");
}
}
public string UriSetPortrait
{
get
{
return this._sysSetting.GetPropertyValue<string>("set-portrait");
}
}
public string UriUploadPortrait
{
get
{
return this._sysSetting.GetPropertyValue<string>("set-portrait");
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -