C# 클래스 GoNorth.Services.Export.Dialog.StepRenderers.ScribanBaseStepRenderer

Base Class for Rendering Dialog Steps with Scriban
파일 보기 프로젝트 열기: steffendx/GoNorth

보호된 프로퍼티들

프로퍼티 타입 설명
_errorCollection ExportPlaceholderErrorCollection
_exportSettings ExportSettings
_localizerFactory IStringLocalizerFactory

공개 메소드들

메소드 설명
BuildDialogRenderObject ( ExportDialogData curStep, ExportDialogData nextStep, FlexFieldObject flexFieldObject ) : T

Renders a dialog step

GetNodePlaceholders ( string objectKey ) : List

Returns the base placeholders

ScribanBaseStepRenderer ( ExportPlaceholderErrorCollection errorCollection, ExportSettings exportSettings, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic

Constructor

SetExportTemplatePlaceholderResolver ( IExportTemplatePlaceholderResolver templatePlaceholderResolver ) : void

Sets the export template placeholder resolver

SetRenderObjectBaseData ( ScribanDialogStepBaseData renderObject, ExportDialogData stepData, ScribanFlexFieldObject exportNpc ) : void

Sets the render object base data

SetRenderObjectBaseDataFromFlexFieldObject ( ScribanDialogStepBaseData renderObject, ExportDialogData stepData, FlexFieldObject flexFieldObject ) : void

Sets the render object base data

메소드 상세

BuildDialogRenderObject() 공개 메소드

Renders a dialog step
public BuildDialogRenderObject ( ExportDialogData curStep, ExportDialogData nextStep, FlexFieldObject flexFieldObject ) : T
curStep ExportDialogData Current Step
nextStep ExportDialogData Next step
flexFieldObject FlexFieldObject Flexfield object to which the dialog belongs
리턴 T

GetNodePlaceholders() 공개 메소드

Returns the base placeholders
public GetNodePlaceholders ( string objectKey ) : List
objectKey string
리턴 List

ScribanBaseStepRenderer() 공개 메소드

Constructor
public ScribanBaseStepRenderer ( ExportPlaceholderErrorCollection errorCollection, ExportSettings exportSettings, IStringLocalizerFactory localizerFactory ) : System.Collections.Generic
errorCollection ExportPlaceholderErrorCollection Error Collection
exportSettings ExportSettings Export settings
localizerFactory IStringLocalizerFactory Localizer Factor
리턴 System.Collections.Generic

SetExportTemplatePlaceholderResolver() 공개 메소드

Sets the export template placeholder resolver
public SetExportTemplatePlaceholderResolver ( IExportTemplatePlaceholderResolver templatePlaceholderResolver ) : void
templatePlaceholderResolver IExportTemplatePlaceholderResolver Template placeholder resolver
리턴 void

SetRenderObjectBaseData() 공개 메소드

Sets the render object base data
public SetRenderObjectBaseData ( ScribanDialogStepBaseData renderObject, ExportDialogData stepData, ScribanFlexFieldObject exportNpc ) : void
renderObject ScribanDialogStepBaseData Render object to fill
stepData ExportDialogData Step data
exportNpc ScribanFlexFieldObject Npc to export
리턴 void

SetRenderObjectBaseDataFromFlexFieldObject() 공개 메소드

Sets the render object base data
public SetRenderObjectBaseDataFromFlexFieldObject ( ScribanDialogStepBaseData renderObject, ExportDialogData stepData, FlexFieldObject flexFieldObject ) : void
renderObject ScribanDialogStepBaseData Render object to fill
stepData ExportDialogData Step data
flexFieldObject FlexFieldObject Flexfield object to which the dialog belongs
리턴 void

프로퍼티 상세

_errorCollection 보호되어 있는 프로퍼티

Error Collection
protected ExportPlaceholderErrorCollection _errorCollection
리턴 ExportPlaceholderErrorCollection

_exportSettings 보호되어 있는 프로퍼티

Export Settings
protected ExportSettings _exportSettings
리턴 ExportSettings

_localizerFactory 보호되어 있는 프로퍼티

String Localizer Factory
protected IStringLocalizerFactory _localizerFactory
리턴 IStringLocalizerFactory