|
Portfolio.Web 1.0.0.0
.NET, Blazor, WPF와 서비스 운영 경험을 프로젝트·이력·기술 스택 단위로 보여주는 개발자 포트폴리오입니다.
|


Public 멤버 함수 | |
| LocalMediaService (PortfolioOptions opts) | |
| async Task< string > | SaveAsync (string slug, string projectId, IBrowserFile file) |
| async Task< string > | SaveVideoAsync (string slug, string projectId, IBrowserFile file) |
| Task | DeleteAsync (string slug, string projectId, string fileName) |
| async Task< string > | SaveProfileImageAsync (string slug, IBrowserFile file) |
| string | GetMediaUrl (string slug, string projectId, string fileName) |
| string | GetProfileImageUrl (string slug, string fileName) |
Private 속성 | |
| readonly string | _root |
정적 Private 속성 | |
| const long | MaxImageBytes = 20 * 1024 * 1024 |
| const long | MaxVideoBytes = 500 * 1024 * 1024 |
Local Media Service 기능과 관련 상태를 캡슐화합니다.
LocalMediaService.cs 파일의 14 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 LocalMediaService 클래스의 새 인스턴스를 초기화합니다.
| opts | opts에 사용할 PortfolioOptions 값입니다. |
LocalMediaService.cs 파일의 60 번째 라인에서 정의되었습니다.
다음을 참조함 : _root.
|
inline |
Delete Async 작업을 수행합니다.
| slug | slug에 사용할 string 값입니다. |
| projectId | project Id에 사용할 string 값입니다. |
| fileName | file Name에 사용할 string 값입니다. |
Task 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 206 번째 라인에서 정의되었습니다.
다음을 참조함 : _root.
|
inline |
Media Url 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
| projectId | project Id에 사용할 string 값입니다. |
| fileName | file Name에 사용할 string 값입니다. |
string 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 297 번째 라인에서 정의되었습니다.
|
inline |
Profile Image Url 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
| fileName | file Name에 사용할 string 값입니다. |
string 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 332 번째 라인에서 정의되었습니다.
|
inline |
Async 데이터를 저장합니다.
| slug | slug에 사용할 string 값입니다. |
| projectId | project Id에 사용할 string 값입니다. |
| file | file에 사용할 IBrowserFile 값입니다. |
Task<string> 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 102 번째 라인에서 정의되었습니다.
다음을 참조함 : _root, MaxImageBytes.
|
inline |
Profile Image Async 데이터를 저장합니다.
| slug | slug에 사용할 string 값입니다. |
| file | file에 사용할 IBrowserFile 값입니다. |
Task<string> 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 245 번째 라인에서 정의되었습니다.
다음을 참조함 : _root, MaxImageBytes.
|
inline |
Video Async 데이터를 저장합니다.
| slug | slug에 사용할 string 값입니다. |
| projectId | project Id에 사용할 string 값입니다. |
| file | file에 사용할 IBrowserFile 값입니다. |
Task<string> 결과입니다.PortfolioApp.Services.IMediaService를 구현.
LocalMediaService.cs 파일의 154 번째 라인에서 정의되었습니다.
다음을 참조함 : _root, MaxVideoBytes.
|
private |
root 값을 보관합니다.
LocalMediaService.cs 파일의 24 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : DeleteAsync(), LocalMediaService(), SaveAsync(), SaveProfileImageAsync(), SaveVideoAsync().
|
staticprivate |
Max Image Bytes 값을 보관합니다.
LocalMediaService.cs 파일의 33 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SaveAsync(), SaveProfileImageAsync().
|
staticprivate |
Max Video Bytes 값을 보관합니다.
LocalMediaService.cs 파일의 42 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SaveVideoAsync().