public RouteRepository(IReflectionContentManager contentManager, IDocumentSession documentSession, [ImportMany] IEnumerable <Lazy <IContentPublicationStateManager, IPrioritisedMefMetaData> > contentPublicationStateManagers, [ImportMany] IEnumerable <Lazy <IContentPublicationDateTimeManager, IPrioritisedMefMetaData> > contentPublicationDateTimeManagers) : this(contentManager, documentSession, contentPublicationStateManagers.OrderByDescending(x => x.Metadata.Priority).First().Value, contentPublicationDateTimeManagers.OrderByDescending(x => x.Metadata.Priority).First().Value) { }
//TODO: Faire en sorte que s'il n'y a pas de ImportingConstructor on prend le eager constructor - voir comme pour le controllers public RouteRepository(IReflectionContentManager contentManager, IDocumentSession documentSession, IContentPublicationStateManager contentPublicationStateManager, IContentPublicationDateTimeManager contentPublicationDateTimeManager) { _reflectionContentManager = contentManager; _documentSession = documentSession; _contentPublicationStateManager = contentPublicationStateManager; _contentPublicationDateTimeManager = contentPublicationDateTimeManager; }
public DefaultPropertyEditorsController(IReflectionContentManager reflectionContentManager, IPropertyEditorRepository propertyEditorRepository) { _reflectionContentManager = reflectionContentManager; _propertyEditorRepository = propertyEditorRepository; }
public ContentController(IReflectionContentManager moduleManager, ICultureManager cultureManager) { _reflectionContentManager = moduleManager; _cultureManager = cultureManager; }
public ContentTypeController(IReflectionContentManager moduleManager) { _reflectionContentManager = moduleManager; }
public ContentTypePropertyController(IReflectionContentManager moduleManager, IPropertyEditorRepository propertyEditorRepository) { _reflectionContentManager = moduleManager; _propertyEditorRepository = propertyEditorRepository; }
public ContentModelValidatorRepository(IReflectionContentManager contentManager, IDocumentSession documentSession) { _contentManager = contentManager; _documentSession = documentSession; }
public ModuleManager(IReflectionContentManager reflectionContentManager) { _reflectionContentManager = reflectionContentManager; }