예제 #1
0
 public Controller()
 {
     try
     {
         jsonHelper  = new JsonHelper();
         resources   = new CommonResources(jsonHelper);
         searchModel = new SearchModel(jsonHelper, resources);
         watchModel  = new WatchModel(jsonHelper, resources);
         gemModel    = new GemsModel(jsonHelper);
     }
     catch (AggregateException e)
     {
         throw e;
     }
 }
예제 #2
0
 public WatchModel(JsonHelper jsonHelper, CommonResources resources)
 {
     this.jsonHelper = jsonHelper;
     this.resources  = resources;
 }