C# Class common.BL.ConfigController

Afficher le fichier Open project: hddevteam/luckyci Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ConfigQuery() public méthode

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

FindConfigInfo() public méthode

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

GitInfoQuery() public méthode

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

RestoreDefault() public méthode

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

SaveConfig() public méthode

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