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 ...@@ -187,8 +187,8 @@ namespace ATxService
/// </summary> /// </summary>
private void LoadSettings() { private void LoadSettings() {
try { try {
LoadConfigXml(); LoadConfig();
LoadStatusXml(); LoadStatus();
} }
catch (Exception ex) { catch (Exception ex) {
Log.Error("LoadSettings() failed: {0}\n{1}", ex.Message, ex.StackTrace); Log.Error("LoadSettings() failed: {0}\n{1}", ex.Message, ex.StackTrace);
...@@ -200,9 +200,9 @@ namespace ATxService ...@@ -200,9 +200,9 @@ namespace ATxService
} }
/// <summary> /// <summary>
/// Load the configuration xml file. /// Load the configuration.
/// </summary> /// </summary>
private void LoadConfigXml() { private void LoadConfig() {
var confPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, var confPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"configuration.xml"); "configuration.xml");
try { try {
...@@ -222,9 +222,9 @@ namespace ATxService ...@@ -222,9 +222,9 @@ namespace ATxService
} }
/// <summary> /// <summary>
/// Load the status xml file. /// Load the status.
/// </summary> /// </summary>
private void LoadStatusXml() { private void LoadStatus() {
var statusPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, var statusPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
"status.xml"); "status.xml");
try { 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