메소드 | 설명 | |
---|---|---|
Main ( string args ) : void |
Main function of the utility
|
|
UpdateConstants ( string>.Dictionary |
Method to update the values from Excel into constants file
|
|
UpdateManifest ( string inputXMLFile, string>.Dictionary |
Method to update the manifest file
|
|
UpdateResource ( string>.Dictionary |
Method to update the resource files
|
|
UpdateSearchConfig ( string filePath, string login, string password ) : void |
Update Search Configuration file and set new Search Term for restricting search scope
|
|
UpdateWebConfig ( string>.Dictionary |
Update the web.config file and ApplicationInsights.config
|
|
UpdateXML ( string>.Dictionary |
Method to update the XML files in the solution
|
메소드 | 설명 | |
---|---|---|
AddToList ( ) : List |
Static list to add elements
|
|
CheckValueAndReplace ( string>.Dictionary |
String method to check value and replace
|
|
GetResultSource ( string resultSourceName, System.Xml.Linq.XDocument xmlDoc, System.Xml.Linq.XElement &element ) : void |
Get result source from Search Configuration
|
|
GetResultSourceId ( string login, string password ) : string |
Returns result source id for Matter Center result source
|
|
GetSearchTerm ( |
Generates search term to be used in result source
|
|
UpdateList ( string>.Dictionary |
Method to update the list
|
|
UpdateResourceConstants ( string>.Dictionary |
Method to update the resource constants
|
|
UpdateResourceFiles ( string args, string username, string password, string filePath ) : void |
Created method to refractor Main method
|
public static Main ( string args ) : void | ||
args | string | args[0] = Operation to be performed, 1: updating schema files, 2: updating constant files, 3: updating Search Configuration XML |
리턴 | void |
public static UpdateConstants ( string>.Dictionary |
||
updateList | string>.Dictionary | List of values to be updated |
folderName | string | Folder name in the solution directory |
리턴 | bool |
public static UpdateManifest ( string inputXMLFile, string>.Dictionary |
||
inputXMLFile | string | XML file to be uploaded |
excelInput | string>.Dictionary | List of values to be updated |
sourceLocation | string | Key of Source Location |
defaultValue | string | Key of Default Value |
startPageElement | string | Key of Start Page Element |
flag | bool | is XML update of constants update |
리턴 |
public static UpdateResource ( string>.Dictionary |
||
updateList | string>.Dictionary | List of values to be updated |
folderName | string | Folder name in the solution directory |
리턴 | void |
public static UpdateSearchConfig ( string filePath, string login, string password ) : void | ||
filePath | string | path of the configuration Excel |
login | string | Login detail |
password | string | Password |
리턴 | void |
public static UpdateWebConfig ( string>.Dictionary |
||
configUpdateList | string>.Dictionary | Excel inputs |
deployConfigName | string | Name of configuration file to update |
folderName | string | Name of folder (UI or Service) |
리턴 | void |
public static UpdateXML ( string>.Dictionary |
||
excelInput | string>.Dictionary | List of values to be updated |
리턴 | bool |