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<T>(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<T>(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