C# Класс SIL.FieldWorks.FDO.DomainServices.DataMigration.ElementBounds

This class stores some bounds of an XML element stored inside a byte array.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ElementBounds ( byte xmlBytes, ElementTags tags ) : System

Constructor for an element to be found anywhere inside the byte array.

ElementBounds ( byte xmlBytes, ElementTags tags, ElementBounds bounds ) : System

Constructor for an element to be found inside another element that was previously located in the byte array.

ElementBounds ( byte xmlBytes, ElementTags tags, int ichMin, int ichLim ) : System
GetAttributeValue ( byte attrWithEquals ) : string

Get the value of the indicated attribute, or return null.

Reset ( int ichMin, int ichLim ) : void

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

Метод Описание
SetLength ( int endtagLength ) : void

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

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

Constructor for an element to be found anywhere inside the byte array.
public ElementBounds ( byte xmlBytes, ElementTags tags ) : System
xmlBytes byte
tags ElementTags
Результат System

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

Constructor for an element to be found inside another element that was previously located in the byte array.
public ElementBounds ( byte xmlBytes, ElementTags tags, ElementBounds bounds ) : System
xmlBytes byte
tags ElementTags
bounds ElementBounds
Результат System

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

public ElementBounds ( byte xmlBytes, ElementTags tags, int ichMin, int ichLim ) : System
xmlBytes byte
tags ElementTags
ichMin int
ichLim int
Результат System

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

Get the value of the indicated attribute, or return null.
public GetAttributeValue ( byte attrWithEquals ) : string
attrWithEquals byte The attribute name with a leading space and a trailing =.
Результат string

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

public Reset ( int ichMin, int ichLim ) : void
ichMin int
ichLim int
Результат void