Skip to main content

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​
TypeName
System.Reflection.PropertyInfopi
System.Stringvalue

Implements​