fullinspector icon indicating copy to clipboard operation
fullinspector copied to clipboard

Consider adding support for default values in facade

Open jacobdufault opened this issue 10 years ago • 1 comments

How should they be supported? Via an annotation (ie, [InspectorFacadeDefault]), or via some other mechanism? One issue with annotations is that the default values will be limited to primitive types.

jacobdufault avatar Jan 24 '15 16:01 jacobdufault

What about something like

interface IFacadeDefaultValueProvider {
    object GetDefaultValue(MemberInfo member);
}

jacobdufault avatar Jan 24 '15 16:01 jacobdufault