public HttpRequestFactory(IJsonHelpers jsonHelpers, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(jsonHelpers, nameof(jsonHelpers)); Ensure.Argument.IsNotNull(tentConstants, nameof(tentConstants)); this.jsonHelpers = jsonHelpers; this.tentConstants = tentConstants; }
public CryptoHelpers(IUriHelpers uriHelpers, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(uriHelpers, "uriHelpers"); Ensure.Argument.IsNotNull(tentConstants, "tentConstants"); this.tentConstants = tentConstants; this.uriHelpers = uriHelpers; }
public ProfileController( IUserLogic userLogic, //IPostLogic postLogic, IUriHelpers uriHelpers, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(userLogic, nameof(userLogic)); //Ensure.Argument.IsNotNull(postLogic, nameof(postLogic)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); Ensure.Argument.IsNotNull(tentConstants, nameof(tentConstants)); this.userLogic = userLogic; //this.postLogic = postLogic; this.uriHelpers = uriHelpers; this.tentConstants = tentConstants; }
public TentClientFactory( IHttpRequestFactory httpRequestFactory, IHttpClientFactory httpClientFactory, IQueryStringHelpers queryStringHelpers, IBewitLogic bewitLogic, IUriHelpers uriHelpers, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(httpRequestFactory, nameof(httpRequestFactory)); Ensure.Argument.IsNotNull(httpClientFactory, nameof(httpClientFactory)); Ensure.Argument.IsNotNull(queryStringHelpers, nameof(queryStringHelpers)); Ensure.Argument.IsNotNull(bewitLogic, nameof(bewitLogic)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); Ensure.Argument.IsNotNull(tentConstants, nameof(tentConstants)); this.httpRequestFactory = httpRequestFactory; this.httpClientFactory = httpClientFactory; this.queryStringHelpers = queryStringHelpers; this.bewitLogic = bewitLogic; this.uriHelpers = uriHelpers; this.tentConstants = tentConstants; }
public FollowLogic(IPostLogic postLogic, ITentPostFactory postFactory, ITentPostTypeFactory postTypeFactory, ITentRequestPostFactory requestPostFactory, ITentClientFactory tentClientFactory, ITentHawkSignatureFactory hawkSignatureFactory, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(postLogic, nameof(postLogic)); Ensure.Argument.IsNotNull(postFactory, nameof(postFactory)); Ensure.Argument.IsNotNull(postTypeFactory, nameof(postTypeFactory)); Ensure.Argument.IsNotNull(requestPostFactory, nameof(requestPostFactory)); Ensure.Argument.IsNotNull(tentClientFactory, nameof(tentClientFactory)); Ensure.Argument.IsNotNull(hawkSignatureFactory, nameof(hawkSignatureFactory)); Ensure.Argument.IsNotNull(tentConstants, nameof(tentConstants)); this.postLogic = postLogic; this.postFactory = postFactory; this.postTypeFactory = postTypeFactory; this.requestPostFactory = requestPostFactory; this.tentClientFactory = tentClientFactory; this.hawkSignatureFactory = hawkSignatureFactory; this.tentConstants = tentConstants; }