public HomeController( IStringLocalizer stringLocalizer, IHtmlLocalizer localizer, IEntityReplyStore <IdeaComment> entityReplyStore, IEntityHistoryManager <EntityHistory> entityHistoryManager, IEntityHistoryStore <EntityHistory> entityHistoryStore, IEntityReplyManager <IdeaComment> entityReplyManager, IAuthorizationService authorizationService, IInlineDiffBuilder inlineDiffBuilder, IEntityManager <Idea> entityManager, IEntityStore <Idea> entityStore, IContextFacade contextFacade, IAlerter alerter) { _entityHistoryManager = entityHistoryManager; _authorizationService = authorizationService; _entityReplyManager = entityReplyManager; _entityHistoryStore = entityHistoryStore; _inlineDiffBuilder = inlineDiffBuilder; _entityReplyStore = entityReplyStore; _contextFacade = contextFacade; _entityManager = entityManager; _entityStore = entityStore; _alerter = alerter; T = localizer; S = stringLocalizer; }
protected override void PreInitialize() { base.PreInitialize(); _entityHistoryStore = Substitute.For <IEntityHistoryStore>(); LocalIocManager.IocContainer.Register( Component.For <IEntityHistoryStore>().Instance(_entityHistoryStore).LifestyleSingleton() ); }
public EntityHistoryManager( IEntityHistoryStore <EntityHistory> entityHistoryStore, IContextFacade contextFacade, IBroker broker) { _entityHistoryStore = entityHistoryStore; _contextFacade = contextFacade; _broker = broker; }
public EntitySubscriber( IEntityHistoryManager <EntityHistory> entityHistoryManager, IEntityHistoryStore <EntityHistory> entityHistoryStore, IEntityStore <TEntity> entityStore, IBroker broker) { _entityHistoryManager = entityHistoryManager; _entityHistoryStore = entityHistoryStore; _entityStore = entityStore; _broker = broker; }
public EntityReplySubscriber( IBroker broker, IEntityHistoryStore <EntityHistory> entityHistoryStore, IEntityHistoryManager <EntityHistory> entityHistoryManager, IEntityReplyStore <EntityReply> entityReplyStore) { _broker = broker; _entityHistoryStore = entityHistoryStore; _entityHistoryManager = entityHistoryManager; _entityReplyStore = entityReplyStore; }
public EntityController( IHtmlLocalizer htmlLocalizer, IStringLocalizer stringLocalizer, IEntityHistoryStore <EntityHistory> entityHistoryStore, IContextFacade contextFacade) { _entityHistoryStore = entityHistoryStore; _contextFacade = contextFacade; T = htmlLocalizer; S = stringLocalizer; }
protected EntityHistoryHelperBase( IEntityHistoryConfiguration entityHistoryConfiguration, IUnitOfWorkManager unitOfWorkManager) { EntityHistoryConfiguration = entityHistoryConfiguration; UnitOfWorkManager = unitOfWorkManager; AbpSession = NullAbpSession.Instance; Logger = NullLogger.Instance; ClientInfoProvider = NullClientInfoProvider.Instance; EntityChangeSetReasonProvider = NullEntityChangeSetReasonProvider.Instance; EntityHistoryStore = NullEntityHistoryStore.Instance; }