C# Class WhatsAppApi.Helper.ProtocolTreeNode

Show file Open project: kwailo888/AxolotlTestApp Class Usage Examples

Public Properties

Property Type Description
attributeHash IEnumerable
children IEnumerable
data byte[]
tag string

Public Methods

Method Description
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

Method Details

GetAllChildren() public method

public GetAllChildren ( ) : IEnumerable
return IEnumerable

GetAllChildren() public method

public GetAllChildren ( string tag ) : IEnumerable
tag string
return IEnumerable

GetAttribute() public method

public GetAttribute ( string attribute ) : string
attribute string
return string

GetChild() public method

public GetChild ( string tag ) : ProtocolTreeNode
tag string
return ProtocolTreeNode

GetData() public method

public GetData ( ) : byte[]
return byte[]

NodeString() public method

public NodeString ( string indent = "" ) : string
indent string
return string

ProtocolTreeNode() public method

public ProtocolTreeNode ( string tag, IEnumerable attributeHash ) : System
tag string
attributeHash IEnumerable
return System

ProtocolTreeNode() public method

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, IEnumerable children = null, byte data = null ) : System
tag string
attributeHash IEnumerable
children IEnumerable
data byte
return System

ProtocolTreeNode() public method

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, ProtocolTreeNode children = null ) : System
tag string
attributeHash IEnumerable
children ProtocolTreeNode
return System

ProtocolTreeNode() public method

public ProtocolTreeNode ( string tag, IEnumerable attributeHash, byte data = null ) : System
tag string
attributeHash IEnumerable
data byte
return System

TagEquals() public static method

public static TagEquals ( ProtocolTreeNode node, string _string ) : bool
node ProtocolTreeNode
_string string
return bool

Property Details

attributeHash public property

public IEnumerable attributeHash
return IEnumerable

children public property

public IEnumerable children
return IEnumerable

data public property

public byte[] data
return byte[]

tag public property

public string tag
return string