private TestingApplication CreateTestingApplicationForBindPreview( string applicationName, string resultType, bool?completed = null, bool?desktopClient = null, bool?foundInSpam = null, bool?supportsContentBlocking = null, bool?businessOrPopular = null) { var spamHeader = new SpamHeader() { Key = "spamHeaderKey", Description = "spamHeaderDesc" }; var spamHeaderList = new List <SpamHeader>() { spamHeader }; var testingApp = new TestingApplication(); testingApp.ResultType = resultType; testingApp.ApplicationLongName = BindPreviewAppLongName; testingApp.ApplicationName = applicationName; testingApp.Completed = completed; testingApp.DesktopClient = desktopClient; testingApp.FoundInSpam = foundInSpam; testingApp.SupportsContentBlocking = supportsContentBlocking; testingApp.BusinessOrPopular = businessOrPopular; testingApp.SpamHeaders = spamHeaderList; return(testingApp); }
protected TestingServiceWorker(IConfiguration configuration, OvertestDatabaseContext databaseContext, TestingApplication testingApplication) { Configuration = configuration; DatabaseContext = databaseContext; TestingApplication = testingApplication; }
public ApplicationTestingWorker(IConfiguration configuration, OvertestDatabaseContext databaseContext, TestingApplication testingApplication) : base(configuration, databaseContext, testingApplication) { }