|
Dreamine.Web 1.0.0.0
WPF와 Blazor를 한 코드 흐름으로 연결하고 반복적인 MVVM 코드를 줄이는 오픈소스 FullKit 공식 웹 애플리케이션입니다.
|
Public 멤버 함수 | |
| PlaygroundMediaService () | |
| async Task< string > | SaveAsync (IBrowserFile file, string demoId, string platform, CancellationToken ct=default) |
정적 Private 멤버 함수 | |
| static string | SafeSegment (string? value, string fallback) |
| static string | GuessExtension (string? contentType) |
Private 속성 | |
| readonly string | _uploadRoot |
정적 Private 속성 | |
| static readonly Regex | UnsafeName = new(@"[^a-zA-Z0-9._-]+", RegexOptions.Compiled) |
Playground Media Service 기능과 관련 상태를 캡슐화합니다.
PlaygroundMediaService.cs 파일의 15 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 PlaygroundMediaService 클래스의 새 인스턴스를 초기화합니다.
PlaygroundMediaService.cs 파일의 44 번째 라인에서 정의되었습니다.
다음을 참조함 : _uploadRoot.
|
inlinestaticprivate |
Guess Extension 작업을 수행합니다.
| contentType | content Type에 사용할 string? 값입니다. |
string 결과입니다.PlaygroundMediaService.cs 파일의 190 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SaveAsync().

|
inlinestaticprivate |
Safe Segment 작업을 수행합니다.
| value | 적용할 값입니다. |
| fallback | fallback에 사용할 string 값입니다. |
string 결과입니다.PlaygroundMediaService.cs 파일의 159 번째 라인에서 정의되었습니다.
다음을 참조함 : UnsafeName.
다음에 의해서 참조됨 : SaveAsync().

|
inline |
Async 데이터를 저장합니다.
| file | file에 사용할 IBrowserFile 값입니다. |
| demoId | demo Id에 사용할 string 값입니다. |
| platform | platform에 사용할 string 값입니다. |
| ct | 취소 요청을 감시하는 토큰입니다. |
Task<string> 결과입니다.| InvalidOperationException | 현재 객체 상태에서 Save Async 작업을 수행할 수 없는 경우 발생합니다. |
PlaygroundMediaService.cs 파일의 105 번째 라인에서 정의되었습니다.
다음을 참조함 : _uploadRoot, GuessExtension(), SafeSegment().

|
private |
upload Root 값을 보관합니다.
PlaygroundMediaService.cs 파일의 34 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : PlaygroundMediaService(), SaveAsync().
|
staticprivate |
Unsafe Name 값을 보관합니다.
PlaygroundMediaService.cs 파일의 25 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SafeSegment().