Click or drag to resize

YTextBlock Class

This class represents a text block.
Inheritance Hierarchy
SystemObject
  Upsilon.Common.LibraryYTextBlock

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public class YTextBlock

The YTextBlock type exposes the following members.

Constructors
 NameDescription
Public methodYTextBlock Instanciate a new YTextBlock with a specific configuration.
Top
Properties
 NameDescription
Public propertyConfiguration The YTextBlockSearchConfiguration used for the search.
Public propertyEndIndex The index of the end of the block, including the BlockEnd string.
Public propertyInnerText Get the found text block without the BlockStart string and the BlockEnd string.
Public propertyOuterText Get the found text block including the BlockStart string and the BlockEnd string.
Public propertyStartIndex The index of the begining of the block, including the BlockStart string.
Public propertyText The full text given to the search.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetNextTextBlock Get the next block of text which is bounded by the BlockStart and the BlockEnd strings.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension MethodSerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also