C# Class common.BL.ConfigController

Exibir arquivo Open project: hddevteam/luckyci Class Usage Examples

Public Methods

Method Description
AcquireSlackPeople ( string nodePath, string xmlPath ) : XmlNodeList

获取人名对应表

ConfigQuery ( string dataPath, string xmlConfigPath ) : ConfigInfo

查询配置信息

FindConfigInfo ( string nodePath, string xmlConfigPath ) : XmlNodeList

查询配置信息

GitInfoQuery ( string dataPath, string xmlConfigPath ) : GitInfo

获取gitlab信息

RestoreDefault ( ) : ConfigInfo

执行恢复默认配置的操作

SaveConfig ( ConfigInfo configInfo, string xmlConfigPath ) : string

执行保存已经修改的ConfigInfo

Method Details

AcquireSlackPeople() public method

获取人名对应表
public AcquireSlackPeople ( string nodePath, string xmlPath ) : XmlNodeList
nodePath string 人名对应表节点路径
xmlPath string 存放对应表的xml文件路径
return System.Xml.XmlNodeList

ConfigQuery() public method

查询配置信息
public ConfigQuery ( string dataPath, string xmlConfigPath ) : ConfigInfo
dataPath string 节点路径
xmlConfigPath string 查询的xml文件路径
return common.DTO.ConfigInfo

FindConfigInfo() public method

查询配置信息
public FindConfigInfo ( string nodePath, string xmlConfigPath ) : XmlNodeList
nodePath string
xmlConfigPath string
return System.Xml.XmlNodeList

GitInfoQuery() public method

获取gitlab信息
public GitInfoQuery ( string dataPath, string xmlConfigPath ) : GitInfo
dataPath string 节点路径
xmlConfigPath string xml路径
return common.DTO.GitInfo

RestoreDefault() public method

执行恢复默认配置的操作
public RestoreDefault ( ) : ConfigInfo
return common.DTO.ConfigInfo

SaveConfig() public method

执行保存已经修改的ConfigInfo
public SaveConfig ( ConfigInfo configInfo, string xmlConfigPath ) : string
configInfo common.DTO.ConfigInfo 传入configInfo实例对象
xmlConfigPath string 修改的xml文件
return string