public GodModeApiController(IUmbracoDataService dataService, IUmbracoDatabaseService dataBaseService, IDiagnosticService diagnosticService, AppCaches caches) { this.dataService = dataService; this.dataBaseService = dataBaseService; this.diagnosticService = diagnosticService; this.caches = caches; }
public DiagnosticService(IUmbracoDatabaseService databaseService, IMediaFileSystem mediaFileSystem, IRuntimeState runtimeState, HttpContextBase httpContext = null) { this.databaseService = databaseService ?? throw new ArgumentNullException("The database service that was passed to the Diagnostic Service was null"); this.httpContext = httpContext; this.mediaFileSystem = mediaFileSystem; this.runtimeState = runtimeState; }