C# Class MiniWeb.Storage.EFStorage.MiniWebEFStorage

Inheritance: IMiniWebContentStorage
Datei anzeigen Open project: IRooc/miniweb-coreclr

Private Properties

Property Type Description
GetSitePage ISitePage

Public Methods

Method Description
AllPages ( ) : IEnumerable
Authenticate ( string username, string password ) : bool
DeleteSitePage ( ISitePage sitePage ) : void
GetDefaultSectionContent ( DefaultContent defaultContent ) : List
GetSitePageByUrl ( string url ) : ISitePage
MiniWebEFStorage ( MiniWebEFDbContext context, IOptions options ) : System
StoreSitePage ( ISitePage sitePage ) : void

Private Methods

Method Description
GetSitePage ( DbSitePage p ) : ISitePage

Method Details

AllPages() public method

public AllPages ( ) : IEnumerable
return IEnumerable

Authenticate() public method

public Authenticate ( string username, string password ) : bool
username string
password string
return bool

DeleteSitePage() public method

public DeleteSitePage ( ISitePage sitePage ) : void
sitePage ISitePage
return void

GetDefaultSectionContent() public method

public GetDefaultSectionContent ( DefaultContent defaultContent ) : List
defaultContent DefaultContent
return List

GetSitePageByUrl() public method

public GetSitePageByUrl ( string url ) : ISitePage
url string
return ISitePage

MiniWebEFStorage() public method

public MiniWebEFStorage ( MiniWebEFDbContext context, IOptions options ) : System
context MiniWebEFDbContext
options IOptions
return System

StoreSitePage() public method

public StoreSitePage ( ISitePage sitePage ) : void
sitePage ISitePage
return void