Esempio n. 1
0
        // These are currently not used. Unsure if we should keep them.

        public static FactFamilyProviderCollectionBuilder AddEnvironmentDashboard(this Composition composition, IEnvironmentDetector environmentDetector)
        {
            composition.RegisterUnique <IEnvironmentDetector>(environmentDetector);
            composition.Components().Append <BackofficeBrowserTitleComponent>();

            return(composition.WithCollectionBuilder <FactFamilyProviderCollectionBuilder>());
        }
 public EnvironmentDashboardController(IEnvironmentDetector environmentDetector, FactFamilyProviderCollection factfamilyProviderCollection)
 {
     _factfamilyProviderCollection = factfamilyProviderCollection;
     _environmentDetector          = environmentDetector;
 }
Esempio n. 3
0
 public BackofficeBrowserTitleComponent(IEnvironmentDetector environmentDetector)
 {
     _environmentDetector = environmentDetector;
 }