Table of Contents

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

string

FileName

public string FileName { get; init; }

Property Value

string

FileStorageProvider

public string FileStorageProvider { get; init; }

Property Value

string

Length

public long Length { get; init; }

Property Value

long

ObjectKey

public string ObjectKey { get; init; }

Property Value

string

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

Returns

MediaItemDto