|
WeddingThankYou 1.0.0.0
결혼식 이후 감사 인사와 사진, 계좌 안내, 연락처를 모바일 페이지로 전달하는 감사장 서비스입니다.
|


Public 멤버 함수 | |
| FileSystemMediaUsageQueryService (ITenantStore tenants, IMediaMigrationService migrations) | |
| async Task< TenantMediaUsageSummary > | GetTenantUsageAsync (TenantConfig tenant, CancellationToken ct=default) |
| async Task< IReadOnlyDictionary< string, TenantMediaUsageSummary > > | GetTenantUsageAsync (IEnumerable< TenantConfig > tenants, CancellationToken ct=default) |
정적 Private 멤버 함수 | |
| static MediaMigrationState | InferMigrationState (TenantConfig tenant) |
| static long | SumTenantVideos (string root, IEnumerable< string > fileNames, out DateTime? lastModified) |
| static long | SumFiles (string path, ISet< string > allowedExtensions, out DateTime? lastModified) |
| static void | AddFile (string path, ref long total, ref DateTime? lastModified) |
| static ? DateTime | MaxDate (params DateTime?[] values) |
Private 속성 | |
| readonly ITenantStore | _tenants |
| readonly IMediaMigrationService | _migrations |
정적 Private 속성 | |
| static readonly HashSet< string > | ImageExtensions |
| static readonly HashSet< string > | VideoExtensions |
| static readonly HashSet< string > | RootMediaExtensions |
App_Data 파일 구조를 기준으로 테넌트별 미디어 사용량을 계산합니다.
FileSystemMediaUsageQueryService.cs 파일의 14 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 FileSystemMediaUsageQueryService 클래스의 새 인스턴스를 초기화합니다.
| tenants | tenants에 사용할 ITenantStore 값입니다. |
| migrations | migrations에 사용할 IMediaMigrationService 값입니다. |
FileSystemMediaUsageQueryService.cs 파일의 98 번째 라인에서 정의되었습니다.
다음을 참조함 : _migrations, _tenants.
|
inlinestaticprivate |
File 항목을 추가합니다.
| path | path에 사용할 string 값입니다. |
| total | total에 사용할 long 값입니다. |
| lastModified | last Modified에 사용할 DateTime? 값입니다. |
FileSystemMediaUsageQueryService.cs 파일의 381 번째 라인에서 정의되었습니다.
다음을 참조함 : MaxDate().
다음에 의해서 참조됨 : SumFiles(), SumTenantVideos().


|
inline |
Tenant Usage Async 값을 가져옵니다.
| tenants | tenants에 사용할 IEnumerable<TenantConfig> 값입니다. |
| ct | 취소 요청을 감시하는 토큰입니다. |
Task<IReadOnlyDictionary<string, TenantMediaUsageSummary>> 결과입니다.WeddingThankYou.Services.IMediaUsageQueryService를 구현.
FileSystemMediaUsageQueryService.cs 파일의 196 번째 라인에서 정의되었습니다.
다음을 참조함 : GetTenantUsageAsync().

|
inline |
Tenant Usage Async 값을 가져옵니다.
| tenant | tenant에 사용할 TenantConfig 값입니다. |
| ct | 취소 요청을 감시하는 토큰입니다. |
Task<TenantMediaUsageSummary> 결과입니다.WeddingThankYou.Services.IMediaUsageQueryService를 구현.
FileSystemMediaUsageQueryService.cs 파일의 136 번째 라인에서 정의되었습니다.
다음을 참조함 : _migrations, _tenants, WeddingThankYou.Models.TenantConfig.CreatedAt, WeddingThankYou.Models.TenantConfig.GalleryFileNames, ImageExtensions, InferMigrationState(), MaxDate(), RootMediaExtensions, WeddingThankYou.Models.TenantConfig.Slug, SumFiles(), SumTenantVideos(), WeddingThankYou.Models.TenantConfig.VideoFileNames.
다음에 의해서 참조됨 : GetTenantUsageAsync().


|
inlinestaticprivate |
Infer Migration State 작업을 수행합니다.
| tenant | tenant에 사용할 TenantConfig 값입니다. |
MediaMigrationState 결과입니다.FileSystemMediaUsageQueryService.cs 파일의 231 번째 라인에서 정의되었습니다.
다음을 참조함 : WeddingThankYou.Models.Completed, WeddingThankYou.Models.TenantConfig.GalleryFileNames.
다음에 의해서 참조됨 : GetTenantUsageAsync().

|
inlinestaticprivate |
Max Date 작업을 수행합니다.
| values | values에 사용할 DateTime?[] 값입니다. |
DateTime? 결과입니다.FileSystemMediaUsageQueryService.cs 파일의 419 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : AddFile(), GetTenantUsageAsync().

|
inlinestaticprivate |
Sum Files 작업을 수행합니다.
| path | path에 사용할 string 값입니다. |
| allowedExtensions | allowed Extensions에 사용할 ISet<string> 값입니다. |
| lastModified | last Modified에 사용할 DateTime? 값입니다. |
long 결과입니다.FileSystemMediaUsageQueryService.cs 파일의 334 번째 라인에서 정의되었습니다.
다음을 참조함 : AddFile().
다음에 의해서 참조됨 : GetTenantUsageAsync().


|
inlinestaticprivate |
Sum Tenant Videos 작업을 수행합니다.
| root | root에 사용할 string 값입니다. |
| fileNames | file Names에 사용할 IEnumerable<string> 값입니다. |
| lastModified | last Modified에 사용할 DateTime? 값입니다. |
long 결과입니다.FileSystemMediaUsageQueryService.cs 파일의 279 번째 라인에서 정의되었습니다.
다음을 참조함 : AddFile(), VideoExtensions.
다음에 의해서 참조됨 : GetTenantUsageAsync().


|
private |
migrations 값을 보관합니다.
FileSystemMediaUsageQueryService.cs 파일의 72 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : FileSystemMediaUsageQueryService(), GetTenantUsageAsync().
|
private |
tenants 값을 보관합니다.
FileSystemMediaUsageQueryService.cs 파일의 63 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : FileSystemMediaUsageQueryService(), GetTenantUsageAsync().
|
staticprivate |
Image Extensions 값을 보관합니다.
FileSystemMediaUsageQueryService.cs 파일의 24 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetTenantUsageAsync().
|
staticprivate |
Root Media Extensions 값을 보관합니다.
FileSystemMediaUsageQueryService.cs 파일의 50 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetTenantUsageAsync().
|
staticprivate |
Video Extensions 값을 보관합니다.
FileSystemMediaUsageQueryService.cs 파일의 37 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SumTenantVideos().