C# Класс SobekCM.Core.Navigation.Navigation_Object

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

Private Properties

Свойство Тип Описание
Constructor_Helper void

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

Метод Описание
Is_UserAgent_IP_Robot ( string UserAgent, string IP ) : bool

Algorithm tests the user agent and IP address against known robots to determine if this request is from a search engine indexer or web site crawler bot.

Navigation_Object ( ) : System

Constructor for a new instance of the SobekCM_Navigation_Object which stores all of the information about an individual request.

Set_Robot_Flag ( string UserAgent, string IP ) : bool

Algorithm tests the user agent and IP address against known robots to determine if this request is from a search engine indexer or web site crawler bot. This returns the value and also sets an internal robot flag.

ShouldSerializeDateRange_Date1 ( ) : bool

Method suppresses XML Serialization of the DateRange_Date1 property if it is NULL

ShouldSerializeDateRange_Date2 ( ) : bool

Method suppresses XML Serialization of the DateRange_Date2 property if it is NULL

ShouldSerializeDateRange_Year1 ( ) : bool

Method suppresses XML Serialization of the DateRange_Year1 property if it is NULL

ShouldSerializeDateRange_Year2 ( ) : bool

Method suppresses XML Serialization of the DateRange_Year2 property if it is NULL

ShouldSerializeFolderID ( ) : bool

Method suppresses XML Serialization of the FolderID property if it is NULL

ShouldSerializeInvalid_Item ( ) : bool

Method suppresses XML Serialization of the Invalid_Item property if it is NULL

ShouldSerializeItemID_DEPRECATED ( ) : bool

Method suppresses XML Serialization of the ItemID_DEPRECATED property if it is NULL

ShouldSerializeMissing ( ) : bool

Method suppresses XML Serialization of the Missing flag property if it is NULL

ShouldSerializePage ( ) : bool

Method suppresses XML Serialization of the Page property if it is NULL

ShouldSerializeShow_Selection_Panel ( ) : bool

Method suppresses XML Serialization of the Show_Selection_Panel property if it is NULL

ShouldSerializeSize_Of_Thumbnails ( ) : bool

Method suppresses XML Serialization of the Size_Of_Thumbnails property if it is NULL

ShouldSerializeSort ( ) : bool

Method suppresses XML Serialization of the Sort property if it is NULL

ShouldSerializeSubPage ( ) : bool

Method suppresses XML Serialization of the SubPage property if it is NULL

ShouldSerializeThumbnails_Per_Page ( ) : bool

Method suppresses XML Serialization of the Thumbnails_Per_Page property if it is NULL

ShouldSerializeWebContentID ( ) : bool

Method suppresses XML Serialization of the WebContentID property if it is NULL

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

Метод Описание
Constructor_Helper ( ) : void

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

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

Algorithm tests the user agent and IP address against known robots to determine if this request is from a search engine indexer or web site crawler bot.
public static Is_UserAgent_IP_Robot ( string UserAgent, string IP ) : bool
UserAgent string User Agent string from the HTTP request
IP string IP address from the HTTP request
Результат bool

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

Constructor for a new instance of the SobekCM_Navigation_Object which stores all of the information about an individual request.
public Navigation_Object ( ) : System
Результат System

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

Algorithm tests the user agent and IP address against known robots to determine if this request is from a search engine indexer or web site crawler bot. This returns the value and also sets an internal robot flag.
public Set_Robot_Flag ( string UserAgent, string IP ) : bool
UserAgent string User Agent string from the HTTP request
IP string IP address from the HTTP request
Результат bool

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

Method suppresses XML Serialization of the DateRange_Date1 property if it is NULL
public ShouldSerializeDateRange_Date1 ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the DateRange_Date2 property if it is NULL
public ShouldSerializeDateRange_Date2 ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the DateRange_Year1 property if it is NULL
public ShouldSerializeDateRange_Year1 ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the DateRange_Year2 property if it is NULL
public ShouldSerializeDateRange_Year2 ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the FolderID property if it is NULL
public ShouldSerializeFolderID ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Invalid_Item property if it is NULL
public ShouldSerializeInvalid_Item ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the ItemID_DEPRECATED property if it is NULL
public ShouldSerializeItemID_DEPRECATED ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Missing flag property if it is NULL
public ShouldSerializeMissing ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Page property if it is NULL
public ShouldSerializePage ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Show_Selection_Panel property if it is NULL
public ShouldSerializeShow_Selection_Panel ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Size_Of_Thumbnails property if it is NULL
public ShouldSerializeSize_Of_Thumbnails ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Sort property if it is NULL
public ShouldSerializeSort ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the SubPage property if it is NULL
public ShouldSerializeSubPage ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Thumbnails_Per_Page property if it is NULL
public ShouldSerializeThumbnails_Per_Page ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the WebContentID property if it is NULL
public ShouldSerializeWebContentID ( ) : bool
Результат bool