Merge pull request #131 from Deantwo/patch-2
Clarified Variable Obsolete Messages
This commit is contained in:
commit
26c41504ad
2 changed files with 10 additions and 10 deletions
|
@ -159,7 +159,7 @@ namespace AsterNET.Manager.Action
|
||||||
/// Example: "VAR1=abc|VAR2=def" sets the channel variables VAR1 to "abc" and VAR2 to "def".
|
/// Example: "VAR1=abc|VAR2=def" sets the channel variables VAR1 to "abc" and VAR2 to "def".
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
[Obsolete("Don't use this anymore - the delimiter is not server context aware", true)]
|
[Obsolete("Use GetVariables and SetVariables instead.", true)]
|
||||||
public string Variable
|
public string Variable
|
||||||
{
|
{
|
||||||
get { return null; /* return Helper.JoinVariables(variables, Common.GET_VAR_DELIMITER(this.Server), "="); */ }
|
get { return null; /* return Helper.JoinVariables(variables, Common.GET_VAR_DELIMITER(this.Server), "="); */ }
|
||||||
|
|
|
@ -18,26 +18,26 @@ namespace AsterNET.Manager.Event
|
||||||
/// Get/Set the variables to set on the queue call in native asterisk format.<br/>
|
/// Get/Set the variables to set on the queue call in native asterisk format.<br/>
|
||||||
/// Example: "VAR1=abc|VAR2=def".
|
/// Example: "VAR1=abc|VAR2=def".
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("Don't use this anymore - the delimiter is not server context aware", true)]
|
[Obsolete("Use GetVariables and SetVariables instead.", true)]
|
||||||
public string Variable
|
public string Variable
|
||||||
{
|
{
|
||||||
get { return null; /* return Helper.JoinVariables(variables, Common.GET_VAR_DELIMITER(this.Server), "="); */ }
|
get { return null; /* return Helper.JoinVariables(variables, Common.GET_VAR_DELIMITER(this.Server), "="); */ }
|
||||||
set { /* variables = Helper.ParseVariables(variables, value, Common.GET_VAR_DELIMITER(this.Server)); */ }
|
set { /* variables = Helper.ParseVariables(variables, value, Common.GET_VAR_DELIMITER(this.Server)); */ }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region GetVariables()
|
#region GetVariables()
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the variables dictionary to set on the originated call.
|
/// Get the variables dictionary to set on the originated call.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Dictionary<string, string> GetVariables()
|
public Dictionary<string, string> GetVariables()
|
||||||
{
|
{
|
||||||
return variables;
|
return variables;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region SetVariables(Dictionary<string, string> vars)
|
#region SetVariables(Dictionary<string, string> vars)
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the variables dictionary to set on the originated call.
|
/// Set the variables dictionary to set on the originated call.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SetVariables(Dictionary<string, string> vars)
|
public void SetVariables(Dictionary<string, string> vars)
|
||||||
|
|
Loading…
Reference in a new issue