C# 클래스 GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.ValueCollector.InventoryValueCollector

Class for Inventory Scriban value collectors
상속: GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.ValueCollector.BaseScribanValueCollector
파일 보기 프로젝트 열기: steffendx/GoNorth

공개 메소드들

메소드 설명
CollectValues ( TemplateType templateType, Template parsedTemplate, ScriptObject scriptObject, ExportObjectData data ) : Task

Collects the values for an export

GetExportTemplatePlaceholdersForType ( TemplateType templateType ) : List

Returns the Export Template Placeholders for a Template Type

InventoryValueCollector ( IExportCachedDbAccess exportCachedDbAccess, IScribanLanguageKeyGenerator languageKeyGenerator, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic

Constructor

IsValidForTemplateType ( TemplateType templateType ) : bool

Returns true if the value collector is valid for a given template type

비공개 메소드들

메소드 설명
LoadInventory ( Template parsedTemplate, KortistoNpc inputNpc ) : Task>

Loads the inventory

메소드 상세

CollectValues() 공개 메소드

Collects the values for an export
public CollectValues ( TemplateType templateType, Template parsedTemplate, ScriptObject scriptObject, ExportObjectData data ) : Task
templateType TemplateType Template type
parsedTemplate Template Parsed scriban template
scriptObject ScriptObject Scriban script object to fill
data ExportObjectData Export Data
리턴 Task

GetExportTemplatePlaceholdersForType() 공개 메소드

Returns the Export Template Placeholders for a Template Type
public GetExportTemplatePlaceholdersForType ( TemplateType templateType ) : List
templateType TemplateType Template Type
리턴 List

InventoryValueCollector() 공개 메소드

Constructor
public InventoryValueCollector ( IExportCachedDbAccess exportCachedDbAccess, IScribanLanguageKeyGenerator languageKeyGenerator, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic
exportCachedDbAccess IExportCachedDbAccess Export cached database access
languageKeyGenerator IScribanLanguageKeyGenerator Language key generator
localizerFactory IStringLocalizerFactory Localizer Factory
리턴 System.Collections.Generic

IsValidForTemplateType() 공개 메소드

Returns true if the value collector is valid for a given template type
public IsValidForTemplateType ( TemplateType templateType ) : bool
templateType TemplateType Template type
리턴 bool