static async Task <int> Main(string[] args) { StadSettings.Initialize(); Console.WriteLine("Hello World!"); CommonDataSet commonDataSet = new CommonDataSet() { SampleSingleModel = new SampleSingleModel() { IntField = 1, IntProperty = 2 }, SampleKeyValueModel = new StadKeyValueCollection <SampleKeyValueModel>( new Dictionary <ModelKey, SampleKeyValueModel>() { { new ModelKey(1), new SampleKeyValueModel() { StringValue = "1" } }, { new ModelKey(2), new SampleKeyValueModel() { StringValue = "2" } }, { new ModelKey(3), new SampleKeyValueModel() { StringValue = "3" } } }) }; string dic = Utf8Json.JsonSerializer.ToJsonString(new Dictionary <int, string>() { { 1, "333" }, { 2, "32423" } }); // load test commonDataSet = await StadSerializer.LoadDataAsync <CommonDataSet>(DataSetFactory.LocalFile("Common/")); Console.WriteLine($"SampleSingleModel : {commonDataSet.SampleSingleModel}"); Console.WriteLine($"SampleKeyValueModel : {commonDataSet.SampleKeyValueModel}"); // Source 분석은 일단 보류.. //Console.WriteLine("Assembly analysis - by source analyze"); //var registryFromSource = await StadAnalyzer.MakeRegistryFromSource("../../"); //Console.WriteLine(registryFromSource); Console.WriteLine("Assembly analysis - by assembly analyze"); string executingDir = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); var registry = await StadAnalyzer.MakeRegistry(new LocalFileAssemblySource(executingDir)); Console.WriteLine(registry); return(0); }