예제 #1
0
        public void Autofac_AppInfra_DisplayMessage()
        {
            AppInfra appInfra = new AppInfra()
            {
                Id    = 1,
                Name  = "MyTask",
                Usage = "Management service for my task."
            };
            var container = AutofactBuildContainer.BuildContainer();
            var myappRepo = container.Resolve <IAppInfra>();

            myappRepo.Print(appInfra);
        }
예제 #2
0
 public void NotifyAppInfraCanged(AppInfra appInfra)
 {
     // Call Log file in HP_Logging? what do u think?
     System.Console.WriteLine($"appInfra Id : {appInfra.Id} ");
 }