Factory method.
Namespace: TeaTimeAssembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)
Syntax
public static NameValueCollection From( params Object[] args )
Parameters
- args
- Type: array<System..::..Object>[]()[][]
An array of name/value pairs. Its length must be even and the first value of each pair must be a string.
Return Value
[Missing <returns> documentation for "M:TeaTime.NameValueCollection.From(System.Object[])"]
Remarks
This method simplifies the creation of NameValueCollection instances:TeaFile{T}.Create("acme.tea", "acme prices", NameValueCollection.From("decimals", 2, "sensor", 42, "country", "UK"));