/// <summary></summary> /// <param name="args"></param> public static void Main(string[] args) { // configの初期化(無くても動くようにせねば。) #if NETCORE GetConfigParameter.InitConfiguration("appsettings.json"); #endif try { MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); TestEnumToStringExtensions.Root(); MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); TestXmlLib.Root(); MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); TestDeflateCompression.Root(); MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); // echoすると例外 try { Console.ReadKey(); } catch { } } catch (Exception ex) { MyDebug.OutputDebugAndConsole(ex.ToString()); } }
/// <summary>Root</summary> public static void Root() { TestEnumToStringExtensions.BasicEnumTest(); MyDebug.OutputDebugAndConsole("--------------------------------------------------"); TestEnumToStringExtensions.BaseIsNotZeroEnumTest(); MyDebug.OutputDebugAndConsole("--------------------------------------------------"); //TestEnumToStringExtensions.EmptyValueTest(); //MyDebug.OutputDebugAndConsole("--------------------------------------------------"); TestEnumToStringExtensions.ByteEnumTest(); MyDebug.OutputDebugAndConsole("--------------------------------------------------"); TestEnumToStringExtensions.FlagEnumTest(); }