Represents the Umbraco Service context, which provides access to all services.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic class ServiceContext
Constructors View Source ServiceContext(Nullable<Lazy<IPublicAccessService>>, Nullable<Lazy<IDomainService>>, Nullable<Lazy<IAuditService>>, Nullable<Lazy<ILocalizedTextService>>, Nullable<Lazy<ITagService>>, Nullable<Lazy<IContentService>>, Nullable<Lazy<IUserService>>, Nullable<Lazy<IMemberService>>, Nullable<Lazy<IMediaService>>, Nullable<Lazy<IContentTypeService>>, Nullable<Lazy<IMediaTypeService>>, Nullable<Lazy<IDataTypeService>>, Nullable<Lazy<IFileService>>, Nullable<Lazy<ILocalizationService>>, Nullable<Lazy<IPackagingService>>, Nullable<Lazy<IServerRegistrationService>>, Nullable<Lazy<IEntityService>>, Nullable<Lazy<IRelationService>>, Nullable<Lazy<IMemberTypeService>>, Nullable<Lazy<IMemberGroupService>>, Nullable<Lazy<INotificationService>>, Nullable<Lazy<IExternalLoginWithKeyService>>, Nullable<Lazy<IRedirectUrlService>>, Nullable<Lazy<IConsentService>>, Nullable<Lazy<IKeyValueService>>, Nullable<Lazy<IContentTypeBaseServiceProvider>>, Nullable<Lazy<IWebhookService>>)
Initializes a new instance of the ServiceContext class with lazy services.
Declarationpublic ServiceContext(Lazy<IPublicAccessService>? publicAccessService, Lazy<IDomainService>? domainService, Lazy<IAuditService>? auditService, Lazy<ILocalizedTextService>? localizedTextService, Lazy<ITagService>? tagService, Lazy<IContentService>? contentService, Lazy<IUserService>? userService, Lazy<IMemberService>? memberService, Lazy<IMediaService>? mediaService, Lazy<IContentTypeService>? contentTypeService, Lazy<IMediaTypeService>? mediaTypeService, Lazy<IDataTypeService>? dataTypeService, Lazy<IFileService>? fileService, Lazy<ILocalizationService>? localizationService, Lazy<IPackagingService>? packagingService, Lazy<IServerRegistrationService>? serverRegistrationService, Lazy<IEntityService>? entityService, Lazy<IRelationService>? relationService, Lazy<IMemberTypeService>? memberTypeService, Lazy<IMemberGroupService>? memberGroupService, Lazy<INotificationService>? notificationService, Lazy<IExternalLoginWithKeyService>? externalLoginService, Lazy<IRedirectUrlService>? redirectUrlService, Lazy<IConsentService>? consentService, Lazy<IKeyValueService>? keyValueService, Lazy<IContentTypeBaseServiceProvider>? contentTypeBaseServiceProvider, Lazy<IWebhookService>? webhookService)
Parameters Properties View Source AuditService
Gets the IAuditService
Declarationpublic IAuditService AuditService { get; }
Property Value View Source ConsentService
Gets the ConsentService.
Declarationpublic IConsentService ConsentService { get; }
Property Value View Source ContentService
Gets the IContentService
Declarationpublic IContentService ContentService { get; }
Property Value View Source ContentTypeBaseServices
Gets the ContentTypeServiceBaseFactory.
Declarationpublic IContentTypeBaseServiceProvider ContentTypeBaseServices { get; }
Property Value View Source ContentTypeService
Gets the IContentTypeService
Declarationpublic IContentTypeService ContentTypeService { get; }
Property Value View Source DataTypeService
Gets the IDataTypeService
Declarationpublic IDataTypeService DataTypeService { get; }
Property Value View Source DomainService
Gets the IDomainService
Declarationpublic IDomainService DomainService { get; }
Property Value View Source EntityService
Gets the IEntityService
Declarationpublic IEntityService EntityService { get; }
Property Value View Source ExternalLoginService
Gets the ExternalLoginService.
Declarationpublic IExternalLoginWithKeyService ExternalLoginService { get; }
Property Value View Source FileService
Gets the IFileService
Declarationpublic IFileService FileService { get; }
Property Value View Source KeyValueService
Gets the KeyValueService.
Declarationpublic IKeyValueService KeyValueService { get; }
Property Value View Source LocalizationService
Gets the ILocalizationService
Declarationpublic ILocalizationService LocalizationService { get; }
Property Value View Source MediaService
Gets the IMediaService
Declarationpublic IMediaService MediaService { get; }
Property Value View Source MediaTypeService
Gets the IMediaTypeService
Declarationpublic IMediaTypeService MediaTypeService { get; }
Property Value View Source MemberGroupService
Gets the MemberGroupService
Declarationpublic IMemberGroupService MemberGroupService { get; }
Property Value View Source MemberService
Gets the MemberService
Declarationpublic IMemberService MemberService { get; }
Property Value View Source MemberTypeService
Gets the MemberTypeService
Declarationpublic IMemberTypeService MemberTypeService { get; }
Property Value View Source NotificationService
Gets the INotificationService
Declarationpublic INotificationService NotificationService { get; }
Property Value View Source PackagingService
Gets the PackagingService
Declarationpublic IPackagingService PackagingService { get; }
Property Value View Source PublicAccessService
Gets the IPublicAccessService
Declarationpublic IPublicAccessService PublicAccessService { get; }
Property Value View Source RedirectUrlService
Gets the RedirectUrlService.
Declarationpublic IRedirectUrlService RedirectUrlService { get; }
Property Value View Source RelationService
Gets the IRelationService
Declarationpublic IRelationService RelationService { get; }
Property Value View Source ServerRegistrationService
Gets the ServerRegistrationService
Declarationpublic IServerRegistrationService ServerRegistrationService { get; }
Property Value View Source TagService
Gets the ITagService
Declarationpublic ITagService TagService { get; }
Property Value View Source TextService
Gets the ILocalizedTextService
Declarationpublic ILocalizedTextService TextService { get; }
Property Value View Source UserService
Gets the UserService
Declarationpublic IUserService UserService { get; }
Property Value View Source WebhookService
Gets the WebhookService.
Declarationpublic IWebhookService WebhookService { get; }
Property Value Methods View Source CreatePartial(IContentService, IMediaService, IContentTypeService, IMediaTypeService, IDataTypeService, IFileService, ILocalizationService, IPackagingService, IEntityService, IRelationService, IMemberGroupService, IMemberTypeService, IMemberService, IUserService, ITagService, INotificationService, ILocalizedTextService, IAuditService, IDomainService, IPublicAccessService, IExternalLoginWithKeyService, IServerRegistrationService, IRedirectUrlService, IConsentService, IKeyValueService, IContentTypeBaseServiceProvider, IWebhookService)
Creates a partial service context with only some services (for tests).
Declarationpublic static ServiceContext CreatePartial(IContentService contentService = null, IMediaService mediaService = null, IContentTypeService contentTypeService = null, IMediaTypeService mediaTypeService = null, IDataTypeService dataTypeService = null, IFileService fileService = null, ILocalizationService localizationService = null, IPackagingService packagingService = null, IEntityService entityService = null, IRelationService relationService = null, IMemberGroupService memberGroupService = null, IMemberTypeService memberTypeService = null, IMemberService memberService = null, IUserService userService = null, ITagService tagService = null, INotificationService notificationService = null, ILocalizedTextService localizedTextService = null, IAuditService auditService = null, IDomainService domainService = null, IPublicAccessService publicAccessService = null, IExternalLoginWithKeyService externalLoginService = null, IServerRegistrationService serverRegistrationService = null, IRedirectUrlService redirectUrlService = null, IConsentService consentService = null, IKeyValueService keyValueService = null, IContentTypeBaseServiceProvider contentTypeBaseServiceProvider = null, IWebhookService webhookService = null)
Parameters Returns Remarks
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4