C# 클래스 Rebel.Cms.Web.Macros.MacroSerializer

A class used to serialize/deserialize a macro
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
FromFile ( File file ) : MacroEditorModel
FromXml ( string xmlString ) : MacroEditorModel
ToXml ( MacroEditorModel model ) : System.Xml.Linq.XDocument

메소드 상세

FromFile() 공개 정적인 메소드

public static FromFile ( File file ) : MacroEditorModel
file Rebel.Framework.Persistence.Model.IO.File
리턴 Rebel.Cms.Web.Model.BackOffice.Editors.MacroEditorModel

FromXml() 공개 정적인 메소드

public static FromXml ( string xmlString ) : MacroEditorModel
xmlString string
리턴 Rebel.Cms.Web.Model.BackOffice.Editors.MacroEditorModel

ToXml() 공개 정적인 메소드

public static ToXml ( MacroEditorModel model ) : System.Xml.Linq.XDocument
model Rebel.Cms.Web.Model.BackOffice.Editors.MacroEditorModel
리턴 System.Xml.Linq.XDocument