Table of Contents

Class StringToBase64StringValueConverter

Namespace
MADE.Data.Converters
Assembly
MADE.Data.Converters.dll

Defines a value converter from string to Base64 string with an optional Encoding parameter.

public class StringToBase64StringValueConverter : IValueConverter<string, string>
Inheritance
StringToBase64StringValueConverter
Implements
Inherited Members
Extension Methods

Methods

Convert(string, object?)

Converts the value to the Base64 string.

public string Convert(string value, object? parameter = null)

Parameters

value string

The value to convert.

parameter object

The optional Encoding parameter used to help with conversion.

Returns

string

The converted Base64 string object.

ConvertBack(string, object?)

Converts the Base64 value back to the original string value.

public string ConvertBack(string value, object? parameter = null)

Parameters

value string

The value to convert.

parameter object

The optional Encoding parameter used to help with conversion.

Returns

string

The converted string object.