C# Класс WhatsAppApi.Helper.ProtocolTreeNode

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

Открытые свойства

Свойство Тип Описание
attributeHash IEnumerable
children IEnumerable
data byte[]
tag string

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

Метод Описание
GetAllChildren ( ) : IEnumerable
GetAllChildren ( string tag ) : IEnumerable
GetAttribute ( string attribute ) : string
GetChild ( string tag ) : ProtocolTreeNode
GetData ( ) : byte[]
NodeString ( string indent = "" ) : string
ProtocolTreeNode ( string tag, IEnumerable attributeHash ) : System
ProtocolTreeNode ( string tag, IEnumerable attributeHash, IEnumerable children = null, byte data = null ) : System
ProtocolTreeNode ( string tag, IEnumerable attributeHash, ProtocolTreeNode children = null ) : System
ProtocolTreeNode ( string tag, IEnumerable attributeHash, byte data = null ) : System
TagEquals ( ProtocolTreeNode node, string _string ) : bool

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

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

public GetAllChildren ( ) : IEnumerable
Результат IEnumerable

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

public GetAllChildren ( string tag ) : IEnumerable
tag string
Результат IEnumerable

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

public GetAttribute ( string attribute ) : string
attribute string
Результат string

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

public GetChild ( string tag ) : ProtocolTreeNode
tag string
Результат ProtocolTreeNode

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

public GetData ( ) : byte[]
Результат byte[]

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

public NodeString ( string indent = "" ) : string
indent string
Результат string

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

public ProtocolTreeNode ( string tag, IEnumerable attributeHash ) : System
tag string
attributeHash IEnumerable
Результат System

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

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, IEnumerable children = null, byte data = null ) : System
tag string
attributeHash IEnumerable
children IEnumerable
data byte
Результат System

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

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, ProtocolTreeNode children = null ) : System
tag string
attributeHash IEnumerable
children ProtocolTreeNode
Результат System

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

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, byte data = null ) : System
tag string
attributeHash IEnumerable
data byte
Результат System

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

public static TagEquals ( ProtocolTreeNode node, string _string ) : bool
node ProtocolTreeNode
_string string
Результат bool

Описание свойств

attributeHash публичное свойство

public IEnumerable attributeHash
Результат IEnumerable

children публичное свойство

public IEnumerable children
Результат IEnumerable

data публичное свойство

public byte[] data
Результат byte[]

tag публичное свойство

public string tag
Результат string