Skip to content
Snippets Groups Projects
Commit edc66702 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Rename methods loading config and status.

Refers to #18
parent 248d277f
No related branches found
No related tags found
No related merge requests found
......@@ -187,8 +187,8 @@ namespace ATxService
/// </summary>
private void LoadSettings() {
try {
LoadConfigXml();
LoadStatusXml();
LoadConfig();
LoadStatus();
}
catch (Exception ex) {
Log.Error("LoadSettings() failed: {0}\n{1}", ex.Message, ex.StackTrace);
......@@ -200,9 +200,9 @@ namespace ATxService
}
/// <summary>
/// Load the configuration xml file.
/// Load the configuration.
/// </summary>
private void LoadConfigXml() {
private void LoadConfig() {
var confPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"configuration.xml");
try {
......@@ -222,9 +222,9 @@ namespace ATxService
}
/// <summary>
/// Load the status xml file.
/// Load the status.
/// </summary>
private void LoadStatusXml() {
private void LoadStatus() {
var statusPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"status.xml");
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment