MetadataAttributeBase
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public class MetadataAttributeBase : AttributeBase, _Attribute, IReflectAttributeFilter
Methods
ShouldInclude(PropertyInfo, String)
Don't include default bool or nullable int default values
View Source
Declaration
public virtual bool ShouldInclude(PropertyInfo pi, string value)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.Reflection.PropertyInfo | pi |
System.String | value |
Implements
System.Runtime.InteropServices._Attribute- ServiceStack.IReflectAttributeFilter