public MilkClient(MilkContext context) { Context = context; test = new Lazy <MilkTest>(() => new MilkTest(context)); auth = new Lazy <MilkAuth>(() => new MilkAuth(context)); lists = new Lazy <MilkLists>(() => new MilkLists(context)); tasks = new Lazy <MilkTasks>(() => new MilkTasks(context)); }
public MilkTasks(MilkContext context) : this(new MilkRawClient(context)) { this.context = context; }
public MilkRawClient(MilkContext context) : this(context, new MilkSignatureGenerator(context), new MilkHttpClient()) { }
internal MilkRawClient(MilkContext context, IMilkSignatureGenerator signatureGenerator, IMilkHttpClient httpClient) { this.context = context; this.signatureGenerator = signatureGenerator; this.httpClient = httpClient; }
public MilkSignatureGenerator(MilkContext context) { this.context = context; }
public MilkTest(MilkContext context) : this(new MilkRawClient(context)) { }
public MilkAuth(MilkContext context) : this(context, new MilkSignatureGenerator(context)) { }
internal MilkAuth(MilkContext context, IMilkSignatureGenerator signatureGenerator) : this(new MilkRawClient(context)) { this.context = context; this.signatureGenerator = signatureGenerator; }