internal SoundCloudRawClient(SCCredentials credentials, IUriBuilderFactory uriBuilderFactory, IWebGateway webGateway, ISerializer serializer) { Credentials = credentials; this.uriBuilderFactory = uriBuilderFactory; this.webGateway = webGateway; this.serializer = serializer; }
public static IUriBuilder Create(this IUriBuilderFactory uriBuilderFactory, Uri uri) { if (uriBuilderFactory == null) { throw new ArgumentNullException(nameof(uriBuilderFactory)); } return(uriBuilderFactory.Create((UriWrapper)uri)); }
public override void SetUp() { base.SetUp(); scCredentials = new SCCredentials { ClientId = clientId, ClientSecret = clientSecret }; uriBuilderFactory = NewMock<IUriBuilderFactory>(); webGateway = NewMock<IWebGateway>(); serializer = NewMock<ISerializer>(); }
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; }
internal SoundCloudRawClientFactory(IUriBuilderFactory uriBuilderFactory, IWebGateway webGateway, ISerializer serializer) { this.uriBuilderFactory = uriBuilderFactory; this.webGateway = webGateway; this.serializer = serializer; }