Inheritance
System.Object
Assembly: cs.temp.dll.dll
public class MediaTypeService : ContentTypeServiceBase<IMediaTypeRepository, IMediaType>
Constructors
Declaration
public MediaTypeService(IScopeProvider provider, ILoggerFactory loggerFactory, IEventMessagesFactory eventMessagesFactory, IMediaService mediaService, IMediaTypeRepository mediaTypeRepository, IAuditRepository auditRepository, IMediaTypeContainerRepository entityContainerRepository, IEntityRepository entityRepository, IEventAggregator eventAggregator)
Parameters
Type |
Name |
Description |
IScopeProvider |
provider |
|
ILoggerFactory |
loggerFactory |
|
IEventMessagesFactory |
eventMessagesFactory |
|
IMediaService |
mediaService |
|
IMediaTypeRepository |
mediaTypeRepository |
|
IAuditRepository |
auditRepository |
|
IMediaTypeContainerRepository |
entityContainerRepository |
|
IEntityRepository |
entityRepository |
|
IEventAggregator |
eventAggregator |
|
Properties
Declaration
protected override Guid ContainedObjectType { get; }
Property Value
Type |
Description |
System.Guid |
|
Declaration
protected override int[] ReadLockIds { get; }
Property Value
Type |
Description |
System.Int32[] |
|
Declaration
protected override int[] WriteLockIds { get; }
Property Value
Type |
Description |
System.Int32[] |
|
Methods
Declaration
protected override void DeleteItemsOfTypes(IEnumerable<int> typeIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
typeIds |
|
GetContentTypeChangedNotification(IEnumerable<ContentTypeChange<IMediaType>>, EventMessages)
Declaration
protected override ContentTypeChangeNotification<IMediaType> GetContentTypeChangedNotification(IEnumerable<ContentTypeChange<IMediaType>> changes, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ContentTypeChange<IMediaType>> |
changes |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
ContentTypeChangeNotification<IMediaType> |
|
GetContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IMediaType>>, EventMessages)
Declaration
protected override ContentTypeRefreshNotification<IMediaType> GetContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IMediaType>> changes, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ContentTypeChange<IMediaType>> |
changes |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
ContentTypeRefreshNotification<IMediaType> |
|
Declaration
protected override DeletedNotification<IMediaType> GetDeletedNotification(IEnumerable<IMediaType> items, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMediaType> |
items |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
DeletedNotification<IMediaType> |
|
Declaration
protected override DeletingNotification<IMediaType> GetDeletingNotification(IMediaType item, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
IMediaType |
item |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
DeletingNotification<IMediaType> |
|
Declaration
protected override DeletingNotification<IMediaType> GetDeletingNotification(IEnumerable<IMediaType> items, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMediaType> |
items |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
DeletingNotification<IMediaType> |
|
Declaration
protected override MovedNotification<IMediaType> GetMovedNotification(IEnumerable<MoveEventInfo<IMediaType>> moveInfo, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<MoveEventInfo<IMediaType>> |
moveInfo |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
MovedNotification<IMediaType> |
|
Declaration
protected override MovingNotification<IMediaType> GetMovingNotification(MoveEventInfo<IMediaType> moveInfo, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
MoveEventInfo<IMediaType> |
moveInfo |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
MovingNotification<IMediaType> |
|
Declaration
protected override SavedNotification<IMediaType> GetSavedNotification(IMediaType item, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
IMediaType |
item |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
SavedNotification<IMediaType> |
|
Declaration
protected override SavedNotification<IMediaType> GetSavedNotification(IEnumerable<IMediaType> items, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMediaType> |
items |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
SavedNotification<IMediaType> |
|
Declaration
protected override SavingNotification<IMediaType> GetSavingNotification(IMediaType item, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
IMediaType |
item |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
SavingNotification<IMediaType> |
|
Declaration
protected override SavingNotification<IMediaType> GetSavingNotification(IEnumerable<IMediaType> items, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMediaType> |
items |
|
EventMessages |
eventMessages |
|
Returns
Type |
Description |
SavingNotification<IMediaType> |
|