C# Класс Rebel.Cms.Web.Editors.TemplateEditorController

Наследование: AbstractFileEditorController
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System

Защищенные методы

Метод Описание
CreatePaths ( File file ) : EntityPathCollection
EnsureViewData ( FileEditorModel model, File file ) : void
OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void

Описание методов

CreateNewEditorModel() публичный Метод

public CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
fileName string
parentId HiveId
stubFileId HiveId
Результат Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel

CreatePaths() защищенный Метод

protected CreatePaths ( File file ) : EntityPathCollection
file Rebel.Framework.Persistence.Model.IO.File
Результат EntityPathCollection

EnsureViewData() защищенный Метод

protected EnsureViewData ( FileEditorModel model, File file ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
file Rebel.Framework.Persistence.Model.IO.File
Результат void

OnBeforeCreate() защищенный Метод

protected OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
createModel Rebel.Cms.Web.Model.BackOffice.Editors.CreateFileModel
editorModel Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
Результат void

PopulateFileContentFromStub() защищенный Метод

protected PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
stubFileId HiveId
replacements string>.IDictionary
Результат void

TemplateEditorController() публичный Метод

public TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
Результат System