public ApiCaller(IHosterApiCaller apiCaller, IContext context) { if (apiCaller == null) { throw new InvalidOperationException("apiCaller is null"); } if (context == null) { throw new InvalidOperationException("context is null"); } this.apiCaller = apiCaller; this.context = context; }
public LoggingHosterApiCaller(IHosterApiCaller caller, ILogger logger) { this.caller = caller; this.logger = logger; }
public IgnoringHosterApiCaller(IHosterApiCaller caller) { this.caller = caller; }