// Injecting a facade with IDisposable 
 public StudyController(MainHandler facade)
 {
     //_facade = facade;
     //var handler = new MainHandler();
     //handler.ExtractBibtexTags("").Item2.IfNotNull();
     throw new NotImplementedException();
 }
 // Injecting a facade with IDisposable 
 public TeamController(MainHandler facade)
 {
     _facade = facade;
 }
 // Injecting a facade with IDisposable 
 public UserController(MainHandler facade)
 {
     _facade = facade;
 }
示例#4
0
 private static void Main(string[] args)
 {
     AutoMapperConfigurator.Configure(); //Initialize AutoMapper
     var mainHandler = new MainHandler();
 }