IObjectConverterServiceExtensions

Name Value
Assembly Catel.Core
Namespace Catel.Services
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class IObjectConverterServiceExtensions

Extension methods for IObjectConverterService.

Methods

ConvertFromObjectToObject(IObjectConverterService service, object value)

Converts the specified object to an object.

Type Parameters

T The type to convert to.

Parameters

Name Description
service The service.
value The value.

Returns

The object value.

ConvertFromStringToObject(IObjectConverterService service, string value)

Converts the specified string value to an object.

Type Parameters

T The type to convert to.

Parameters

Name Description
service The service.
value The value.

Returns

The object value.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion