portraitsetting.cs
来自「破解的飞信源代码」· CS 代码 · 共 72 行
CS
72 行
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 + =
减小字号Ctrl + -
显示快捷键?