C# Class VirtoCommerce.Content.Data.Converters.ContentPageConverter

Show file Open project: VirtoCommerce/vc-internal

Public Methods

Method Description
AsContentPage ( this page ) : VirtoCommerce.Content.Data.Models.ContentPage
AsPage ( this contentPage ) : Page
ToPageModel ( this repositoryContent ) : VirtoCommerce.Content.Data.Models.ContentPage
ToShortModel ( this treeItem ) : VirtoCommerce.Content.Data.Models.ContentPage
ToShortModel ( this repositoryContent, System.DateTime modifiedDate ) : VirtoCommerce.Content.Data.Models.ContentPage

Private Methods

Method Description
GetLanguageFromFullPath ( string fullPath ) : string

Method Details

AsContentPage() public static method

public static AsContentPage ( this page ) : VirtoCommerce.Content.Data.Models.ContentPage
page this
return VirtoCommerce.Content.Data.Models.ContentPage

AsPage() public static method

public static AsPage ( this contentPage ) : Page
contentPage this
return Page

ToPageModel() public static method

public static ToPageModel ( this repositoryContent ) : VirtoCommerce.Content.Data.Models.ContentPage
repositoryContent this
return VirtoCommerce.Content.Data.Models.ContentPage

ToShortModel() public static method

public static ToShortModel ( this treeItem ) : VirtoCommerce.Content.Data.Models.ContentPage
treeItem this
return VirtoCommerce.Content.Data.Models.ContentPage

ToShortModel() public static method

public static ToShortModel ( this repositoryContent, System.DateTime modifiedDate ) : VirtoCommerce.Content.Data.Models.ContentPage
repositoryContent this
modifiedDate System.DateTime
return VirtoCommerce.Content.Data.Models.ContentPage