///*************************************************************************/
///*
///* 文件名 :IButtonList.cs
///* 程序说明 : 按钮列表接口
///* 原创作者 :孙中吕
///*
///* Copyright 2006-2021 C/S框架网 www.csframework.com
///*
///**************************************************************************/
using System.Collections;
namespace CSFrameworkV5.Core
{
///
/// 按钮列表接口
///
public interface IButtonList
{
///
/// 添加一个按钮
///
///
void AddButton(IButtonInfo button);
///
/// 添加一组按钮
///
/// 按钮对象数组
void AddRange(IButtonInfo[] buttons);
///
/// 添加一组按钮
///
/// 按钮对象集合
void AddRange(IList buttons);
///
/// 跟据名称获取某个按钮
///
/// 按钮名称
///
IButtonInfo GetButtonByName(string name);
///
/// 转换为按钮数组
///
///
IButtonInfo[] ToArray();
///
/// 转换为按钮对象集合
///
///
IList ToList();
///
/// 删除按钮
///
///
void RemoveButton(string buttonName);
///
/// 删除按钮
///
///
void RemoveButton(IButtonInfo button);
}
}