icustomsaveproperties.cs
来自「Gibphone is CSharp Program, it can tell 」· CS 代码 · 共 29 行
CS
29 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using GPCore.Protocols;
namespace GPCore
{
/// <summary>
/// Extend this interface if you want to add more Properties to the XmlFile
/// besides just Username and Password.
/// </summary>
public interface ICustomSaveProperties : IProtocol
{
/// <summary>
/// Add the Properties to the <paramref name="root"/> XmlElement
/// </summary>
/// <param name="root">The root of the advanced Properties</param>
void CreateElement(ref XmlElement root);
/// <summary>
/// Reads the Properties that you saved using the <see cref="CreateElement" />
/// Method.
/// </summary>
/// <param name="elem">The root of the advanced Properties</param>
void ReadElement(XmlElement elem);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?