⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 versionfield.cs

📁 pureIRCd是一个用c语音写的irc(RFC459)服务,可以给您带来很多的方便
💻 CS
字号:
using SDP;

/// <summary>
/// A Version field represents the v= fields contained within the SessionDescription.
/// </summary>
public class VersionField : Field
{

    private int version;
    /// <summary>
    /// Gets the version number.
    /// </summary>
    public int Version
    {
        get { return this.version; }
    }

    /// <summary>
    /// Creates a new VersionField.
    /// </summary>
    /// <param name="value">The value portion of the field.</param>
    public VersionField(string value)
        : base("v=" + value)
    {
        this.version = int.Parse(base.Value);
    }

    /// <summary>
    /// Creates a new VersionField.
    /// </summary>
    /// <param name="version">The version number.</param>
    public VersionField(int version) : this(version.ToString()) { }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -