namespace AsterNET.Manager.Action
{
///
///
/// The ModuleLoadAction loads/unloads Asterisk modules.
///
public class ModuleLoadAction : ManagerAction
{
///
/// Creates ModuleLoadAction for given module.
///
//// module to load/unload.
//// loadType parameter can have the following values: load/unload
public ModuleLoadAction(string module, string loadType)
{
Module = module;
LoadType = loadType;
}
///
public override string Action => "ModuleLoad";
///
/// Get the name of the module.
///
public string Module { get; }
///
/// Get the type of action (load/unload).
///
public string LoadType { get; }
}
}