Hunny Software Library Reference

MediaType Members

MediaType overview

Public Instance Constructors

MediaTypeOverloaded. Initializes a new instance of the MediaType class.

Public Instance Properties

Boundary Gets or sets the value of the boundary parameter.
Charset Gets or sets the value of the charset parameter.
FoldingEnabled (inherited from FieldBody) Enables or disables line folding.
Modified (inherited from Node) Gets or sets the is-modified flag.
Name Gets or sets the value of the name parameter.
NumParameters Gets the number of parameters in the list.
Parent (inherited from Node) Gets or sets the parent Node object.
String (inherited from Node) Gets or sets the string representation.
Subtype Gets or sets the subtype.
Text (inherited from FieldBody) Gets or sets the unfolded text of the field body.
Type Gets or sets the primary type.

Public Instance Methods

AddParameter Adds a parameter to the end of the list.
Assemble Assembles the string representation.
Clone Creates a copy of this object.
CreateBoundary Creates a string suitable for use as a boundary parameter.
DeleteAllParameters Deletes all parameters in the list.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
InsertParameterAt Inserts a parameter at the specified position.
ParameterAt Gets the parameter at the specified position.
Parse Parses the string representation.
RemoveParameterAt Removes the parameter at the specified position.
ToString (inherited from Node) Returns the string representation as a System.String.
TypeAsEnum Gets the primary type as an enumerated value.
TypeFromEnum Sets the primary type from an enumerated value.

Protected Instance Fields

mIsModified (inherited from Node) The is-modified flag.
mParent (inherited from Node) The parent Node.
mString (inherited from Node) The string representation.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MaybeFold (inherited from FieldBody) Folds the string representation, if line folding is enabled.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MediaType Class | Hunny.Mime Namespace