Interface IGetsPropertySetterAction
An object which can provide a setter action/delegate which represents setting a value into a named property of a specified type.
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public interface IGetsPropertySetterAction
Methods
| Improve this Doc View SourceGetSetterAction(Type, String)
Gets the action delegate which may be used to set the property value. The first parameter of the delegate is the target object and the second parameter is the property value to set.
Declaration
Action<object, object> GetSetterAction(Type type, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of object for which to set the property value. |
System.String | propertyName | The name of the property to set. |
Returns
Type | Description |
---|---|
System.Action<System.Object, System.Object> | An action delegate. |