View Source
Class ContentTypeServiceBase<TItem, TService>
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class ContentTypeServiceBase<TItem, TService> : ContentTypeServiceBase, IService where TItem : class, IContentTypeComposition where TService : class, IContentTypeBaseService<TItem>
Type Parameters
Name |
Description |
TItem |
|
TService |
|
Constructors
View Source
ContentTypeServiceBase(IScopeProvider, ILogger, IEventMessagesFactory)
Declaration
protected ContentTypeServiceBase(IScopeProvider provider, ILogger logger, IEventMessagesFactory eventMessagesFactory)
Parameters
Properties
View Source
This
Declaration
protected abstract TService This { get; }
Property Value
Type |
Description |
TService |
|
Methods
View Source
OnChanged(IScope, ContentTypeChange<TItem>.EventArgs)
Declaration
protected void OnChanged(IScope scope, ContentTypeChange<TItem>.EventArgs args)
Parameters
View Source
OnDeleted(IScope, DeleteEventArgs<TItem>)
Declaration
protected void OnDeleted(IScope scope, DeleteEventArgs<TItem> args)
Parameters
View Source
OnDeletedContainer(IScope, DeleteEventArgs<EntityContainer>)
Declaration
protected void OnDeletedContainer(IScope scope, DeleteEventArgs<EntityContainer> args)
Parameters
View Source
OnDeletingCancelled(IScope, DeleteEventArgs<TItem>)
Declaration
protected bool OnDeletingCancelled(IScope scope, DeleteEventArgs<TItem> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnDeletingContainerCancelled(IScope, DeleteEventArgs<EntityContainer>)
Declaration
protected bool OnDeletingContainerCancelled(IScope scope, DeleteEventArgs<EntityContainer> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnMoved(IScope, MoveEventArgs<TItem>)
Declaration
protected void OnMoved(IScope scope, MoveEventArgs<TItem> args)
Parameters
View Source
OnMovingCancelled(IScope, MoveEventArgs<TItem>)
Declaration
protected bool OnMovingCancelled(IScope scope, MoveEventArgs<TItem> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnRenamedContainer(IScope, SaveEventArgs<EntityContainer>)
Declaration
protected void OnRenamedContainer(IScope scope, SaveEventArgs<EntityContainer> args)
Parameters
View Source
OnRenamingContainerCancelled(IScope, SaveEventArgs<EntityContainer>)
Declaration
protected bool OnRenamingContainerCancelled(IScope scope, SaveEventArgs<EntityContainer> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnSaved(IScope, SaveEventArgs<TItem>)
Declaration
protected void OnSaved(IScope scope, SaveEventArgs<TItem> args)
Parameters
View Source
OnSavedContainer(IScope, SaveEventArgs<EntityContainer>)
Declaration
protected void OnSavedContainer(IScope scope, SaveEventArgs<EntityContainer> args)
Parameters
View Source
OnSavingCancelled(IScope, SaveEventArgs<TItem>)
Declaration
protected bool OnSavingCancelled(IScope scope, SaveEventArgs<TItem> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnSavingContainerCancelled(IScope, SaveEventArgs<EntityContainer>)
Declaration
protected bool OnSavingContainerCancelled(IScope scope, SaveEventArgs<EntityContainer> args)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
OnUowRefreshedEntity(ContentTypeChange<TItem>.EventArgs)
Declaration
protected void OnUowRefreshedEntity(ContentTypeChange<TItem>.EventArgs args)
Parameters
Events
View Source
Deleted
Declaration
public static event TypedEventHandler<TService, DeleteEventArgs<TItem>> Deleted
Event Type
View Source
DeletedContainer
Declaration
public static event TypedEventHandler<TService, DeleteEventArgs<EntityContainer>> DeletedContainer
Event Type
View Source
Deleting
Declaration
public static event TypedEventHandler<TService, DeleteEventArgs<TItem>> Deleting
Event Type
View Source
DeletingContainer
Declaration
public static event TypedEventHandler<TService, DeleteEventArgs<EntityContainer>> DeletingContainer
Event Type
View Source
Moved
Declaration
public static event TypedEventHandler<TService, MoveEventArgs<TItem>> Moved
Event Type
View Source
Moving
Declaration
public static event TypedEventHandler<TService, MoveEventArgs<TItem>> Moving
Event Type
View Source
Saved
Declaration
public static event TypedEventHandler<TService, SaveEventArgs<TItem>> Saved
Event Type
View Source
SavedContainer
Declaration
public static event TypedEventHandler<TService, SaveEventArgs<EntityContainer>> SavedContainer
Event Type
View Source
Saving
Declaration
public static event TypedEventHandler<TService, SaveEventArgs<TItem>> Saving
Event Type
View Source
SavingContainer
Declaration
public static event TypedEventHandler<TService, SaveEventArgs<EntityContainer>> SavingContainer
Event Type
View Source
ScopedRefreshedEntity
Declaration
public static event TypedEventHandler<TService, ContentTypeChange<TItem>.EventArgs> ScopedRefreshedEntity
Event Type