|
ShopPlatform.Web 1.0.0.0
농산물, 소프트웨어 라이선스와 개발 용역을 직접 판매하는 CodeMaru 직영 쇼핑몰입니다.
|
Public 멤버 함수 | |
| ShopCustomerProfileStore (ShopOptions options) | |
| async Task< ShopCustomerProfile?> | GetAsync (string slug, string userId) |
| async Task | SaveAsync (string slug, ShopCustomerProfile profile) |
Private 멤버 함수 | |
| async Task< List< ShopCustomerProfile > > | LoadAsync (string slug) |
| string | ShopDir (string slug) |
| string | ProfilePath (string slug) |
Private 속성 | |
| readonly string | _root |
정적 Private 속성 | |
| static readonly JsonSerializerOptions | JsonOptions = new() { WriteIndented = true } |
Shop Customer Profile Store 기능과 관련 상태를 캡슐화합니다.
ShopCustomerProfileStore.cs 파일의 14 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 ShopCustomerProfileStore 클래스의 새 인스턴스를 초기화합니다.
| options | 동작을 구성하는 설정입니다. |
ShopCustomerProfileStore.cs 파일의 51 번째 라인에서 정의되었습니다.
다음을 참조함 : _root, ShopPlatform.Models.ShopOptions.ResolvedDataPath.
|
inline |
Async 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
| userId | user Id에 사용할 string 값입니다. |
Task<ShopCustomerProfile?> 결과입니다.ShopCustomerProfileStore.cs 파일의 88 번째 라인에서 정의되었습니다.
다음을 참조함 : LoadAsync().

|
inlineprivate |
Async 데이터를 불러옵니다.
| slug | slug에 사용할 string 값입니다. |
Task<List<ShopCustomerProfile>> 결과입니다.ShopCustomerProfileStore.cs 파일의 169 번째 라인에서 정의되었습니다.
다음을 참조함 : JsonOptions, ProfilePath().
다음에 의해서 참조됨 : GetAsync(), SaveAsync().


|
inlineprivate |
Profile Path 작업을 수행합니다.
| slug | slug에 사용할 string 값입니다. |
string 결과입니다.ShopCustomerProfileStore.cs 파일의 230 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : LoadAsync(), SaveAsync().

|
inline |
Async 데이터를 저장합니다.
| slug | slug에 사용할 string 값입니다. |
| profile | profile에 사용할 ShopCustomerProfile 값입니다. |
Task 결과입니다.ShopCustomerProfileStore.cs 파일의 126 번째 라인에서 정의되었습니다.
다음을 참조함 : JsonOptions, LoadAsync(), ProfilePath(), ShopDir(), ShopPlatform.Models.ShopCustomerProfile.UserId.

|
inlineprivate |
Shop Dir 작업을 수행합니다.
| slug | slug에 사용할 string 값입니다. |
string 결과입니다.ShopCustomerProfileStore.cs 파일의 205 번째 라인에서 정의되었습니다.
다음을 참조함 : _root.
다음에 의해서 참조됨 : SaveAsync().

|
private |
root 값을 보관합니다.
ShopCustomerProfileStore.cs 파일의 24 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ShopCustomerProfileStore(), ShopDir().
|
staticprivate |
Json Options 값을 보관합니다.
ShopCustomerProfileStore.cs 파일의 33 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : LoadAsync(), SaveAsync().