RegisterAdditionalProperty(System.Reflection.PropertyInfo property, System.Func<object> valueFactory) Method

Registers a System.Reflection.PropertyInfo that will be set during WriteToInstance(object instance) and sent as data to Inedo.Web.Editors.PropertyEditors.PropertyEditor.ProcessAllValues(Inedo.Extensibility.IComponentConfiguration)

Syntax

public void RegisterAdditionalProperty(System.Reflection.PropertyInfo property, Func<object> valueFactory)

Parameters

property
Type: System.Reflection.PropertyInfo
valueFactory
Type: System.Func<object>

Remarks

This is intended for properties without the Inedo.Serialization.PersistentAttribute attribute