28 lines
799 B
C#
28 lines
799 B
C#
using KssSmaPlaLib.AutoTest.Command.Alias.Ini;
|
|
using KssSmaPlaLib.AutoTest.Command.Definition;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KssSmaPlaLib.AutoTest.Command.Alias.Loader
|
|
{
|
|
public static class CommandAliasLoaderUxer
|
|
{
|
|
public const string COMMAND_ALIAS_FILE_PATH = ".\\command_alias.ini";
|
|
|
|
public static bool Try(out Dictionary<string,CommandEnumUxer.Command>dic, out string resultMessage)
|
|
{
|
|
resultMessage = string.Empty;
|
|
|
|
if (!IniReaderUxer.Try(COMMAND_ALIAS_FILE_PATH, out dic, out var messageForMe))
|
|
{
|
|
resultMessage = messageForMe;
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
}
|
|
}
|