Beispiel #1
0
        public FfClient(FfConfig config)
        {
            if (config == null)
            {
                throw new ArgumentNullException(nameof(config));
            }

            this.config = config;
            this.rng    = RNGCryptoServiceProvider.Create();

            this.config.Validate();
        }
Beispiel #2
0
 public FfHttpRequestHandler(FfConfig config, HttpResponseMessage mockResponse = null)
 {
     this.ffClient     = new FfClient(config);
     this.mockResponse = mockResponse ?? new HttpResponseMessage();
 }