PeanutButter
Loading...
Searching...
No Matches
PeanutButter.SimpleHTTPServer.Strings Class Reference

Mimics asp.net's StringValues without pulling in the dependency: stores one or more strings. More...

Public Member Functions

override bool Equals (object obj)
 Overriding equality.
 
override int GetHashCode ()
 Override GetHashCode.
 
override string ToString ()
 Render all the values, comma-separated.
 

Static Public Member Functions

static implicit operator string (Strings strings)
 Implicitly convert this instance to a string.
 
static implicit operator Strings (string value)
 Implicitly convert a string to an instance of StringValues.
 

Public Attributes

readonly List< string > Values = new()
 All values stores in this instance.
 

Detailed Description

Mimics asp.net's StringValues without pulling in the dependency: stores one or more strings.

Member Function Documentation

◆ Equals()

override bool PeanutButter.SimpleHTTPServer.Strings.Equals ( object  obj)

Overriding equality.

Parameters
obj
Returns

◆ GetHashCode()

override int PeanutButter.SimpleHTTPServer.Strings.GetHashCode ( )

Override GetHashCode.

Returns

◆ operator string()

static implicit PeanutButter.SimpleHTTPServer.Strings.operator string ( Strings  strings)
static

Implicitly convert this instance to a string.

Parameters
strings
Returns

◆ operator Strings()

static implicit PeanutButter.SimpleHTTPServer.Strings.operator Strings ( string  value)
static

Implicitly convert a string to an instance of StringValues.

Parameters
value
Returns

◆ ToString()

override string PeanutButter.SimpleHTTPServer.Strings.ToString ( )

Render all the values, comma-separated.

Returns

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