?? versionfield.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()) { }
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -