Exemplo n.º 1
0
 protected UiServiceBase(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory,
                         SynchronizationContext synchronizationContext = null)
 {
     TokenStore             = tokenStore;
     SynchronizationContext = synchronizationContext;
     RestClient             = new RestClient(restServiceUriFactory.Get());
 }
Exemplo n.º 2
0
        public TeamTimeWarp_VsPackagePackage()
        {
            _restServiceUriFactory = new RestServiceUriFactory();

            _tokenStore            = new TokenStore();
            _tokenPersister        = new TokenPersister();
            _authenticationService = new AuthenticationService(_tokenStore, _restServiceUriFactory, _tokenPersister, new SynchronizationContext());
            _userStateService      = new UserStateService(_tokenStore, _restServiceUriFactory,
                                                          new AgentTypeProvider(TimeWarpAgent.VisualStudio));
        }
Exemplo n.º 3
0
 public UiAuthenticationService(IRestServiceUriFactory restServiceUriFactory)
 {
     _restServiceUriFactory = restServiceUriFactory;
 }
Exemplo n.º 4
0
 public UserMessageService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory,
                           SynchronizationContext synchronizationContext = null)
     : base(tokenStore, restServiceUriFactory, synchronizationContext)
 {
 }
Exemplo n.º 5
0
 public RoomService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory) : base(tokenStore, restServiceUriFactory)
 {
 }
Exemplo n.º 6
0
 public TimeWarpService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory)
     : base(tokenStore, restServiceUriFactory)
 {
 }
Exemplo n.º 7
0
 public AuthenticationService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory)
     : base(tokenStore, restServiceUriFactory)
 {
 }
Exemplo n.º 8
0
 public GlobalRoomsService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory, SynchronizationContext synchronizationContext) : base(tokenStore, restServiceUriFactory, synchronizationContext)
 {
 }
 public AuthenticationService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory, ITokenPersister tokenPersister, SynchronizationContext synchronizationContext)
     : base(tokenStore, restServiceUriFactory, synchronizationContext)
 {
     _tokenPersister = tokenPersister;
 }
Exemplo n.º 10
0
 public UserStateService(TokenStore tokenStore, IRestServiceUriFactory restServiceUriFactory, IAgentTypeProvider agentTypeProvider)
     : base(tokenStore, restServiceUriFactory)
 {
     _agentTypeProvider = agentTypeProvider;
 }