C# Class SIL.FieldWorks.FDO.DomainServices.DataMigration.ElementBounds

This class stores some bounds of an XML element stored inside a byte array.
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
SetLength ( int endtagLength ) : void

Method Details

ElementBounds() public méthode

Constructor for an element to be found anywhere inside the byte array.
public ElementBounds ( byte xmlBytes, ElementTags tags ) : System
xmlBytes byte
tags ElementTags
Résultat System

ElementBounds() public méthode

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
Résultat System

ElementBounds() public méthode

public ElementBounds ( byte xmlBytes, ElementTags tags, int ichMin, int ichLim ) : System
xmlBytes byte
tags ElementTags
ichMin int
ichLim int
Résultat System

GetAttributeValue() public méthode

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 =.
Résultat string

Reset() public méthode

public Reset ( int ichMin, int ichLim ) : void
ichMin int
ichLim int
Résultat void