Click or drag to resize

DataBlock Class

The class allows to store the data information in the hierarchical form. Supports creation of children and attributes.
Inheritance Hierarchy
SystemObject
  NeoAxisDataBlock

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public class DataBlock

The DataBlock type exposes the following members.

Constructors
  NameDescription
Public methodDataBlock
It is applied only to creation root blocks. Not for creation of children.
Top
Properties
  NameDescription
Public propertyAttributes
Gets the attributes collection. Don't modify.
Public propertyChildren
Gets the children collection. Don't modify.
Public propertyName
Gets or set block name.
Public propertyParent
Gets the parent block.
Top
Methods
  NameDescription
Public methodAddChild
Creates the child block.
Public methodAttributeExists
Checks existence of attribute.
Public methodDeleteAllAttributes
Deletes all attributes.
Public methodDeleteAttribute
Deletes attribute if he exists.
Public methodDeleteChild
Deletes child block.
Public methodDumpToBuffer
Returns a buffer containing all data about the block and his children.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindChild
Finds child block by name.
Public methodGetAttribute
Returns the attribute by name if exists.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses the text with data of the block and his children.
Public methodToString
Returns a string that represents the current text block.
(Overrides ObjectToString.)
Top
Extension Methods
See Also