C# Класс erminas.SmartAPI.CMS.Project.Pages.Elements.PageElement

Base class for elements of pages. All page element classes have to either get annotated with a attribute denoting their element type or have to be added through the method.
Наследование: PartialRedDotProjectObject, IPageElement
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Type ElementType

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

Метод Описание
CreateElement ( IProject project, System.Guid elementGuid, ILanguageVariant languageVariant ) : IPageElement

Create an element out of its XML representation (uses the attribute "elttype") to determine the element type and create the appropriate object.

CreateElement ( IProject project, XmlElement xmlElement ) : IPageElement

Create an element out of its XML representation (uses the attribute "elttype") to determine the element type and create the appropriate object.

RegisterType ( ElementType typeValue, Type type ) : void

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

Метод Описание
LoadWholeObject ( ) : void
LoadWholePageElement ( ) : void
PageElement ( IProject project, System.Guid guid, ILanguageVariant languageVariant ) : System
PageElement ( IProject project, XmlElement xmlElement ) : System
RetrieveWholeObject ( ) : XmlElement

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

Метод Описание
LoadXml ( ) : void
PageElement ( ) : System

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

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

Create an element out of its XML representation (uses the attribute "elttype") to determine the element type and create the appropriate object.
if the "elttype" attribute of the XML node contains an unknown value
public static CreateElement ( IProject project, System.Guid elementGuid, ILanguageVariant languageVariant ) : IPageElement
project IProject Project containing the element
elementGuid System.Guid Guid of the element
languageVariant ILanguageVariant The language variant of the page element
Результат IPageElement

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

Create an element out of its XML representation (uses the attribute "elttype") to determine the element type and create the appropriate object.
if the "elttype" attribute of the XML node contains an unknown value
public static CreateElement ( IProject project, XmlElement xmlElement ) : IPageElement
project IProject Page that contains the element
xmlElement System.Xml.XmlElement XML representation of the element
Результат IPageElement

LoadWholeObject() защищенный закрытый Метод

protected final LoadWholeObject ( ) : void
Результат void

LoadWholePageElement() защищенный абстрактный Метод

protected abstract LoadWholePageElement ( ) : void
Результат void

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

protected PageElement ( IProject project, System.Guid guid, ILanguageVariant languageVariant ) : System
project IProject
guid System.Guid
languageVariant ILanguageVariant
Результат System

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

protected PageElement ( IProject project, XmlElement xmlElement ) : System
project IProject
xmlElement System.Xml.XmlElement
Результат System

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

public static RegisterType ( ElementType typeValue, Type type ) : void
typeValue ElementType
type System.Type
Результат void

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

protected RetrieveWholeObject ( ) : XmlElement
Результат System.Xml.XmlElement

Описание свойств

Type защищенное свойство

protected ElementType Type
Результат ElementType