Click or drag to resize

DataConverterTFrom, TTo Class

Converter which converts its provided value to a target type.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Core.PresentationDataProvider
              Slash.Unity.DataBind.Foundation.Providers.ConvertersDataConverter
                Slash.Unity.DataBind.Foundation.Providers.ConvertersDataConverterTFrom, TTo
                  Slash.Unity.DataBind.Foundation.Providers.ConvertersEulerAnglesToQuaternionConverter
                  Slash.Unity.DataBind.Foundation.Providers.ConvertersQuaternionToEulerAnglesConverter
                  Slash.Unity.DataBind.Foundation.Providers.ConvertersTexture2DToSpriteConverter
                  Slash.Unity.DataBind.Foundation.Providers.ConvertersVector3ToValueConverter

Namespace:  Slash.Unity.DataBind.Foundation.Providers.Converters
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public abstract class DataConverter<TFrom, TTo> : DataConverter

Type Parameters

TFrom
Expected type of data value.
TTo
Type to convert data value to.

The DataConverterTFrom, TTo type exposes the following members.

Constructors
  NameDescription
Protected methodDataConverterTFrom, TTo
Initializes a new instance of the DataConverterTFrom, TTo class
Top
Properties
Methods
  NameDescription
Public methodConvert(Object)
Converts the specified value.
(Overrides DataConverterConvert(Object).)
Protected methodConvert(TFrom)
Called when the specified value should be converted.
Top
See Also