modulesettings.cs
来自「wrox c#高级编程」· CS 代码 · 共 60 行
CS
60 行
using System;
using System.Xml;
using System.Xml.Serialization;
namespace Wrox.WebModules.AdsManager.Configuration
{
/// <summary>
/// Summary description for ModuleSettings.
/// </summary>
public class ModuleSettings
{
private string connectionString;
private string rotatorXmlFile;
private string passThroughPage;
public ModuleSettings()
{ }
[XmlElement]
public string ConnectionString
{
get
{
return connectionString;
}
set
{
connectionString = value;
}
}
[XmlElement]
public string RotatorXmlFile
{
get
{
return rotatorXmlFile;
}
set
{
rotatorXmlFile = value;
}
}
[XmlElement]
public string PassThroughPage
{
get
{
return passThroughPage;
}
set
{
passThroughPage = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?