ConverterGroup.TrySetValue

Declaration

public bool TrySetValue(ref TContainer container, ref Unity.Properties.PropertyPath path, TValue value, out Unity.Properties.VisitReturnCode returnCode);

Parameters

container The container whose property needs to be set.
path The path of the property to set.
value The value to assign to the property.
returnCode The return code of the conversion.

Returns

bool true if the value was set correctly, and false otherwise.

Description

Sets the value of a property at the given path to the given value, using this converter group or the global ones.

This method isn't thread-safe.


Did you find this page useful? Please give it a rating: