ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
Loading...
Searching...
No Matches
XmobiTea.Data.GNHashtable.Builder Class Reference

A builder class for constructing instances of GNHashtable. More...

Public Member Functions

Builder Add (string key, object value)
 Adds a key-value pair to the builder's dictionary.
 
Builder AddAll (System.Collections.IDictionary dict)
 Adds all key-value pairs from the specified dictionary to the builder's dictionary.
 
Builder AddAll< TValue > (System.Collections.Generic.IDictionary< string, TValue > dict)
 Adds all key-value pairs from the specified dictionary to the builder's dictionary.
 
GNHashtable Build ()
 Builds the GNHashtable instance.
 

Detailed Description

A builder class for constructing instances of GNHashtable.

Member Function Documentation

◆ Add()

Builder XmobiTea.Data.GNHashtable.Builder.Add ( string key,
object value )

Adds a key-value pair to the builder's dictionary.

Parameters
keyThe key of the element to add.
valueThe value of the element to add.
Returns
The current Builder instance.

◆ AddAll()

Builder XmobiTea.Data.GNHashtable.Builder.AddAll ( System.Collections.IDictionary dict)

Adds all key-value pairs from the specified dictionary to the builder's dictionary.

Parameters
dictThe dictionary of elements to add.
Returns
The current Builder instance.

◆ AddAll< TValue >()

Builder XmobiTea.Data.GNHashtable.Builder.AddAll< TValue > ( System.Collections.Generic.IDictionary< string, TValue > dict)

Adds all key-value pairs from the specified dictionary to the builder's dictionary.

Parameters
dictThe dictionary of elements to add.
Returns
The current Builder instance.

◆ Build()

GNHashtable XmobiTea.Data.GNHashtable.Builder.Build ( )

Builds the GNHashtable instance.

Returns
A new GNHashtable instance.

The documentation for this class was generated from the following file: