asternet/Asterisk.2013/Asterisk.NET/Manager/Event/VarSet.cs

61 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Asterisk.NET.Manager.Event
{
public class VarSetEvent : ManagerEvent
{
private string variable_name;
private string variable_value;
private string file;
private string func;
private int line;
private int sequencenumber;
public VarSetEvent(ManagerConnection source)
: base(source)
{
}
public string File
{
get { return file; }
set { file = value; }
}
public string Func
{
get { return func; }
set { func = value; }
}
public int Line
{
get { return line; }
set { line = value; }
}
public int SequenceNumber
{
get { return sequencenumber; }
set { sequencenumber = value; }
}
/// <summary>
/// Get/Set the name of variable.
/// </summary>
public string Variable
{
get { return variable_name; }
set { variable_name = value; }
}
/// <summary>
/// Get/Set value of variable.
/// </summary>
public string Value
{
get { return variable_value; }
set { variable_value = value; }
}
}
}