public Handler(IMemoryCache memoryCache, IIntentManager intentManager, ILabelDao labelDao) { mLogger = LogManager.GetCurrentClassLogger(); this.mMemoryCache = memoryCache; this.mIntentManager = intentManager; this.mLabelDao = labelDao; }
public static void MyClassInitialize(TestContext testContext) { kernel = TestManager.ConfigureNInjectKernel(); eventDao = kernel.Get <IEventDao>(); categoryDao = kernel.Get <ICategoryDao>(); commentDao = kernel.Get <ICommentDao>(); userProfileDao = kernel.Get <IUserProfileDao>(); labelDao = kernel.Get <ILabelDao>(); eventService = kernel.Get <IEventService>(); }
public static void MyClassInitialize(TestContext testContext) { container = TestManager.ConfigureUnityContainer("unity"); userService = container.Resolve<IUserService>(); commentService = container.Resolve<ICommentService>(); commentDao = container.Resolve<ICommentDao>(); labelDao = container.Resolve<ILabelDao>(); string[] tmp = new string[] { "Opinión Personal", "CARACTERíSTiCAS TéCNiCAS", "Tecnología" }; for (int cnt = 0; cnt < tmp.Length; cnt++) { labels.Add(tmp[cnt]); } }
public static void MyClassInitialize(TestContext testContext) { kernel = TestManager.ConfigureNInjectKernel(); labelDao = kernel.Get <ILabelDao>(); }