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

Afficher le fichier Open project: TestStudio/JiraPlugin Class Usage Examples

Private Properties

Свойство Type Description
DecodeFrom64 string
EncodeTo64 Base64String

Méthodes publiques

Méthode 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

Méthode 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 méthode

Default constructor
public Base64String ( ) : System
Résultat System

Base64String() public méthode

Constructor that copies another Base64String value
public Base64String ( Base64String encodedString ) : System
encodedString Base64String
Résultat System

Base64String() public méthode

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

Base64String() public méthode

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.
Résultat System

ToString() public méthode

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

prefix() public méthode

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.
Résultat Base64String