C# 클래스 Bloom.Book.BookMetaData

This just wraps the stuff we put in the json file. It is tempting to just serialize/deserialize the BookInfo itself. However, that would require us to refactor all the code that creates BookInfos, since it expects to use a constructor taking a pathname, while the Json code expects to create the object for us out of the pathname. Also, separating them like this means we don't have to be careful to mark things we don't want in the json.
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
BookMetaData ( ) : System
FromFolder ( string bookFolderPath ) : BookMetaData
FromString ( string input ) : BookMetaData
MetaDataPath ( string bookFolderPath ) : string
SetUploader ( string id ) : void
WriteToFolder ( string bookFolderPath ) : void

메소드 상세

BookMetaData() 공개 메소드

public BookMetaData ( ) : System
리턴 System

FromFolder() 공개 정적인 메소드

public static FromFolder ( string bookFolderPath ) : BookMetaData
bookFolderPath string
리턴 BookMetaData

FromString() 공개 정적인 메소드

public static FromString ( string input ) : BookMetaData
input string
리턴 BookMetaData

MetaDataPath() 공개 정적인 메소드

public static MetaDataPath ( string bookFolderPath ) : string
bookFolderPath string
리턴 string

SetUploader() 공개 메소드

public SetUploader ( string id ) : void
id string
리턴 void

WriteToFolder() 공개 메소드

public WriteToFolder ( string bookFolderPath ) : void
bookFolderPath string
리턴 void