|
Families.AutoWriter 1.0.0.0
Families 콘텐츠를 반복 작업 없이 작성·등록하도록 돕는 자동화 작성 도구입니다.
|
Public 멤버 함수 | |
| IReadOnlyList< AlbumInfo > | GetAlbums (string slug) |
| IReadOnlyList< string > | GetSlugs () |
| async Task< bool > | SavePostAsync (string slug, PostEntry post, IEnumerable< string > localPhotoPaths) |
| IReadOnlyList< string > | GetExistingTitles (string slug) |
| DateTime? int LastNumber | GetCookingTimelineState (string slug) |
Public 속성 | |
| DateTime? | LastPostedAt |
속성 | |
| string | AppDataRoot = "" [get, set] |
정적 Private 멤버 함수 | |
| static bool | IsCookingPost (string title) |
| static int | ExtractCookingNumber (string title) |
| static bool | TryGetPropertyIgnoreCase (JsonElement element, string name, out JsonElement value) |
| static string | Sanitize (string id) |
정적 Private 속성 | |
| static readonly JsonSerializerOptions | _opts |
Post Writer Service 기능과 관련 상태를 캡슐화합니다.
PostWriterService.cs 파일의 17 번째 라인에서 정의되었습니다.
|
inlinestaticprivate |
Extract Cooking Number 작업을 수행합니다.
| title | title에 사용할 string 값입니다. |
int 결과입니다.PostWriterService.cs 파일의 368 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetCookingTimelineState().

|
inline |
Albums 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
IReadOnlyList<AlbumInfo> 결과입니다.PostWriterService.cs 파일의 69 번째 라인에서 정의되었습니다.
다음을 참조함 : _opts, AppDataRoot.
|
inline |
PostWriterService.cs 파일의 290 번째 라인에서 정의되었습니다.
다음을 참조함 : _opts, AppDataRoot, ExtractCookingNumber(), IsCookingPost(), LastPostedAt.

|
inline |
Existing Titles 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
IReadOnlyList<string> 결과입니다.PostWriterService.cs 파일의 245 번째 라인에서 정의되었습니다.
다음을 참조함 : AppDataRoot, TryGetPropertyIgnoreCase().

|
inline |
Slugs 값을 가져옵니다.
IReadOnlyList<string> 결과입니다.PostWriterService.cs 파일의 103 번째 라인에서 정의되었습니다.
다음을 참조함 : AppDataRoot.
|
inlinestaticprivate |
Is Cooking Post 조건을 확인합니다.
| title | title에 사용할 string 값입니다. |
true이고, 그렇지 않으면 false입니다.PostWriterService.cs 파일의 340 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetCookingTimelineState().

|
inlinestaticprivate |
Sanitize 작업을 수행합니다.
| id | id에 사용할 string 값입니다. |
string 결과입니다.PostWriterService.cs 파일의 453 번째 라인에서 정의되었습니다.
|
inline |
Post Async 데이터를 저장합니다.
| slug | slug에 사용할 string 값입니다. |
| post | post에 사용할 PostEntry 값입니다. |
| localPhotoPaths | local Photo Paths에 사용할 IEnumerable<string> 값입니다. |
Task<bool> 결과입니다.| InvalidOperationException | 현재 객체 상태에서 Save Post Async 작업을 수행할 수 없는 경우 발생합니다. |
| IOException | Save Post Async 작업을 완료할 수 없는 경우 IOException이 발생합니다. |
PostWriterService.cs 파일의 170 번째 라인에서 정의되었습니다.
다음을 참조함 : _opts, AppDataRoot, FamiliesAutoWriter.Models.PostEntry.Id.
|
inlinestaticprivate |
Get Property Ignore Case 작업을 시도하고 성공 여부를 반환합니다.
| element | element에 사용할 JsonElement 값입니다. |
| name | name에 사용할 string 값입니다. |
| value | 적용할 값입니다. |
true이고, 그렇지 않으면 false입니다.PostWriterService.cs 파일의 414 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetExistingTitles().

|
staticprivate |
opts 값을 보관합니다.
PostWriterService.cs 파일의 29 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetAlbums(), GetCookingTimelineState(), SavePostAsync().
| DateTime? FamiliesAutoWriter.Services.PostWriterService.LastPostedAt |
Cooking Timeline State 값을 가져옵니다.
| slug | slug에 사용할 string 값입니다. |
(DateTime? LastPostedAt, int LastNumber) 결과입니다.PostWriterService.cs 파일의 290 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetCookingTimelineState().
|
getset |
App Data Root 값을 가져오거나 설정합니다.
PostWriterService.cs 파일의 43 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetAlbums(), GetCookingTimelineState(), GetExistingTitles(), GetSlugs(), SavePostAsync().