public PageDefinitionSpecificPropertySettingsUpdater( IPropertySettingsRepository propertySettingsRepository, IGlobalPropertySettingsLocator globalPropertySettingsLocator, IPageDefinitionRepository pageDefinitionRepository) { this.propertySettingsRepository = propertySettingsRepository; this.globalPropertySettingsLocator = globalPropertySettingsLocator; this.pageDefinitionRepository = pageDefinitionRepository; }
public PageTypePropertyUpdater( IPageDefinitionFactory pageDefinitionFactory, IPageDefinitionTypeFactory pageDefinitionTypeFactory, ITabFactory tabFactory, IPropertySettingsRepository propertySettingsRepository) { PageDefinitionFactory = pageDefinitionFactory; PageDefinitionTypeFactory = pageDefinitionTypeFactory; PageTypePropertyDefinitionLocator = new PageTypePropertyDefinitionLocator(); PageDefinitionTypeMapper = new PageDefinitionTypeMapper(PageDefinitionTypeFactory); _tabFactory = tabFactory; _propertySettingsRepository = propertySettingsRepository; }
public PageTypePropertyUpdater( IPageDefinitionFactory pageDefinitionFactory, IPageDefinitionTypeFactory pageDefinitionTypeFactory, ITabFactory tabFactory, IPropertySettingsRepository propertySettingsRepository) { PageDefinitionFactory = pageDefinitionFactory; PageDefinitionTypeFactory = pageDefinitionTypeFactory; PageTypePropertyDefinitionLocator = new PageTypePropertyDefinitionLocator(); PageDefinitionTypeMapper = new PageDefinitionTypeMapper(PageDefinitionTypeFactory); _tabFactory = tabFactory; _propertySettingsRepository = propertySettingsRepository; }
public GlobalPropertySettingsSynchronizer(IPropertySettingsRepository propertySettingsRepository, IGlobalPropertySettingsLocator globalPropertySettingsLocator) { this.propertySettingsRepository = propertySettingsRepository; this.globalPropertySettingsLocator = globalPropertySettingsLocator; }
public static IEnumerable <PropertySettingsWrapper> GetGlobalWrappers <TSettings>(this IPropertySettingsRepository repository, string displayName) { return (repository.GetGlobals(typeof(TSettings)).Where( w => w.DisplayName.Equals(displayName))); }