IObjectAdapter

Name Value
Assembly Catel.Core
Namespace Catel.Runtime.Serialization
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public interface IObjectAdapter

Adapter to interact with objects.

Methods

GetMemberValue(object model, string memberName, SerializationModelInfo modelInfo)

Gets the member value.

Parameters

Name Description
model The model.
memberName Name of the member.
modelInfo The model information.

Returns

MemberValue.

SetMemberValue(object model, MemberValue member, SerializationModelInfo modelInfo)

Sets the member value.

Parameters

Name Description
model The model.
member The member.
modelInfo The model information.

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


Discussion