C# Класс ZenCoding.HtmlElementFactory

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

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

Метод Описание
CloneElement ( this element, int count ) : HtmlControl
Create ( string tagName ) : HtmlControl
Create ( string tagName, Type type ) : HtmlControl
Create ( string tagName, Type type, bool isClone ) : HtmlControl
CreateDoctypes ( string part, IEnumerable &current ) : Control
Increment ( this text, int count ) : string

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

Метод Описание
GetDoctype ( string key ) : string
TryCreateFromStateMachine ( string tagName ) : HtmlControl
TryCreateSepcialControl ( string tagName, Type type, bool isClone ) : HtmlControl

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

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

public static CloneElement ( this element, int count ) : HtmlControl
element this
count int
Результат System.Web.UI.HtmlControls.HtmlControl

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

public static Create ( string tagName ) : HtmlControl
tagName string
Результат System.Web.UI.HtmlControls.HtmlControl

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

public static Create ( string tagName, Type type ) : HtmlControl
tagName string
type System.Type
Результат System.Web.UI.HtmlControls.HtmlControl

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

public static Create ( string tagName, Type type, bool isClone ) : HtmlControl
tagName string
type System.Type
isClone bool
Результат System.Web.UI.HtmlControls.HtmlControl

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

public static CreateDoctypes ( string part, IEnumerable &current ) : Control
part string
current IEnumerable
Результат System.Web.UI.Control

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

public static Increment ( this text, int count ) : string
text this
count int
Результат string