예제 #1
0
        static void Main(string[] args)
        {
            xService       = InstanceFactory.GetInstance <IXService>();
            genericService = InstanceFactory.GetInstance <IGenericService <string> >();

            xService.Method1();
            genericService.GenericMethod("metin");

            Console.ReadKey();
        }
예제 #2
0
 // GET: Home
 public ActionResult Index()
 {
     _xService.Method1();
     _genericService.GenericMethod("123");
     return(View());
 }