Class MemoryToStringConverter
Represents a converter that returns a string of a memory value.
Implements
Inherited Members
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class MemoryToStringConverter : IValueConverter
Methods
View SourceConvert(object, Type, object, CultureInfo)
Converts a value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value to convert. |
Type | targetType | The target type to convert to. |
object | parameter | The string format parameters to use. |
CultureInfo | culture | The culture to use. |
Returns
Type | Description |
---|---|
object | The size suffix. |
ConvertBack(object, Type, object, CultureInfo)
Converts a value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value to convert. |
Type | targetType | The target type to convert to. |
object | parameter | The string format parameters to use. |
CultureInfo | culture | The culture to use. |
Returns
Type | Description |
---|---|
object | Throws not implemented exception. |