C# Класс Phun.Data.AContentRepository

Provide common use methods for content repository
Показать файл Открыть проект

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

Метод Описание
GetFolder ( ContentModel folder ) : string

Gets the folder.

List ( ContentModel content ) : System.Linq.IQueryable

Lists the specified content.Path

Retrieve ( ContentModel content, bool includeData = true ) : ContentModel

Populate or gets the content provided specific host, path, and name property.

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

Метод Описание
GetFolderTo ( string destPhysicalFolder, ContentModel sourceFolder ) : void

Gets the folder to.

NormalizedPath ( string path ) : string

Normalized the path.

ResolveLocalPath ( string path ) : string

Resolves the local path.

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

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

Gets the folder.
public GetFolder ( ContentModel folder ) : string
folder ContentModel The folder.
Результат string

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

Gets the folder to.
protected GetFolderTo ( string destPhysicalFolder, ContentModel sourceFolder ) : void
destPhysicalFolder string The destination physical folder.
sourceFolder ContentModel The source folder.
Результат void

List() публичный абстрактный Метод

Lists the specified content.Path
public abstract List ( ContentModel content ) : System.Linq.IQueryable
content ContentModel The content.
Результат System.Linq.IQueryable

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

Normalized the path.
Illegal path detected: + path;path
protected NormalizedPath ( string path ) : string
path string The path.
Результат string

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

Resolves the local path.
protected ResolveLocalPath ( string path ) : string
path string The path.
Результат string

Retrieve() публичный абстрактный Метод

Populate or gets the content provided specific host, path, and name property.
public abstract Retrieve ( ContentModel content, bool includeData = true ) : ContentModel
content ContentModel The content - requires host, path, and name property.
includeData bool if set to true [include data].
Результат ContentModel