C# Class Kooboo.CMS.Sites.Models.Template

Inheritance: Kooboo.CMS.Sites.Models.DirectoryResource, ISiteObject, IFilePersistable, IPersistable, IIdentifiable, Kooboo.CMS.Sites.Versioning.IVersionable
Show file Open project: Tsingbo-Kooboo/KoobooMvc5

Private Properties

Property Type Description
IPersistable void
IPersistable void

Public Methods

Method Description
Exists ( ) : bool
OnSaving ( ) : void
ParseObject ( IEnumerable relativePaths ) : IEnumerable

Parses the object.

Template ( Kooboo.CMS.Sites.Models.Site site, string name ) : System
Template ( string physicalPath ) : System

Protected Methods

Method Description
Template ( ) : System

Private Methods

Method Description
IPersistable ( ) : void
IPersistable ( IPersistable source ) : void

Method Details

Exists() public method

public Exists ( ) : bool
return bool

OnSaving() public method

public OnSaving ( ) : void
return void

ParseObject() public method

Parses the object.
public ParseObject ( IEnumerable relativePaths ) : IEnumerable
relativePaths IEnumerable The relative paths. {"site1","template","layout","template1"}
return IEnumerable

Template() protected method

protected Template ( ) : System
return System

Template() public method

public Template ( Kooboo.CMS.Sites.Models.Site site, string name ) : System
site Kooboo.CMS.Sites.Models.Site
name string
return System

Template() public method

public Template ( string physicalPath ) : System
physicalPath string
return System