|
| Form (string body) |
|
string | Get (string value) |
|
Definition at line 3 of file Form.cs.
◆ Form()
HSB.Components.Form.Form |
( |
string |
body | ) |
|
Definition at line 6 of file Form.cs.
7 {
8 var values = body.Split("&");
9 foreach (var v in values)
10 {
11 var d = v.Split("=");
12
13 if (!parts.ContainsKey(d[0]))
14 parts.Add(d[0], d[1]);
15 }
16 }
◆ Get()
string HSB.Components.Form.Get |
( |
string |
value | ) |
|
Definition at line 18 of file Form.cs.
19 {
20 return parts[value] ?? "";
21 }
The documentation for this class was generated from the following file: