Interface IMediaRepository
Namespace: Umbraco.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface IMediaRepository : IContentRepository<int, IMedia>, IReadWriteQueryRepository<int, IMedia>, IReadRepository<int, IMedia>, IWriteRepository<IMedia>, IQueryRepository<IMedia>, IReadRepository<Guid, IMedia>, IRepository
Methods
View SourceGetMediaByPath(String)
Declaration
IMedia GetMediaByPath(string mediaPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaPath |
Returns
Type | Description |
---|---|
IMedia |
RecycleBinSmells()
Declaration
bool RecycleBinSmells()
Returns
Type | Description |
---|---|
System.Boolean |