Пример #1
0
 protected UmbracoHttpHandler(IUmbracoContextAccessor umbracoContextAccessor, UmbracoHelper umbracoHelper, ServiceContext service, IProfilingLogger plogger)
 {
     UmbracoContextAccessor = umbracoContextAccessor;
     Logger          = plogger;
     ProfilingLogger = plogger;
     Services        = service;
     Umbraco         = umbracoHelper;
 }
Пример #2
0
 protected ContentTypeControllerBase(ICultureDictionaryFactory cultureDictionaryFactory, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _cultureDictionaryFactory = cultureDictionaryFactory;
 }
 public AuthenticationController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper, Current.Mapper)
 {
 }
Пример #4
0
 public MyListService(IScopeProvider scopeProvider, IDoStuffRepository <MyList> baseRepository, IProfilingLogger logger)
     : base(scopeProvider, baseRepository, logger)
 {
 }
Пример #5
0
 public UiExamplesMigrationComponent(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, IProfilingLogger profilingLogger)
 {
     _scopeProvider    = scopeProvider;
     _migrationBuilder = migrationBuilder;
     _keyValueService  = keyValueService;
     _profilingLogger  = profilingLogger;
 }
Пример #6
0
 protected UmbracoController(IGlobalSettings globalSettings, UmbracoContext umbracoContext, ServiceContext services, CacheHelper applicationCache, ILogger logger, IProfilingLogger profilingLogger)
 {
     GlobalSettings   = globalSettings;
     UmbracoContext   = umbracoContext;
     Services         = services;
     ApplicationCache = applicationCache;
     Logger           = logger;
     ProfilingLogger  = profilingLogger;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeLoader"/> class.
 /// </summary>
 /// <param name="runtimeCache">The application runtime cache.</param>
 /// <param name="localTempPath">Files storage location.</param>
 /// <param name="logger">A profiling logger.</param>
 public TypeLoader(IAppPolicyCache runtimeCache, string localTempPath, IProfilingLogger logger)
     : this(runtimeCache, localTempPath, logger, true)
 {
 }
        public SchedulerComponent(IRuntimeState runtime,
                                  IContentService contentService, IAuditService auditService,
                                  HealthCheckCollection healthChecks, HealthCheckNotificationMethodCollection notifications,
                                  IScopeProvider scopeProvider, IUmbracoContextFactory umbracoContextFactory, IProfilingLogger logger)
        {
            _runtime               = runtime;
            _contentService        = contentService;
            _auditService          = auditService;
            _scopeProvider         = scopeProvider;
            _logger                = logger;
            _umbracoContextFactory = umbracoContextFactory;

            _healthChecks  = healthChecks;
            _notifications = notifications;
        }
 public DatabaseServerMessenger(
     IRuntimeState runtime, IScopeProvider scopeProvider, ISqlContext sqlContext, IProfilingLogger proflog, IGlobalSettings globalSettings,
     bool distributedEnabled, DatabaseServerMessengerOptions options)
     : base(distributedEnabled)
 {
     ScopeProvider      = scopeProvider ?? throw new ArgumentNullException(nameof(scopeProvider));
     _sqlContext        = sqlContext;
     _runtime           = runtime;
     _profilingLogger   = proflog ?? throw new ArgumentNullException(nameof(proflog));
     Logger             = proflog;
     Options            = options ?? throw new ArgumentNullException(nameof(options));
     _lastPruned        = _lastSync = DateTime.UtcNow;
     _syncIdle          = new ManualResetEvent(true);
     _distCacheFilePath = new Lazy <string>(() => GetDistCacheFilePath(globalSettings));
 }
 protected UmbracoAuthorizedController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ServiceContext services, AppCaches appCaches, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, services, appCaches, profilingLogger, umbracoHelper)
 {
 }
Пример #11
0
 public MediaController(PropertyEditorCollection propertyEditors, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _propertyEditors = propertyEditors ?? throw new ArgumentNullException(nameof(propertyEditors));
 }
Пример #12
0
 public HtmlUrlParser(IContentSection contentSection, IProfilingLogger logger)
 {
     _contentSection = contentSection;
     _logger         = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UmbracoAuthorizedApiController"/> class with all its dependencies.
 /// </summary>
 protected UmbracoAuthorizedApiController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, CacheHelper applicationCache, IProfilingLogger logger, IRuntimeState runtimeState)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, applicationCache, logger, runtimeState)
 {
 }
Пример #14
0
 public BackgroundIndexRebuilder(IMainDom mainDom, IProfilingLogger logger, IndexRebuilder indexRebuilder)
 {
     _mainDom        = mainDom;
     _logger         = logger;
     _indexRebuilder = indexRebuilder;
 }
 public UmbProfileController(UmbracoContext umbracoContext, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, CacheHelper applicationCache, ILogger logger, IProfilingLogger profilingLogger) : base(umbracoContext, databaseFactory, services, applicationCache, logger, profilingLogger)
 {
 }
 public ArticulateRssController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ServiceContext services, AppCaches appCaches, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, IRssFeedGenerator feedGenerator) : base(globalSettings, umbracoContextAccessor, services, appCaches, profilingLogger, umbracoHelper)
 {
     FeedGenerator = feedGenerator;
 }
Пример #17
0
 public DataTypeController(PropertyEditorCollection propertyEditors, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _propertyEditors = propertyEditors;
 }
Пример #18
0
 public MediaTreeController(UmbracoTreeSearcher treeSearcher, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper) : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _treeSearcher = treeSearcher;
 }
Пример #19
0
 public MemberProfileController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ServiceContext serviceContext, AppCaches appCaches, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper) : base(globalSettings, umbracoContextAccessor, serviceContext, appCaches, profilingLogger, umbracoHelper)
 {
 }
 public EditTournamentTeamsSurfaceController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory umbracoDatabaseFactory, ServiceContext serviceContext,
                                             AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, ITournamentDataSource tournamentDataSource, ICacheClearer <Tournament> cacheClearer,
                                             ITournamentRepository tournamentRepository, IAuthorizationPolicy <Tournament> authorizationPolicy, IDateTimeFormatter dateTimeFormatter, IPostSaveRedirector postSaveRedirector)
     : base(umbracoContextAccessor, umbracoDatabaseFactory, serviceContext, appCaches, logger, profilingLogger, umbracoHelper)
 {
     _tournamentDataSource = tournamentDataSource ?? throw new ArgumentNullException(nameof(tournamentDataSource));
     _cacheClearer         = cacheClearer ?? throw new ArgumentNullException(nameof(cacheClearer));
     _tournamentRepository = tournamentRepository ?? throw new ArgumentNullException(nameof(tournamentRepository));
     _authorizationPolicy  = authorizationPolicy ?? throw new ArgumentNullException(nameof(authorizationPolicy));
     _dateTimeFormatter    = dateTimeFormatter ?? throw new ArgumentNullException(nameof(dateTimeFormatter));
     _postSaveRedirector   = postSaveRedirector ?? throw new ArgumentNullException(nameof(postSaveRedirector));
 }
Пример #21
0
 protected TreeController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _treeAttribute = GetTreeAttribute();
 }
 public BackOfficeController(ManifestParser manifestParser, UmbracoFeatures features, IGlobalSettings globalSettings, UmbracoContext umbracoContext, ServiceContext services, CacheHelper applicationCache, ILogger logger, IProfilingLogger profilingLogger, IRuntimeState runtimeState)
     : base(globalSettings, umbracoContext, services, applicationCache, logger, profilingLogger)
 {
     _manifestParser = manifestParser;
     _features       = features;
     _runtimeState   = runtimeState;
 }
Пример #23
0
 public ApplicationTreeController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor,
                                  ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger,
                                  IRuntimeState runtimeState, ITreeService treeService, ISectionService sectionService, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _treeService    = treeService;
     _sectionService = sectionService;
 }
Пример #24
0
 public PackageFileInstallation(CompiledPackageXmlParser parser, IProfilingLogger logger)
 {
     _parser            = parser;
     _logger            = logger;
     _packageExtraction = new PackageExtraction();
 }
 public NestedContentManyValueConverter(IPublishedSnapshotAccessor publishedSnapshotAccessor, IPublishedModelFactory publishedModelFactory, IProfilingLogger proflog)
     : base(publishedSnapshotAccessor, publishedModelFactory, proflog)
 {
 }
Пример #26
0
 protected UmbracoAuthorizedApiController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
 }
Пример #27
0
 public MemberTypeController(ICultureDictionaryFactory cultureDictionaryFactory, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
     : base(cultureDictionaryFactory, globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
 }
 public BlockListPropertyValueConverter(IProfilingLogger proflog, BlockEditorConverter blockConverter)
 {
     _proflog        = proflog;
     _blockConverter = blockConverter;
     _blockListEditorDataConverter = new BlockListEditorDataConverter();
 }
 public DeleteMatchLocationSurfaceController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory umbracoDatabaseFactory,
                                             ServiceContext serviceContext, AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper,
                                             IMatchLocationDataSource matchLocationDataSource, IMatchLocationRepository matchLocationRepository, IMatchListingDataSource matchDataSource,
                                             IAuthorizationPolicy <MatchLocation> authorizationPolicy, ICacheOverride cacheOverride)
     : base(umbracoContextAccessor, umbracoDatabaseFactory, serviceContext, appCaches, logger, profilingLogger, umbracoHelper)
 {
     _matchLocationDataSource = matchLocationDataSource ?? throw new System.ArgumentNullException(nameof(matchLocationDataSource));
     _matchLocationRepository = matchLocationRepository ?? throw new System.ArgumentNullException(nameof(matchLocationRepository));
     _matchDataSource         = matchDataSource ?? throw new ArgumentNullException(nameof(matchDataSource));
     _authorizationPolicy     = authorizationPolicy ?? throw new ArgumentNullException(nameof(authorizationPolicy));
     _cacheOverride           = cacheOverride ?? throw new ArgumentNullException(nameof(cacheOverride));
 }
Пример #30
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Composers" /> class.
        /// </summary>
        /// <param name="composition">The composition.</param>
        /// <param name="composerTypes">The <see cref="IComposer" /> types.</param>
        /// <param name="enableDisableAttributes">The <see cref="EnableComposerAttribute" /> and/or <see cref="DisableComposerAttribute" /> attributes.</param>
        /// <param name="logger">The profiling logger.</param>
        /// <exception cref="ArgumentNullException">composition
        /// or
        /// composerTypes
        /// or
        /// enableDisableAttributes
        /// or
        /// logger</exception>

        public Composers(Composition composition, IEnumerable <Type> composerTypes, IEnumerable <Attribute> enableDisableAttributes, IProfilingLogger logger)
        {
            _composition             = composition ?? throw new ArgumentNullException(nameof(composition));
            _composerTypes           = composerTypes ?? throw new ArgumentNullException(nameof(composerTypes));
            _enableDisableAttributes = enableDisableAttributes ?? throw new ArgumentNullException(nameof(enableDisableAttributes));
            _logger = logger ?? throw new ArgumentNullException(nameof(logger));
        }