Пример #1
0
 internal SoundCloudRawClient(SCCredentials credentials, IUriBuilderFactory uriBuilderFactory, IWebGateway webGateway, ISerializer serializer)
 {
     Credentials            = credentials;
     this.uriBuilderFactory = uriBuilderFactory;
     this.webGateway        = webGateway;
     this.serializer        = serializer;
 }
        public override void SetUp()
        {
            base.SetUp();

            scCredentials = new SCCredentials
            {
                ClientId = clientId,
                ClientSecret = clientSecret
            };

            uriBuilderFactory = NewMock<IUriBuilderFactory>();
            webGateway = NewMock<IWebGateway>();
            serializer = NewMock<ISerializer>();
        }
Пример #3
0
        public override void SetUp()
        {
            base.SetUp();

            scCredentials = new SCCredentials
            {
                ClientId     = clientId,
                ClientSecret = clientSecret
            };

            uriBuilderFactory = NewMock <IUriBuilderFactory>();
            webGateway        = NewMock <IWebGateway>();
            serializer        = NewMock <ISerializer>();
        }
 internal SoundCloudRawClientFactory(IUriBuilderFactory uriBuilderFactory, IWebGateway webGateway, ISerializer serializer)
 {
     this.uriBuilderFactory = uriBuilderFactory;
     this.webGateway = webGateway;
     this.serializer = serializer;
 }
Пример #5
0
 public GamePictureFetcher(IConfigurationProvider configurationProvider, IWebGateway webGateway)
 {
     this.configurationProvider = configurationProvider;
     this.webGateway            = webGateway;
 }
 public OnlineGameFetcher(IConfigurationProvider configurationProvider,
                          IWebGateway webGateway)
 {
     this.configurationProvider = configurationProvider;
     this.webGateway            = webGateway;
 }
Пример #7
0
 public PictureCacheChecker(IConfigurationProvider configurationProvider,
                            IWebGateway webGateway)
 {
     this.configurationProvider = configurationProvider;
     this.webGateway            = webGateway;
 }
Пример #8
0
 internal SoundCloudRawClientFactory(IUriBuilderFactory uriBuilderFactory, IWebGateway webGateway, ISerializer serializer)
 {
     this.uriBuilderFactory = uriBuilderFactory;
     this.webGateway        = webGateway;
     this.serializer        = serializer;
 }
 public PlayerCountFetcher(IConfigurationProvider configurationProvider,
                           IWebGateway webGateway)
 {
     this.configurationProvider = configurationProvider;
     this.webGateway            = webGateway;
 }
Пример #10
0
 public AvailableGamesCacheChecker(IConfigurationProvider configurationProvider, IWebGateway webGateway)
 {
     this.configurationProvider = configurationProvider;
     this.webGateway            = webGateway;
 }