/// <summary> /// Initialises a new instance of the <see cref="BrowserBasedDashboardSections"/> class. /// </summary> public BrowserBasedDashboardSections(IClientApplication clientApplication) { BrowsersSupportedSection = new BrowserBasedDashboardSection(clientApplication.IsBrowserSupportedComplete(), true); BrowserMobileFirstSection = new BrowserBasedDashboardSection(clientApplication.IsMobileFirstComplete(), true); PluginsOrExtensionsSection = new BrowserBasedDashboardSection(clientApplication.IsPluginsComplete(), true); ConnectivityAndResolutionSection = new BrowserBasedDashboardSection(clientApplication.IsConnectivityAndResolutionComplete(), true); HardwareRequirementsSection = new BrowserBasedDashboardSection(clientApplication.IsHardwareRequirementComplete(), false); BrowserAdditionalInformationSection = new BrowserBasedDashboardSection(clientApplication.IsAdditionalInformationComplete(), false); }
public static bool IsBrowserBasedComplete(this IClientApplication clientApplication) => clientApplication.IsBrowserSupportedComplete() && clientApplication.IsBrowserMobileFirstComplete() && clientApplication.IsPluginsComplete() && clientApplication.IsConnectivityAndResolutionComplete();