Class MediaItemDto
- Namespace
- Raytha.Application.MediaItems
- Assembly
- Raytha.Application.dll
public record MediaItemDto : BaseAuditableEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<BaseAuditableEntityDto>, IEquatable<MediaItemDto>
- Inheritance
-
MediaItemDto
- Implements
- Inherited Members
Properties
ContentType
public string ContentType { get; init; }
Property Value
FileName
public string FileName { get; init; }
Property Value
FileStorageProvider
public string FileStorageProvider { get; init; }
Property Value
Length
public long Length { get; init; }
Property Value
ObjectKey
public string ObjectKey { get; init; }
Property Value
Methods
GetProjection()
public static Expression<Func<MediaItem, MediaItemDto>> GetProjection()
Returns
- Expression<Func<MediaItem, MediaItemDto>>
GetProjection(MediaItem)
public static MediaItemDto GetProjection(MediaItem entity)
Parameters
entity
MediaItem