C# Класс Carrotware.CMS.Core.SiteData

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FormatToHTML string
ParsePlaceholder string>.KeyValuePair

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

Метод Описание
CheckForSpecialURL ( SiteData site ) : string
FormatErrorOutput ( Exception objErr ) : string
GetCurrentLivePage ( ) : ContentPage
GetCurrentPage ( ) : ContentPage
GetCurrentPageLiveWidgets ( System.Guid guidContentID ) : List
GetCurrentPageWidgets ( System.Guid guidContentID ) : List
GetPage ( System.Guid guidContentID ) : ContentPage
GetPage ( string sCurrentPage ) : ContentPage
GetSiteByID ( System.Guid siteID ) : SiteData
GetSiteFromCache ( System.Guid siteID ) : SiteData
GetSiteList ( ) : List
IsFilenameCurrentPage ( string sCurrentFile ) : bool
IsLikelyHomePage ( string filePath ) : bool
IsPageSpecial ( string sPageName ) : bool
ManuallyWriteDefaultFile ( HttpContext context, Exception objErr ) : void
Perform404Redirect ( string sReqURL ) : void
PerformRedirectToErrorPage ( int ErrorKey, string sReqURL ) : void
PerformRedirectToErrorPage ( string sErrorKey, string sReqURL ) : void
RemoveSiteFromCache ( System.Guid siteID ) : void
Show301Message ( string sFileRequested ) : void
Show404MessageFull ( bool bResponseEnd ) : void
Show404MessageShort ( ) : void
WriteDebugException ( string sSrc, Exception objErr ) : void

Приватные методы

Метод Описание
FormatToHTML ( string inputString ) : string
ParsePlaceholder ( string titleString, string placeHolder, int posNum ) : string>.KeyValuePair

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

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

public static CheckForSpecialURL ( SiteData site ) : string
site SiteData
Результат string

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

public static FormatErrorOutput ( Exception objErr ) : string
objErr System.Exception
Результат string

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

public static GetCurrentLivePage ( ) : ContentPage
Результат ContentPage

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

public static GetCurrentPage ( ) : ContentPage
Результат ContentPage

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

public static GetCurrentPageLiveWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
Результат List

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

public static GetCurrentPageWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
Результат List

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

public static GetPage ( System.Guid guidContentID ) : ContentPage
guidContentID System.Guid
Результат ContentPage

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

public static GetPage ( string sCurrentPage ) : ContentPage
sCurrentPage string
Результат ContentPage

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

public static GetSiteByID ( System.Guid siteID ) : SiteData
siteID System.Guid
Результат SiteData

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

public static GetSiteFromCache ( System.Guid siteID ) : SiteData
siteID System.Guid
Результат SiteData

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

public static GetSiteList ( ) : List
Результат List

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

public static IsFilenameCurrentPage ( string sCurrentFile ) : bool
sCurrentFile string
Результат bool

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

public static IsLikelyHomePage ( string filePath ) : bool
filePath string
Результат bool

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

public static IsPageSpecial ( string sPageName ) : bool
sPageName string
Результат bool

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

public static ManuallyWriteDefaultFile ( HttpContext context, Exception objErr ) : void
context System.Web.HttpContext
objErr System.Exception
Результат void

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

public static Perform404Redirect ( string sReqURL ) : void
sReqURL string
Результат void

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

public static PerformRedirectToErrorPage ( int ErrorKey, string sReqURL ) : void
ErrorKey int
sReqURL string
Результат void

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

public static PerformRedirectToErrorPage ( string sErrorKey, string sReqURL ) : void
sErrorKey string
sReqURL string
Результат void

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

public static RemoveSiteFromCache ( System.Guid siteID ) : void
siteID System.Guid
Результат void

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

public static Show301Message ( string sFileRequested ) : void
sFileRequested string
Результат void

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

public static Show404MessageFull ( bool bResponseEnd ) : void
bResponseEnd bool
Результат void

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

public static Show404MessageShort ( ) : void
Результат void

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

public static WriteDebugException ( string sSrc, Exception objErr ) : void
sSrc string
objErr System.Exception
Результат void