C# Class Telerik.TestStudio.Jira.BugTracking.Base64String

Datei anzeigen Open project: TestStudio/JiraPlugin Class Usage Examples

Private Properties

Property Type Description
DecodeFrom64 string
EncodeTo64 Base64String

Public Methods

Method Description
Base64String ( ) : System

Default constructor

Base64String ( Base64String encodedString ) : System

Constructor that copies another Base64String value

Base64String ( string plainString ) : System

Constructor that takes a plain string and encodes it.

Base64String ( string plainString, bool encode ) : System

Constructor that takes a string and optionally encodes it.

ToString ( ) : string

Override to return the encoded string.

prefix ( string plainText ) : Base64String

Insert the string in front of this Base64 encoded string

Private Methods

Method Description
DecodeFrom64 ( string encodedData ) : string

The method to Decode your Base64 strings.

EncodeTo64 ( string toEncode ) : Base64String

The method create a Base64 encoded string from a normal string.

Method Details

Base64String() public method

Default constructor
public Base64String ( ) : System
return System

Base64String() public method

Constructor that copies another Base64String value
public Base64String ( Base64String encodedString ) : System
encodedString Base64String
return System

Base64String() public method

Constructor that takes a plain string and encodes it.
public Base64String ( string plainString ) : System
plainString string Plain text string to be encoded.
return System

Base64String() public method

Constructor that takes a string and optionally encodes it.
public Base64String ( string plainString, bool encode ) : System
plainString string The string to optionally encode.
encode bool Whether or not the string needs to be encoded. /// If false we assume the string is already Base64 encoded.
return System

ToString() public method

Override to return the encoded string.
public ToString ( ) : string
return string

prefix() public method

Insert the string in front of this Base64 encoded string
public prefix ( string plainText ) : Base64String
plainText string The plain text string to insert then re-encode the result.
return Base64String