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
파일 보기 프로젝트 열기: erminas/smartapi 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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