C# 클래스 TerrificNet.ViewEngine.ModelProviders.JsonModelProvider

상속: IModelProvider
파일 보기 프로젝트 열기: namics/TerrificNet

공개 메소드들

메소드 설명
GetDataVariations ( ModuleDefinition moduleDefinition ) : IEnumerable
GetDefaultModelForTemplateAsync ( TemplateInfo template ) : Task
GetModelForModuleAsync ( ModuleDefinition moduleDefinition, string dataId ) : Task
GetModelForTemplateAsync ( TemplateInfo template, string dataId ) : Task
JsonModelProvider ( IFileSystem fileSystem ) : System.Collections.Generic
UpdateDefaultModelForTemplateAsync ( TemplateInfo template, object content ) : System.Threading.Tasks.Task
UpdateModelForModuleAsync ( ModuleDefinition moduleDefinition, string dataId, object content ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetModelFromPathAsync ( PathInfo filePath ) : Task
GetPath ( ModuleDefinition moduleDefinition, PathInfo dataId ) : PathInfo
GetPath ( TemplateInfo templateInfo, PathInfo id ) : PathInfo
Update ( object content, PathInfo filePath ) : System.Threading.Tasks.Task

메소드 상세

GetDataVariations() 공개 메소드

public GetDataVariations ( ModuleDefinition moduleDefinition ) : IEnumerable
moduleDefinition ModuleDefinition
리턴 IEnumerable

GetDefaultModelForTemplateAsync() 공개 메소드

public GetDefaultModelForTemplateAsync ( TemplateInfo template ) : Task
template TemplateInfo
리턴 Task

GetModelForModuleAsync() 공개 메소드

public GetModelForModuleAsync ( ModuleDefinition moduleDefinition, string dataId ) : Task
moduleDefinition ModuleDefinition
dataId string
리턴 Task

GetModelForTemplateAsync() 공개 메소드

public GetModelForTemplateAsync ( TemplateInfo template, string dataId ) : Task
template TemplateInfo
dataId string
리턴 Task

JsonModelProvider() 공개 메소드

public JsonModelProvider ( IFileSystem fileSystem ) : System.Collections.Generic
fileSystem IFileSystem
리턴 System.Collections.Generic

UpdateDefaultModelForTemplateAsync() 공개 메소드

public UpdateDefaultModelForTemplateAsync ( TemplateInfo template, object content ) : System.Threading.Tasks.Task
template TemplateInfo
content object
리턴 System.Threading.Tasks.Task

UpdateModelForModuleAsync() 공개 메소드

public UpdateModelForModuleAsync ( ModuleDefinition moduleDefinition, string dataId, object content ) : System.Threading.Tasks.Task
moduleDefinition ModuleDefinition
dataId string
content object
리턴 System.Threading.Tasks.Task