Show / Hide Table of Contents

Class DoubleToUIntConverter

Converts a double to an unsigned integer

Inheritance
System.Object
DoubleToUIntConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.DVR
Assembly: Phoenix.Plugin.DVR.dll
Syntax
public class DoubleToUIntConverter : IValueConverter

Methods

View Source

Convert(Object, Type, Object, CultureInfo)

Converts a double to an unsigned integer

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The double.

System.Type targetType

The target Type (unused).

System.Object parameter

The parameter (unused)

System.Globalization.CultureInfo culture

The culture info (unused).

Returns
Type Description
System.Object

The unsigned integer value.

View Source

ConvertBack(Object, Type, Object, CultureInfo)

Converts an unsigned integer to a double

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The unsigned integer.

System.Type targetType

The target Type (unused).

System.Object parameter

The parameter (unused)

System.Globalization.CultureInfo culture

The culture info (unused).

Returns
Type Description
System.Object

The double value.

Implements

System.Windows.Data.IValueConverter
  • View Source
In This Article
Back to top Generated by DocFX