using System; using System.Collections.Generic; using System.Text; using Asterisk.NET.Manager.Response; namespace Asterisk.NET.Manager.Action { /// /// The GetConfigAction sends a GetConfig command to the asterisk server. /// public class GetConfigAction : ManagerActionResponse { private string filename; /// /// Creates a new GetConfigAction. /// public GetConfigAction() { } /// /// Get the name of this action. /// public override string Action { get { return "GetConfig"; } } /// /// Get the name of this action. /// /// the configuration filename. /// public GetConfigAction(string filename) { this.filename = filename; } /// /// Get/Set the configuration filename. /// public string Filename { get { return this.filename; } set { this.filename = value; } } public override object ActionCompleteResponseClass() { return new GetConfigResponse(); } } }