C# Class sidepop.Mime.EncodedWord

Holds information about an encoded word
Mostrar archivo Open project: Octopus-ITSM/sidepop Class Usage Examples

Private Properties

Property Type Description
MergeEncodedValues string

Public Methods

Method Description
IsCompatibleWith ( EncodedWord other ) : bool

Determines if the current encoded word has the same encoding name and encoding type

Merge ( EncodedWord encodedWord ) : void

Merges the specified encoded word into this instance. This method assumes the encoded words are compatible

Parse ( string value ) : List

Runs the multiple regex pattern and returns a list of EncodedWord

ToString ( ) : string

String representation

Private Methods

Method Description
MergeEncodedValues ( EncodedWord encodedWord ) : string

Merges together two encoded words and returns the correct encoded word string that will match the regular expression

Method Details

IsCompatibleWith() public method

Determines if the current encoded word has the same encoding name and encoding type
public IsCompatibleWith ( EncodedWord other ) : bool
other EncodedWord
return bool

Merge() public method

Merges the specified encoded word into this instance. This method assumes the encoded words are compatible
public Merge ( EncodedWord encodedWord ) : void
encodedWord EncodedWord
return void

Parse() public static method

Runs the multiple regex pattern and returns a list of EncodedWord
public static Parse ( string value ) : List
value string
return List

ToString() public method

String representation
public ToString ( ) : string
return string