• Core
  • Infrastructure
  • Web
  • Extensions
  • Umbraco.Cms.Core.Services.Implement
  • ContentService
Search Results for

    Show / Hide Table of Contents
    • Umbraco.Cms.Core
      • IPublishedContentQuery
      • IPublishedContentQueryAccessor
      • PublishedContentQueryAccessor
      • TagQuery
    • Umbraco.Cms.Core.Cache
      • DatabaseServerMessengerNotificationHandler
      • DefaultRepositoryCachePolicy<TEntity, TId>
      • DistributedCacheBinder
      • RepositoryCachePolicyBase<TEntity, TId>
    • Umbraco.Cms.Core.Configuration
      • JsonConfigManipulator
      • NCronTabParser
    • Umbraco.Cms.Core.Deploy
      • IGridCellValueConnector
    • Umbraco.Cms.Core.Events
      • MigrationEventArgs
      • RelateOnTrashNotificationHandler
    • Umbraco.Cms.Core.Logging
      • MessageTemplates
    • Umbraco.Cms.Core.Logging.Serilog
      • SerilogLogger
    • Umbraco.Cms.Core.Logging.Serilog.Enrichers
      • HttpRequestIdEnricher
      • HttpRequestNumberEnricher
      • HttpSessionIdEnricher
      • ThreadAbortExceptionEnricher
    • Umbraco.Cms.Core.Logging.Viewer
      • ILogFilter
      • ILogLevelLoader
      • ILogViewer
      • ILogViewerConfig
      • LogLevelCounts
      • LogLevelLoader
      • LogMessage
      • LogTemplate
      • LogTimePeriod
      • LogViewerConfig
      • SavedLogSearch
      • SerilogLogViewerSourceBase
    • Umbraco.Cms.Core.Manifest
      • ManifestParser
    • Umbraco.Cms.Core.Mapping
      • UmbracoMapper
    • Umbraco.Cms.Core.Migrations
      • IMigrationPlanExecutor
    • Umbraco.Cms.Core.Models
      • GridValue
      • GridValue.GridArea
      • GridValue.GridControl
      • GridValue.GridEditor
      • GridValue.GridRow
      • GridValue.GridSection
      • MediaWithCrops
      • MediaWithCrops<T>
    • Umbraco.Cms.Core.Models.Blocks
      • BlockEditorData
      • BlockEditorDataConverter
      • BlockItemData
      • BlockItemData.BlockPropertyValue
      • BlockListEditorDataConverter
      • BlockListLayoutItem
      • BlockValue
    • Umbraco.Cms.Core.Models.Mapping
      • EntityMapDefinition
    • Umbraco.Cms.Core.Models.Trees
      • TreeRootNode
    • Umbraco.Cms.Core.Packaging
      • PackageMigrationPlan
      • PackageMigrationPlanCollection
      • PackageMigrationPlanCollectionBuilder
      • PendingPackageMigrations
    • Umbraco.Cms.Core.Persistence.Repositories
      • IContentRepository<TId, TEntity>
      • IContentTypeRepository
      • IContentTypeRepositoryBase<TItem>
      • IDataTypeRepository
      • IDocumentBlueprintRepository
      • IDocumentRepository
      • IEntityRepository
      • IMediaRepository
      • IMediaTypeRepository
      • IMemberRepository
      • IMemberTypeRepository
      • IPublicAccessRepository
    • Umbraco.Cms.Core.PropertyEditors
      • BlockEditorPropertyEditor
      • BlockEditorPropertyHandler
      • BlockListPropertyEditor
      • CheckBoxListPropertyEditor
      • ColorPickerPropertyEditor
      • ComplexEditorValidator
      • ComplexEditorValidator.ElementTypeValidationModel
      • ComplexEditorValidator.PropertyTypeValidationModel
      • ComplexPropertyEditorContentNotificationHandler
      • ConfigurationEditor<TConfiguration>
      • ContentPickerPropertyEditor
      • DateTimeConfigurationEditor
      • DateTimePropertyEditor
      • DropDownFlexiblePropertyEditor
      • EmailAddressConfigurationEditor
      • EmailAddressPropertyEditor
      • EyeDropperColorPickerPropertyEditor
      • FileUploadConfigurationEditor
      • FileUploadPropertyEditor
      • GridConfiguration
      • GridConfigurationEditor
      • GridEditorModel
      • GridEditorSectionModel
      • GridEditorTemplateModel
      • GridPropertyEditor
      • GridPropertyIndexValueFactory
      • GridValidator
      • ImageCropperConfiguration
      • ImageCropperConfiguration.Crop
      • ImageCropperPropertyEditor
      • LabelConfigurationEditor
      • LabelPropertyEditor
      • ListViewConfigurationEditor
      • ListViewPropertyEditor
      • MarkdownPropertyEditor
      • MediaPicker3ConfigurationEditor
      • MediaPicker3PropertyEditor
      • MediaPickerConfigurationEditor
      • MediaPickerPropertyEditor
      • MediaPickerPropertyEditor.MediaPickerPropertyValueEditor
      • MultiNodePickerConfigurationEditor
      • MultiNodeTreePickerPropertyEditor
      • MultiNodeTreePickerPropertyEditor.MultiNodeTreePickerPropertyValueEditor
      • MultipleTextStringPropertyEditor
      • MultipleValueEditor
      • MultiUrlPickerConfigurationEditor
      • MultiUrlPickerPropertyEditor
      • MultiUrlPickerValueEditor
      • MultiUrlPickerValueEditor.LinkDto
      • NestedContentConfigurationEditor
      • NestedContentPropertyEditor
      • NestedContentPropertyHandler
      • RadioButtonsPropertyEditor
      • RichTextConfigurationEditor
      • RichTextEditorPastedImages
      • RichTextPropertyEditor
      • SliderConfigurationEditor
      • SliderPropertyEditor
      • TagConfigurationEditor
      • TagsPropertyEditor
      • TextAreaConfigurationEditor
      • TextAreaPropertyEditor
      • TextboxConfigurationEditor
      • TextboxPropertyEditor
      • TrueFalseConfigurationEditor
      • TrueFalsePropertyEditor
      • ValueListConfigurationEditor
      • ValueListUniqueValueValidator
    • Umbraco.Cms.Core.PropertyEditors.ValueConverters
      • BlockEditorConverter
      • BlockListPropertyValueConverter
      • ColorPickerValueConverter
      • ColorPickerValueConverter.PickedColor
      • FlexibleDropdownPropertyValueConverter
      • GridValueConverter
      • ImageCropperValue
      • ImageCropperValue.ImageCropperCrop
      • ImageCropperValue.ImageCropperCropCoordinates
      • ImageCropperValue.ImageCropperFocalPoint
      • ImageCropperValueConverter
      • ImageCropperValueTypeConverter
      • JsonValueConverter
      • MarkdownEditorValueConverter
      • MediaPickerWithCropsValueConverter
      • MultiUrlPickerValueConverter
      • NestedContentManyValueConverter
      • NestedContentSingleValueConverter
      • NestedContentValueConverterBase
      • RteMacroRenderingValueConverter
    • Umbraco.Cms.Core.PublishedCache
      • PublishedContentTypeCache
    • Umbraco.Cms.Core.Routing
      • ContentFinderByConfigured404
      • RedirectTrackingHandler
    • Umbraco.Cms.Core.Scoping
      • IHttpScopeReference
      • IScope
      • IScopeAccessor
      • IScopeProvider
      • ScopeContextualBase
    • Umbraco.Cms.Core.Security
      • BackOfficeClaimsPrincipalFactory
      • BackOfficeErrorDescriber
      • BackOfficeIdentityBuilder
      • BackOfficeIdentityOptions
      • BackOfficeIdentityUser
      • BackOfficePasswordHasher
      • BackOfficeUserStore
      • BackOfficeUserValidator<T>
      • IBackOfficeUserManager
      • IBackOfficeUserPasswordChecker
      • IdentityMapDefinition
      • IMemberManager
      • IMemberUserStore
      • ITwoFactorProvider
      • IUmbracoUserManager<TUser>
      • IUserSessionStore<TUser>
      • MemberIdentityBuilder
      • MemberIdentityUser
      • MemberPasswordHasher
      • MemberRoleStore
      • MembersErrorDescriber
      • MemberUserStore
      • NoopLookupNormalizer
      • UmbracoErrorDescriberBase
      • UmbracoIdentityRole
      • UmbracoIdentityUser
      • UmbracoPasswordHasher<TUser>
      • UmbracoUserConfirmation<TUser>
      • UmbracoUserManager<TUser, TPasswordConfig>
      • UmbracoUserStore<TUser, TRole>
    • Umbraco.Cms.Core.Services
      • IdKeyMap
      • TwoFactorLoginService
    • Umbraco.Cms.Core.Services.Implement
      • AuditService
      • BasicAuthService
      • CacheInstructionService
      • ContentService
      • ContentTypeBaseServiceProvider
      • ContentTypeService
      • ContentTypeServiceBase
      • ContentTypeServiceBase<TRepository, TItem>
      • DataTypeService
      • DomainService
      • EntityService
      • ExternalLoginService
      • FileService
      • LocalizedTextService
      • LocalizedTextServiceFileSources
      • LocalizedTextServiceSupplementaryFileSource
      • MediaService
      • MediaTypeService
      • MemberService
      • MemberTypeService
      • NotificationService
      • PackagingService
      • PropertyValidationService
      • RelationService
      • RepositoryService
      • ServerRegistrationService
      • TagService
      • TrackedReferencesService
    • Umbraco.Cms.Infrastructure
      • PublishedContentQuery
      • Suspendable
      • Suspendable.ExamineEvents
      • Suspendable.PageCacheRefresher
      • Suspendable.ScheduledPublishing
    • Umbraco.Cms.Infrastructure.DependencyInjection
      • UmbracoBuilder_TelemetryProviders
      • UmbracoBuilderExtensions
    • Umbraco.Cms.Infrastructure.Examine
      • BaseValueSetBuilder<TContent>
      • ContentIndexPopulator
      • ContentValueSetBuilder
      • ContentValueSetValidator
      • ExamineIndexModel
      • ExamineIndexRebuilder
      • ExamineSearcherModel
      • GenericIndexDiagnostics
      • IBackOfficeExamineSearcher
      • IContentValueSetBuilder
      • IContentValueSetValidator
      • IIndexDiagnostics
      • IIndexDiagnosticsFactory
      • IIndexPopulator
      • IIndexRebuilder
      • IndexDiagnosticsFactory
      • IndexPopulator
      • IndexPopulator<TIndex>
      • IndexTypes
      • IPublishedContentValueSetBuilder
      • IUmbracoContentIndex
      • IUmbracoIndex
      • IUmbracoIndexConfig
      • IUmbracoMemberIndex
      • IUmbracoTreeSearcherFields
      • IValueSetBuilder<T>
      • MediaIndexPopulator
      • MediaValueSetBuilder
      • MemberIndexPopulator
      • MemberValueSetBuilder
      • MemberValueSetValidator
      • NoopBackOfficeExamineSearcher
      • PublishedContentIndexPopulator
      • RebuildOnStartupHandler
      • UmbracoExamineFieldNames
      • UmbracoFieldDefinitionCollection
      • UmbracoIndexConfig
      • ValueSetValidator
    • Umbraco.Cms.Infrastructure.HealthChecks
      • MarkdownToHtmlConverter
    • Umbraco.Cms.Infrastructure.HostedServices
      • BackgroundTaskQueue
      • ContentVersionCleanup
      • HealthCheckNotifier
      • IBackgroundTaskQueue
      • KeepAlive
      • LogScrubber
      • QueuedHostedService
      • RecurringHostedServiceBase
      • ReportSiteTask
      • ScheduledPublishing
      • TempFileCleanup
    • Umbraco.Cms.Infrastructure.HostedServices.ServerRegistration
      • InstructionProcessTask
      • TouchServerTask
    • Umbraco.Cms.Infrastructure.Install
      • FilePermissionHelper
      • InstallHelper
      • InstallStepCollection
      • PackageMigrationRunner
      • UnattendedInstaller
      • UnattendedUpgrader
    • Umbraco.Cms.Infrastructure.Install.InstallSteps
      • CompleteInstallStep
      • DatabaseConfigureStep
      • DatabaseInstallStep
      • DatabaseUpgradeStep
      • NewInstallStep
    • Umbraco.Cms.Infrastructure.Logging.Serilog
      • UmbracoFileConfiguration
    • Umbraco.Cms.Infrastructure.Macros
      • MacroTagParser
    • Umbraco.Cms.Infrastructure.Mail
      • EmailSender
    • Umbraco.Cms.Infrastructure.Media
      • ImageSharpImageUrlGenerator
    • Umbraco.Cms.Infrastructure.Migrations
      • ExecutedMigrationPlan
      • IMigrationBuilder
      • IMigrationContext
      • IMigrationExpression
      • IncompleteMigrationExpressionException
      • MergeBuilder
      • MigrationBase
      • MigrationBuilder
      • MigrationExpressionBase
      • MigrationPlan
      • MigrationPlan.Transition
      • MigrationPlanExecutor
      • NoopMigration
    • Umbraco.Cms.Infrastructure.Migrations.Expressions
      • ExpressionBuilderBase<TExpression, TNext>
      • ExpressionBuilderBase<TExpression>
      • IFluentBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Alter
      • AlterBuilder
      • IAlterBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Alter.Expressions
      • AlterColumnExpression
      • AlterDefaultConstraintExpression
      • AlterTableExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Alter.Table
      • AlterTableBuilder
      • IAlterTableBuilder
      • IAlterTableColumnOptionBuilder
      • IAlterTableColumnOptionForeignKeyCascadeBuilder
      • IAlterTableColumnTypeBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Common
      • ExecutableBuilder
      • IColumnOptionBuilder<TNext, TNextFk>
      • IColumnTypeBuilder<TNext>
      • IExecutableBuilder
      • IForeignKeyCascadeBuilder<TNext, TNextFk>
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Common.Expressions
      • CreateColumnExpression
      • CreateForeignKeyExpression
      • CreateIndexExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create
      • CreateBuilder
      • ICreateBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Column
      • CreateColumnBuilder
      • ICreateColumnOnTableBuilder
      • ICreateColumnOptionBuilder
      • ICreateColumnOptionForeignKeyCascadeBuilder
      • ICreateColumnTypeBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Constraint
      • CreateConstraintBuilder
      • ICreateConstraintColumnsBuilder
      • ICreateConstraintOnTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Expressions
      • CreateConstraintExpression
      • CreateTableExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.ForeignKey
      • CreateForeignKeyBuilder
      • ICreateForeignKeyCascadeBuilder
      • ICreateForeignKeyForeignColumnBuilder
      • ICreateForeignKeyFromTableBuilder
      • ICreateForeignKeyPrimaryColumnBuilder
      • ICreateForeignKeyToTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Index
      • CreateIndexBuilder
      • ICreateIndexColumnOptionsBuilder
      • ICreateIndexForTableBuilder
      • ICreateIndexOnColumnBuilder
      • ICreateIndexOptionsBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.KeysAndIndexes
      • CreateKeysAndIndexesBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Table
      • CreateTableBuilder
      • CreateTableOfDtoBuilder
      • ICreateTableColumnAsTypeBuilder
      • ICreateTableColumnOptionBuilder
      • ICreateTableColumnOptionForeignKeyCascadeBuilder
      • ICreateTableWithColumnBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete
      • DeleteBuilder
      • IDeleteBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Column
      • DeleteColumnBuilder
      • IDeleteColumnBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Constraint
      • DeleteConstraintBuilder
      • IDeleteConstraintBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Data
      • DeleteDataBuilder
      • IDeleteDataBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.DefaultConstraint
      • DeleteDefaultConstraintBuilder
      • IDeleteDefaultConstraintOnColumnBuilder
      • IDeleteDefaultConstraintOnTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Expressions
      • DeleteColumnExpression
      • DeleteConstraintExpression
      • DeleteDataExpression
      • DeleteDefaultConstraintExpression
      • DeleteForeignKeyExpression
      • DeleteIndexExpression
      • DeleteTableExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.ForeignKey
      • DeleteForeignKeyBuilder
      • IDeleteForeignKeyForeignColumnBuilder
      • IDeleteForeignKeyFromTableBuilder
      • IDeleteForeignKeyOnTableBuilder
      • IDeleteForeignKeyPrimaryColumnBuilder
      • IDeleteForeignKeyToTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Index
      • DeleteIndexBuilder
      • IDeleteIndexForTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.KeysAndIndexes
      • DeleteKeysAndIndexesBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Execute
      • ExecuteBuilder
      • IExecuteBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Execute.Expressions
      • ExecuteSqlStatementExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert
      • IInsertBuilder
      • IInsertIntoBuilder
      • InsertBuilder
      • InsertIntoBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert.Expressions
      • InsertDataExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename
      • IRenameBuilder
      • RenameBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.Column
      • IRenameColumnBuilder
      • IRenameColumnToBuilder
      • RenameColumnBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.Expressions
      • RenameColumnExpression
      • RenameTableExpression
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.Table
      • IRenameTableBuilder
      • RenameTableBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Update
      • IUpdateBuilder
      • IUpdateTableBuilder
      • IUpdateWhereBuilder
      • UpdateBuilder
      • UpdateDataBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Expressions.Update.Expressions
      • UpdateDataExpression
    • Umbraco.Cms.Infrastructure.Migrations.Install
      • DatabaseBuilder
      • DatabaseBuilder.Result
      • DatabaseSchemaCreator
      • DatabaseSchemaCreatorFactory
      • DatabaseSchemaResult
    • Umbraco.Cms.Infrastructure.Migrations.Notifications
      • MigrationPlansExecutedNotification
    • Umbraco.Cms.Infrastructure.Migrations.PostMigrations
      • ClearCsrfCookies
      • DeleteLogViewerQueryFile
      • IPublishedSnapshotRebuilder
      • PublishedSnapshotRebuilder
      • RebuildPublishedSnapshot
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade
      • UmbracoPlan
      • Upgrader
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.Common
      • CreateKeysAndIndexes
      • DeleteKeysAndIndexes
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_0_0
      • AddContentTypeIsElementColumn
      • AddLockObjects
      • AddLogTableColumns
      • AddPackagesSectionAccess
      • AddTypedLabels
      • AddVariationTables1A
      • AddVariationTables2
      • ContentVariationMigration
      • ConvertRelatedLinksToMultiUrlPicker
      • DataTypeMigration
      • DropDownPropertyEditorsMigration
      • DropMigrationsTable
      • DropPreValueTable
      • DropTaskTables
      • DropTemplateDesignColumn
      • DropXmlTables
      • FallbackLanguage
      • FixLanguageIsoCodeLength
      • LanguageColumns
      • MakeRedirectUrlVariant
      • MakeTagsVariant
      • MergeDateAndDateTimePropertyEditor
      • PropertyEditorsMigration
      • PropertyEditorsMigrationBase
      • PropertyEditorsMigrationBase.ValueListConfigurationEditor
      • RadioAndCheckboxPropertyEditorsMigration
      • RefactorMacroColumns
      • RefactorVariantsModel
      • RenameLabelAndRichTextPropertyEditorAliases
      • RenameMediaVersionTable
      • RenameUmbracoDomainsTable
      • SuperZero
      • TablesForScheduledPublishing
      • TagsMigration
      • TagsMigrationFix
      • UpdateDefaultMandatoryLanguage
      • UpdatePickerIntegerValuesToUdi
      • UserForeignKeys
      • VariantsMigration
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_0_0.DataTypes
      • IPreValueMigrator
      • PreValueDto
      • PreValueMigratorBase
      • PreValueMigratorCollection
      • PreValueMigratorCollectionBuilder
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_0_1
      • ChangeNuCacheJsonFormat
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_1_0
      • ConvertTinyMceAndGridMediaUrlsToLocalLink
      • FixContentNuCascade
      • RenameUserLoginDtoDateIndex
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_10_0
      • AddPropertyTypeLabelOnTopColumn
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_15_0
      • AddCmsContentNuByteColumn
      • UpdateCmsPropertyGroupIdSeed
      • UpgradedIncludeIndexes
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_17_0
      • AddPropertyTypeGroupColumns
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_6_0
      • AddMainDomLock
      • AddNewRelationTypes
      • AddPropertyTypeValidationMessageColumns
      • MissingContentVersionsIndexes
      • UpdateRelationTypeTable
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_7_0
      • MissingDictionaryIndex
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_9_0
      • ExternalLoginTableUserData
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_9_0_0
      • AddPasswordConfigToMemberTable
      • DictionaryTablesIndexes
      • ExternalLoginTableIndexes
      • ExternalLoginTableIndexesFixup
      • ExternalLoginTokenTable
      • MemberTableColumns
      • MigrateLogViewerQueriesFromFileToDb
      • UmbracoServerColumn
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_9_2_0
      • AddDefaultForNotificationsToggle
    • Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_9_3_0
      • AddTwoFactorLoginTable
      • MovePackageXMLToDb
      • UpdateExternalLoginToUseKeyInsteadOfId
    • Umbraco.Cms.Infrastructure.ModelsBuilder
      • ApiVersion
      • AutoModelsNotificationHandler
      • ImplementPropertyTypeAttribute
      • ModelsBuilderAssemblyAttribute
      • ModelsGenerationError
      • OutOfDateModelsStatus
      • PublishedModelUtility
      • RoslynCompiler
      • UmbracoServices
    • Umbraco.Cms.Infrastructure.ModelsBuilder.Building
      • Builder
      • ModelsGenerator
      • PropertyModel
      • TextBuilder
      • TypeModel
      • TypeModel.ItemTypes
      • TypeModelHasher
    • Umbraco.Cms.Infrastructure.Packaging
      • AutomaticPackageMigrationPlan
      • IImportPackageBuilder
      • PackageDataInstallation
      • PackageInstallation
      • PackageMigrationBase
    • Umbraco.Cms.Infrastructure.Persistence
      • BasicBulkSqlInsertProvider
      • DbProviderFactoryCreator
      • IBulkSqlInsertProvider
      • IDatabaseCreator
      • IDbProviderFactoryCreator
      • IProviderSpecificMapperFactory
      • ISqlContext
      • IUmbracoDatabase
      • IUmbracoDatabaseFactory
      • LocalDb
      • LocalDb.Instance
      • NPocoMapperCollection
      • NPocoMapperCollectionBuilder
      • RecordPersistenceType
      • SqlContext
      • SqlServerBulkSqlInsertProvider
      • SqlServerDatabaseCreator
      • SqlServerDbProviderFactoryCreator
      • SqlTemplate
      • SqlTemplates
      • UmbracoDatabase
      • UmbracoDatabase.CommandInfo
      • UmbracoDatabase.ParameterInfo
      • UmbracoDatabaseFactory
    • Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
      • ConstraintAttribute
      • ForeignKeyAttribute
      • IndexAttribute
      • IndexTypes
      • LengthAttribute
      • NullSettingAttribute
      • NullSettings
      • PrimaryKeyColumnAttribute
      • ReferencesAttribute
      • SpecialDbType
      • SpecialDbTypeAttribute
      • SpecialDbTypes
    • Umbraco.Cms.Infrastructure.Persistence.DatabaseModelDefinitions
      • ColumnDefinition
      • ConstraintDefinition
      • ConstraintType
      • DeletionDataDefinition
      • ForeignKeyDefinition
      • IndexColumnDefinition
      • IndexDefinition
      • InsertionDataDefinition
      • ModificationType
      • SystemMethods
      • TableDefinition
    • Umbraco.Cms.Infrastructure.Persistence.Dtos
      • CacheInstructionDto
      • ConsentDto
      • ContentDto
      • ContentNuDto
      • ContentVersionDto
      • CreatedPackageSchemaDto
      • DataTypeDto
      • DictionaryDto
      • DocumentDto
      • DocumentVersionDto
      • LanguageTextDto
      • NodeDto
      • User2UserGroupDto
      • UserDto
      • UserGroup2AppDto
      • UserGroupDto
      • UserStartNodeDto
      • UserStartNodeDto.StartNodeTypeValue
    • Umbraco.Cms.Infrastructure.Persistence.FaultHandling
      • ITransientErrorDetectionStrategy
      • RetryingEventArgs
      • RetryLimitExceededException
      • RetryPolicy
      • RetryPolicyFactory
      • RetryStrategy
      • ShouldRetry
      • ThrottledResourceType
      • ThrottlingCondition
      • ThrottlingMode
      • ThrottlingType
    • Umbraco.Cms.Infrastructure.Persistence.FaultHandling.Strategies
      • ExponentialBackoff
      • FixedInterval
      • Incremental
      • NetworkConnectivityErrorDetectionStrategy
      • SqlAzureTransientErrorDetectionStrategy
    • Umbraco.Cms.Infrastructure.Persistence.Mappers
      • AccessMapper
      • AuditEntryMapper
      • AuditItemMapper
      • BaseMapper
      • ConsentMapper
      • ContentMapper
      • ContentTypeMapper
      • DataTypeMapper
      • DictionaryMapper
      • DictionaryTranslationMapper
      • DomainMapper
      • ExternalLoginMapper
      • ExternalLoginTokenMapper
      • IMapperCollection
      • KeyValueMapper
      • LanguageMapper
      • LogViewerQueryMapper
      • MapperCollection
      • MapperCollectionBuilder
      • MapperConfigurationStore
      • MapperForAttribute
      • MediaMapper
      • MediaTypeMapper
      • MemberGroupMapper
      • MemberMapper
      • MemberTypeMapper
      • NullableDateMapper
      • PropertyGroupMapper
      • PropertyMapper
      • PropertyTypeMapper
      • RelationMapper
      • RelationTypeMapper
      • SimpleContentTypeMapper
      • TagMapper
      • TemplateMapper
      • UmbracoEntityMapper
      • UserGroupMapper
      • UserMapper
    • Umbraco.Cms.Infrastructure.Persistence.Querying
      • Query<T>
      • SqlTranslator<T>
      • TextColumnType
    • Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
      • ContentRepositoryBase<TId, TEntity, TRepository>
      • ContentRepositoryBase<TId, TEntity, TRepository>.TempContent
      • ContentRepositoryBase<TId, TEntity, TRepository>.TempContent<T>
      • CreatedPackageSchemaRepository
      • DocumentRepository
      • EntityRepositoryBase<TId, TEntity>
      • MediaRepository
      • MemberRepository
      • NotificationsRepository
      • QueryType
      • RepositoryBase
      • UserGroupRepository
    • Umbraco.Cms.Infrastructure.Persistence.SqlSyntax
      • ColumnInfo
      • DbTypes
      • ISqlSyntaxProvider
      • MicrosoftSqlSyntaxProviderBase<TSyntax>
      • SqlServerSyntaxProvider
      • SqlServerSyntaxProvider.EngineEdition
      • SqlServerSyntaxProvider.ServerVersionInfo
      • SqlServerSyntaxProvider.VersionName
      • SqlSyntaxProviderBase<TSyntax>
    • Umbraco.Cms.Infrastructure.Runtime
      • CoreRuntime
      • RuntimeState
      • SqlMainDomLock
    • Umbraco.Cms.Infrastructure.Search
      • ContentIndexingNotificationHandler
      • ContentTypeIndexingNotificationHandler
      • IUmbracoIndexingHandler
      • LanguageIndexingNotificationHandler
      • MediaIndexingNotificationHandler
      • MemberIndexingNotificationHandler
      • UmbracoTreeSearcher
      • UmbracoTreeSearcherFields
    • Umbraco.Cms.Infrastructure.Security
      • DeleteExternalLoginsOnMemberDeletedHandler
      • DeleteTwoFactorLoginsOnMemberDeletedHandler
      • SignOutSuccessResult
    • Umbraco.Cms.Infrastructure.Serialization
      • AutoInterningStringConverter
      • AutoInterningStringKeyCaseInsensitiveDictionaryConverter<TValue>
      • CaseInsensitiveDictionaryConverter<T>
      • ConfigurationEditorJsonSerializer
      • ForceInt32Converter
      • FuzzyBooleanConverter
      • JsonNetSerializer
      • JsonReadConverter<T>
      • KnownTypeUdiJsonConverter
      • NoTypeConverterJsonConverter<T>
      • UdiJsonConverter
      • UdiRangeJsonConverter
    • Umbraco.Cms.Infrastructure.Services.Implement
      • DefaultContentVersionCleanupPolicy
      • ExamineIndexCountService
      • NodeCountService
    • Umbraco.Cms.Infrastructure.Sync
      • BatchedDatabaseServerMessenger
      • DatabaseServerMessenger
      • LastSyncedFileManager
      • RefreshInstructionEnvelope
      • ServerMessengerBase
      • SyncBootStateAccessor
    • Umbraco.Cms.Infrastructure.Telemetry.Providers
      • ContentTelemetryProvider
      • DomainTelemetryProvider
      • ExamineTelemetryProvider
      • LanguagesTelemetryProvider
      • MacroTelemetryProvider
      • MediaTelemetryProvider
      • NodeCountTelemetryProvider
      • PropertyEditorTelemetryProvider
      • UserTelemetryProvider
    • Umbraco.Cms.Infrastructure.Templates
      • HtmlMacroParameterParser
      • IHtmlMacroParameterParser
    • Umbraco.Cms.Infrastructure.WebAssets
      • BackOfficeJavaScriptInitializer
      • BackOfficeWebAssets
      • PropertyEditorAssetAttribute
      • ServerVariablesParser
    • Umbraco.Extensions
      • DbConnectionExtensions
      • DistributedCacheExtensions
      • ExamineExtensions
      • IdentityExtensions
      • InfrastuctureTypeLoaderExtensions
      • LoggerConfigExtensions
      • MediaPicker3ConfigurationExtensions
      • MergeClaimsIdentityExtensions
      • NPocoDatabaseExtensions
      • NPocoSqlExtensions
      • NPocoSqlExtensions.SqlRef<TDto>
      • NPocoSqlExtensions.SqlUpd<TDto>
      • ObjectJsonExtensions
      • PublishedElementExtensions
      • ScopeExtensions
      • SqlContextExtensions
      • SqlSyntaxExtensions
      • UmbracoBuilderExtensions
      • UmbracoExamineExtensions

    Class ContentService

    Implements the content service.

    Inheritance
    System.Object
    RepositoryService
    Namespace: Umbraco.Cms.Core.Services.Implement
    Assembly: cs.temp.dll.dll
    Syntax
    public class ContentService : RepositoryService

    Constructors

    ContentService(IScopeProvider, ILoggerFactory, IEventMessagesFactory, IDocumentRepository, IEntityRepository, IAuditRepository, IContentTypeRepository, IDocumentBlueprintRepository, ILanguageRepository, Lazy<IPropertyValidationService>, IShortStringHelper)

    Declaration
    public ContentService(IScopeProvider provider, ILoggerFactory loggerFactory, IEventMessagesFactory eventMessagesFactory, IDocumentRepository documentRepository, IEntityRepository entityRepository, IAuditRepository auditRepository, IContentTypeRepository contentTypeRepository, IDocumentBlueprintRepository documentBlueprintRepository, ILanguageRepository languageRepository, Lazy<IPropertyValidationService> propertyValidationService, IShortStringHelper shortStringHelper)
    Parameters
    Type Name Description
    IScopeProvider provider
    ILoggerFactory loggerFactory
    IEventMessagesFactory eventMessagesFactory
    IDocumentRepository documentRepository
    IEntityRepository entityRepository
    IAuditRepository auditRepository
    IContentTypeRepository contentTypeRepository
    IDocumentBlueprintRepository documentBlueprintRepository
    ILanguageRepository languageRepository
    System.Lazy<IPropertyValidationService> propertyValidationService
    IShortStringHelper shortStringHelper

    Methods

    CheckDataIntegrity(ContentDataIntegrityReportOptions)

    Declaration
    public ContentDataIntegrityReport CheckDataIntegrity(ContentDataIntegrityReportOptions options)
    Parameters
    Type Name Description
    ContentDataIntegrityReportOptions options
    Returns
    Type Description
    ContentDataIntegrityReport

    Copy(IContent, Int32, Boolean, Boolean, Int32)

    Copies an object by creating a new Content object of the same type and copies all data from the current to the new copy which is returned.

    Declaration
    public IContent Copy(IContent content, int parentId, bool relateToOriginal, bool recursive, int userId = default(int))
    Parameters
    Type Name Description
    IContent content

    The to copy

    System.Int32 parentId

    Id of the Content's new Parent

    System.Boolean relateToOriginal

    Boolean indicating whether the copy should be related to the original

    System.Boolean recursive

    A value indicating whether to recursively copy children.

    System.Int32 userId

    Optional Id of the User copying the Content

    Returns
    Type Description
    IContent

    The newly created object

    Copy(IContent, Int32, Boolean, Int32)

    Copies an object by creating a new Content object of the same type and copies all data from the current to the new copy which is returned. Recursively copies all children.

    Declaration
    public IContent Copy(IContent content, int parentId, bool relateToOriginal, int userId = default(int))
    Parameters
    Type Name Description
    IContent content

    The to copy

    System.Int32 parentId

    Id of the Content's new Parent

    System.Boolean relateToOriginal

    Boolean indicating whether the copy should be related to the original

    System.Int32 userId

    Optional Id of the User copying the Content

    Returns
    Type Description
    IContent

    The newly created object

    Count(String)

    Declaration
    public int Count(string contentTypeAlias = null)
    Parameters
    Type Name Description
    System.String contentTypeAlias
    Returns
    Type Description
    System.Int32

    CountChildren(Int32, String)

    Declaration
    public int CountChildren(int parentId, string contentTypeAlias = null)
    Parameters
    Type Name Description
    System.Int32 parentId
    System.String contentTypeAlias
    Returns
    Type Description
    System.Int32

    CountDescendants(Int32, String)

    Declaration
    public int CountDescendants(int parentId, string contentTypeAlias = null)
    Parameters
    Type Name Description
    System.Int32 parentId
    System.String contentTypeAlias
    Returns
    Type Description
    System.Int32

    CountPublished(String)

    Declaration
    public int CountPublished(string contentTypeAlias = null)
    Parameters
    Type Name Description
    System.String contentTypeAlias
    Returns
    Type Description
    System.Int32

    Create(String, IContent, String, Int32)

    Creates an object of a specified content type, under a parent.

    Declaration
    public IContent Create(string name, IContent parent, string contentTypeAlias, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    The name of the content object.

    IContent parent

    The parent content object.

    System.String contentTypeAlias

    The alias of the content type.

    System.Int32 userId

    The optional id of the user creating the content.

    Returns
    Type Description
    IContent

    The content object.

    Remarks

    This method simply returns a new, non-persisted, IContent without any identity. It is intended as a shortcut to creating new content objects that does not invoke a save operation against the database.

    Create(String, Guid, String, Int32)

    Creates an object using the alias of the that this Content should based on.

    Declaration
    public IContent Create(string name, Guid parentId, string contentTypeAlias, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    Name of the Content object

    System.Guid parentId

    Id of Parent for the new Content

    System.String contentTypeAlias

    Alias of the

    System.Int32 userId

    Optional id of the user creating the content

    Returns
    Type Description
    IContent
    Remarks

    Note that using this method will simply return a new IContent without any identity as it has not yet been persisted. It is intended as a shortcut to creating new content objects that does not invoke a save operation against the database.

    Create(String, Int32, IContentType, Int32)

    Creates an object of a specified content type.

    Declaration
    public IContent Create(string name, int parentId, IContentType contentType, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    The name of the content object.

    System.Int32 parentId

    The identifier of the parent, or -1.

    IContentType contentType

    The content type of the content

    System.Int32 userId

    The optional id of the user creating the content.

    Returns
    Type Description
    IContent

    The content object.

    Remarks

    This method simply returns a new, non-persisted, IContent without any identity. It is intended as a shortcut to creating new content objects that does not invoke a save operation against the database.

    Create(String, Int32, String, Int32)

    Creates an object of a specified content type.

    Declaration
    public IContent Create(string name, int parentId, string contentTypeAlias, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    The name of the content object.

    System.Int32 parentId

    The identifier of the parent, or -1.

    System.String contentTypeAlias

    The alias of the content type.

    System.Int32 userId

    The optional id of the user creating the content.

    Returns
    Type Description
    IContent

    The content object.

    Remarks

    This method simply returns a new, non-persisted, IContent without any identity. It is intended as a shortcut to creating new content objects that does not invoke a save operation against the database.

    CreateAndSave(String, IContent, String, Int32)

    Creates an object of a specified content type, under a parent.

    Declaration
    public IContent CreateAndSave(string name, IContent parent, string contentTypeAlias, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    The name of the content object.

    IContent parent

    The parent content object.

    System.String contentTypeAlias

    The alias of the content type.

    System.Int32 userId

    The optional id of the user creating the content.

    Returns
    Type Description
    IContent

    The content object.

    Remarks

    This method returns a new, persisted, IContent with an identity.

    CreateAndSave(String, Int32, String, Int32)

    Creates an object of a specified content type.

    Declaration
    public IContent CreateAndSave(string name, int parentId, string contentTypeAlias, int userId = default(int))
    Parameters
    Type Name Description
    System.String name

    The name of the content object.

    System.Int32 parentId

    The identifier of the parent, or -1.

    System.String contentTypeAlias

    The alias of the content type.

    System.Int32 userId

    The optional id of the user creating the content.

    Returns
    Type Description
    IContent

    The content object.

    Remarks

    This method returns a new, persisted, IContent with an identity.

    CreateContentFromBlueprint(IContent, String, Int32)

    Declaration
    public IContent CreateContentFromBlueprint(IContent blueprint, string name, int userId = default(int))
    Parameters
    Type Name Description
    IContent blueprint
    System.String name
    System.Int32 userId
    Returns
    Type Description
    IContent

    Delete(IContent, Int32)

    Declaration
    public OperationResult Delete(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    DeleteBlueprint(IContent, Int32)

    Declaration
    public void DeleteBlueprint(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Int32 userId

    DeleteBlueprintsOfType(Int32, Int32)

    Declaration
    public void DeleteBlueprintsOfType(int contentTypeId, int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 contentTypeId
    System.Int32 userId

    DeleteBlueprintsOfTypes(IEnumerable<Int32>, Int32)

    Declaration
    public void DeleteBlueprintsOfTypes(IEnumerable<int> contentTypeIds, int userId = default(int))
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Int32> contentTypeIds
    System.Int32 userId

    DeleteOfType(Int32, Int32)

    Deletes all content items of specified type. All children of deleted content item is moved to Recycle Bin.

    Declaration
    public void DeleteOfType(int contentTypeId, int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 contentTypeId

    Id of the

    System.Int32 userId

    Optional id of the user deleting the media

    Remarks

    This needs extra care and attention as its potentially a dangerous and extensive operation

    DeleteOfTypes(IEnumerable<Int32>, Int32)

    Deletes all content of specified type. All children of deleted content is moved to Recycle Bin.

    Declaration
    public void DeleteOfTypes(IEnumerable<int> contentTypeIds, int userId = default(int))
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Int32> contentTypeIds

    Id of the

    System.Int32 userId

    Optional Id of the user issuing the delete operation

    Remarks

    This needs extra care and attention as its potentially a dangerous and extensive operation.

    Deletes content items of the specified type, and only that type. Does not handle content types inheritance and compositions, which need to be managed outside of this method.

    DeleteVersion(Int32, Int32, Boolean, Int32)

    Permanently deletes specific version(s) from an object. This method will never delete the latest version of a content item.

    Declaration
    public void DeleteVersion(int id, int versionId, bool deletePriorVersions, int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 id

    Id of the object to delete a version from

    System.Int32 versionId

    Id of the version to delete

    System.Boolean deletePriorVersions

    Boolean indicating whether to delete versions prior to the versionId

    System.Int32 userId

    Optional Id of the User deleting versions of a Content object

    DeleteVersions(Int32, DateTime, Int32)

    Permanently deletes versions from an object prior to a specific date. This method will never delete the latest version of a content item.

    Declaration
    public void DeleteVersions(int id, DateTime versionDate, int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 id

    Id of the object to delete versions from

    System.DateTime versionDate

    Latest version date

    System.Int32 userId

    Optional Id of the User deleting versions of a Content object

    EmptyRecycleBin(Int32)

    Empties the Recycle Bin by deleting all that resides in the bin

    Declaration
    public OperationResult EmptyRecycleBin(int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    GetAncestors(IContent)

    Gets a collection of objects, which are ancestors of the current content.

    Declaration
    public IEnumerable<IContent> GetAncestors(IContent content)
    Parameters
    Type Name Description
    IContent content

    to retrieve ancestors for

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    GetAncestors(Int32)

    Gets a collection of objects, which are ancestors of the current content.

    Declaration
    public IEnumerable<IContent> GetAncestors(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the to retrieve ancestors for

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    GetBlueprintById(Guid)

    Declaration
    public IContent GetBlueprintById(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    IContent

    GetBlueprintById(Int32)

    Declaration
    public IContent GetBlueprintById(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    IContent

    GetBlueprintsForContentTypes(Int32[])

    Declaration
    public IEnumerable<IContent> GetBlueprintsForContentTypes(params int[] contentTypeId)
    Parameters
    Type Name Description
    System.Int32[] contentTypeId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetById(Guid)

    Gets an object by its 'UniqueId'

    Declaration
    public IContent GetById(Guid key)
    Parameters
    Type Name Description
    System.Guid key

    Guid key of the Content to retrieve

    Returns
    Type Description
    IContent

    GetById(Int32)

    Gets an object by Id

    Declaration
    public IContent GetById(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the Content to retrieve

    Returns
    Type Description
    IContent

    GetByIds(IEnumerable<Guid>)

    Gets objects by Ids

    Declaration
    public IEnumerable<IContent> GetByIds(IEnumerable<Guid> ids)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Guid> ids

    Ids of the Content to retrieve

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetByIds(IEnumerable<Int32>)

    Gets an object by Id

    Declaration
    public IEnumerable<IContent> GetByIds(IEnumerable<int> ids)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Int32> ids

    Ids of the Content to retrieve

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetByLevel(Int32)

    Gets a collection of objects by Level

    Declaration
    public IEnumerable<IContent> GetByLevel(int level)
    Parameters
    Type Name Description
    System.Int32 level

    The level to retrieve Content from

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    Remarks

    Contrary to most methods, this method filters out trashed content items.

    GetContentForExpiration(DateTime)

    Declaration
    public IEnumerable<IContent> GetContentForExpiration(DateTime date)
    Parameters
    Type Name Description
    System.DateTime date
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetContentForRelease(DateTime)

    Declaration
    public IEnumerable<IContent> GetContentForRelease(DateTime date)
    Parameters
    Type Name Description
    System.DateTime date
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetPagedChildren(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)

    Declaration
    public IEnumerable<IContent> GetPagedChildren(int id, long pageIndex, int pageSize, out long totalChildren, IQuery<IContent> filter = null, Ordering ordering = null)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalChildren
    IQuery<IContent> filter
    Ordering ordering
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetPagedContentInRecycleBin(Int64, Int32, out Int64, IQuery<IContent>, Ordering)

    Gets a collection of an objects, which resides in the Recycle Bin

    Declaration
    public IEnumerable<IContent> GetPagedContentInRecycleBin(long pageIndex, int pageSize, out long totalRecords, IQuery<IContent> filter = null, Ordering ordering = null)
    Parameters
    Type Name Description
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalRecords
    IQuery<IContent> filter
    Ordering ordering
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    GetPagedDescendants(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)

    Declaration
    public IEnumerable<IContent> GetPagedDescendants(int id, long pageIndex, int pageSize, out long totalChildren, IQuery<IContent> filter = null, Ordering ordering = null)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalChildren
    IQuery<IContent> filter
    Ordering ordering
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetPagedOfType(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)

    Declaration
    public IEnumerable<IContent> GetPagedOfType(int contentTypeId, long pageIndex, int pageSize, out long totalRecords, IQuery<IContent> filter = null, Ordering ordering = null)
    Parameters
    Type Name Description
    System.Int32 contentTypeId
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalRecords
    IQuery<IContent> filter
    Ordering ordering
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetPagedOfTypes(Int32[], Int64, Int32, out Int64, IQuery<IContent>, Ordering)

    Declaration
    public IEnumerable<IContent> GetPagedOfTypes(int[] contentTypeIds, long pageIndex, int pageSize, out long totalRecords, IQuery<IContent> filter, Ordering ordering = null)
    Parameters
    Type Name Description
    System.Int32[] contentTypeIds
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalRecords
    IQuery<IContent> filter
    Ordering ordering
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    GetParent(IContent)

    Gets the parent of the current content as an item.

    Declaration
    public IContent GetParent(IContent content)
    Parameters
    Type Name Description
    IContent content

    to retrieve the parent from

    Returns
    Type Description
    IContent

    Parent object

    GetParent(Int32)

    Gets the parent of the current content as an item.

    Declaration
    public IContent GetParent(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the to retrieve the parent from

    Returns
    Type Description
    IContent

    Parent object

    GetPermissions(IContent)

    Returns implicit/inherited permissions assigned to the content item for all user groups

    Declaration
    public EntityPermissionCollection GetPermissions(IContent content)
    Parameters
    Type Name Description
    IContent content
    Returns
    Type Description
    EntityPermissionCollection

    GetPublishedChildren(Int32)

    Gets a collection of published objects by Parent Id

    Declaration
    public IEnumerable<IContent> GetPublishedChildren(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the Parent to retrieve Children from

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of published objects

    GetRootContent()

    Gets a collection of objects, which reside at the first level / root

    Declaration
    public IEnumerable<IContent> GetRootContent()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    GetVersion(Int32)

    Gets a specific version of an item.

    Declaration
    public IContent GetVersion(int versionId)
    Parameters
    Type Name Description
    System.Int32 versionId

    Id of the version to retrieve

    Returns
    Type Description
    IContent

    An item

    GetVersionIds(Int32, Int32)

    Gets a list of all version Ids for the given content item ordered so latest is first

    Declaration
    public IEnumerable<int> GetVersionIds(int id, int maxRows)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int32 maxRows

    The maximum number of rows to return

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Int32>

    GetVersions(Int32)

    Gets a collection of an objects versions by Id

    Declaration
    public IEnumerable<IContent> GetVersions(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    GetVersionsSlim(Int32, Int32, Int32)

    Gets a collection of an objects versions by Id

    Declaration
    public IEnumerable<IContent> GetVersionsSlim(int id, int skip, int take)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int32 skip
    System.Int32 take
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContent>

    An Enumerable list of objects

    HasChildren(Int32)

    Checks whether an item has any children

    Declaration
    public bool HasChildren(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the

    Returns
    Type Description
    System.Boolean

    True if the content has any children otherwise False

    IsPathPublishable(IContent)

    Checks if the passed in can be published based on the ancestors publish state.

    Declaration
    public bool IsPathPublishable(IContent content)
    Parameters
    Type Name Description
    IContent content

    to check if ancestors are published

    Returns
    Type Description
    System.Boolean

    True if the Content can be published, otherwise False

    IsPathPublished(IContent)

    Declaration
    public bool IsPathPublished(IContent content)
    Parameters
    Type Name Description
    IContent content
    Returns
    Type Description
    System.Boolean

    Move(IContent, Int32, Int32)

    Moves an object to a new location by changing its parent id.

    Declaration
    public void Move(IContent content, int parentId, int userId = default(int))
    Parameters
    Type Name Description
    IContent content

    The to move

    System.Int32 parentId

    Id of the Content's new Parent

    System.Int32 userId

    Optional Id of the User moving the Content

    Remarks

    If the object is already published it will be published after being moved to its new location. Otherwise it'll just be saved with a new parent id.

    MoveToRecycleBin(IContent, Int32)

    Declaration
    public OperationResult MoveToRecycleBin(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    PerformScheduledPublish(DateTime)

    Declaration
    public IEnumerable<PublishResult> PerformScheduledPublish(DateTime date)
    Parameters
    Type Name Description
    System.DateTime date
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PublishResult>

    RecycleBinSmells()

    Declaration
    public bool RecycleBinSmells()
    Returns
    Type Description
    System.Boolean

    Rollback(Int32, Int32, String, Int32)

    Declaration
    public OperationResult Rollback(int id, int versionId, string culture = "*", int userId = default(int))
    Parameters
    Type Name Description
    System.Int32 id
    System.Int32 versionId
    System.String culture
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    Save(IContent, Int32)

    Declaration
    public OperationResult Save(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    Save(IEnumerable<IContent>, Int32)

    Declaration
    public OperationResult Save(IEnumerable<IContent> contents, int userId = default(int))
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<IContent> contents
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    SaveAndPublish(IContent, String, Int32)

    Declaration
    public PublishResult SaveAndPublish(IContent content, string culture = "*", int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.String culture
    System.Int32 userId
    Returns
    Type Description
    PublishResult

    SaveAndPublish(IContent, String[], Int32)

    Declaration
    public PublishResult SaveAndPublish(IContent content, string[] cultures, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.String[] cultures
    System.Int32 userId
    Returns
    Type Description
    PublishResult

    SaveAndPublishBranch(IContent, Boolean, String, Int32)

    Declaration
    public IEnumerable<PublishResult> SaveAndPublishBranch(IContent content, bool force, string culture = "*", int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Boolean force
    System.String culture
    System.Int32 userId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PublishResult>

    SaveAndPublishBranch(IContent, Boolean, String[], Int32)

    Declaration
    public IEnumerable<PublishResult> SaveAndPublishBranch(IContent content, bool force, string[] cultures, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Boolean force
    System.String[] cultures
    System.Int32 userId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PublishResult>

    SaveBlueprint(IContent, Int32)

    Declaration
    public void SaveBlueprint(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.Int32 userId

    SendToPublication(IContent, Int32)

    Sends an to Publication, which executes handlers and events for the 'Send to Publication' action.

    Declaration
    public bool SendToPublication(IContent content, int userId = default(int))
    Parameters
    Type Name Description
    IContent content

    The to send to publication

    System.Int32 userId

    Optional Id of the User issuing the send to publication

    Returns
    Type Description
    System.Boolean

    True if sending publication was successful otherwise false

    SetPermission(IContent, Char, IEnumerable<Int32>)

    Assigns a single permission to the current content item for the specified group ids

    Declaration
    public void SetPermission(IContent entity, char permission, IEnumerable<int> groupIds)
    Parameters
    Type Name Description
    IContent entity
    System.Char permission
    System.Collections.Generic.IEnumerable<System.Int32> groupIds

    SetPermissions(EntityPermissionSet)

    Declaration
    public void SetPermissions(EntityPermissionSet permissionSet)
    Parameters
    Type Name Description
    EntityPermissionSet permissionSet

    Sort(IEnumerable<IContent>, Int32)

    Sorts a collection of objects by updating the SortOrder according to the ordering of items in the passed in items.

    Declaration
    public OperationResult Sort(IEnumerable<IContent> items, int userId = default(int))
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<IContent> items
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    Result indicating what action was taken when handling the command.

    Remarks

    Using this method will ensure that the Published-state is maintained upon sorting so the cache is updated accordingly - as needed.

    Sort(IEnumerable<Int32>, Int32)

    Sorts a collection of objects by updating the SortOrder according to the ordering of items identified by the ids.

    Declaration
    public OperationResult Sort(IEnumerable<int> ids, int userId = default(int))
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Int32> ids
    System.Int32 userId
    Returns
    Type Description
    OperationResult

    Result indicating what action was taken when handling the command.

    Remarks

    Using this method will ensure that the Published-state is maintained upon sorting so the cache is updated accordingly - as needed.

    Unpublish(IContent, String, Int32)

    Declaration
    public PublishResult Unpublish(IContent content, string culture = "*", int userId = default(int))
    Parameters
    Type Name Description
    IContent content
    System.String culture
    System.Int32 userId
    Returns
    Type Description
    PublishResult
    In This Article
    • Constructors
      • ContentService(IScopeProvider, ILoggerFactory, IEventMessagesFactory, IDocumentRepository, IEntityRepository, IAuditRepository, IContentTypeRepository, IDocumentBlueprintRepository, ILanguageRepository, Lazy<IPropertyValidationService>, IShortStringHelper)
    • Methods
      • CheckDataIntegrity(ContentDataIntegrityReportOptions)
      • Copy(IContent, Int32, Boolean, Boolean, Int32)
      • Copy(IContent, Int32, Boolean, Int32)
      • Count(String)
      • CountChildren(Int32, String)
      • CountDescendants(Int32, String)
      • CountPublished(String)
      • Create(String, IContent, String, Int32)
      • Create(String, Guid, String, Int32)
      • Create(String, Int32, IContentType, Int32)
      • Create(String, Int32, String, Int32)
      • CreateAndSave(String, IContent, String, Int32)
      • CreateAndSave(String, Int32, String, Int32)
      • CreateContentFromBlueprint(IContent, String, Int32)
      • Delete(IContent, Int32)
      • DeleteBlueprint(IContent, Int32)
      • DeleteBlueprintsOfType(Int32, Int32)
      • DeleteBlueprintsOfTypes(IEnumerable<Int32>, Int32)
      • DeleteOfType(Int32, Int32)
      • DeleteOfTypes(IEnumerable<Int32>, Int32)
      • DeleteVersion(Int32, Int32, Boolean, Int32)
      • DeleteVersions(Int32, DateTime, Int32)
      • EmptyRecycleBin(Int32)
      • GetAncestors(IContent)
      • GetAncestors(Int32)
      • GetBlueprintById(Guid)
      • GetBlueprintById(Int32)
      • GetBlueprintsForContentTypes(Int32[])
      • GetById(Guid)
      • GetById(Int32)
      • GetByIds(IEnumerable<Guid>)
      • GetByIds(IEnumerable<Int32>)
      • GetByLevel(Int32)
      • GetContentForExpiration(DateTime)
      • GetContentForRelease(DateTime)
      • GetPagedChildren(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)
      • GetPagedContentInRecycleBin(Int64, Int32, out Int64, IQuery<IContent>, Ordering)
      • GetPagedDescendants(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)
      • GetPagedOfType(Int32, Int64, Int32, out Int64, IQuery<IContent>, Ordering)
      • GetPagedOfTypes(Int32[], Int64, Int32, out Int64, IQuery<IContent>, Ordering)
      • GetParent(IContent)
      • GetParent(Int32)
      • GetPermissions(IContent)
      • GetPublishedChildren(Int32)
      • GetRootContent()
      • GetVersion(Int32)
      • GetVersionIds(Int32, Int32)
      • GetVersions(Int32)
      • GetVersionsSlim(Int32, Int32, Int32)
      • HasChildren(Int32)
      • IsPathPublishable(IContent)
      • IsPathPublished(IContent)
      • Move(IContent, Int32, Int32)
      • MoveToRecycleBin(IContent, Int32)
      • PerformScheduledPublish(DateTime)
      • RecycleBinSmells()
      • Rollback(Int32, Int32, String, Int32)
      • Save(IContent, Int32)
      • Save(IEnumerable<IContent>, Int32)
      • SaveAndPublish(IContent, String, Int32)
      • SaveAndPublish(IContent, String[], Int32)
      • SaveAndPublishBranch(IContent, Boolean, String, Int32)
      • SaveAndPublishBranch(IContent, Boolean, String[], Int32)
      • SaveBlueprint(IContent, Int32)
      • SendToPublication(IContent, Int32)
      • SetPermission(IContent, Char, IEnumerable<Int32>)
      • SetPermissions(EntityPermissionSet)
      • Sort(IEnumerable<IContent>, Int32)
      • Sort(IEnumerable<Int32>, Int32)
      • Unpublish(IContent, String, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX