コード例 #1
0
        public void Initialize()
        {
            context = new TestingDBContext();

            //Init access
            accessService = new AccessService();

            //Init Twitch API
            api = new TwitchAPI();
            api.Settings.ClientId    = accessService.GetTwitchClientID();
            api.Settings.AccessToken = accessService.GetTwitchAccessToken();

            userService = new UserService(context.Db, api);
        }
コード例 #2
0
 public void Initialize()
 {
     context = new TestingDBContext();
 }