Class PropertyFilteringInspector
Property filter inspector
Implements
ITypeInspector
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class PropertyFilteringInspector : TypeInspectorSkeleton, ITypeInspector
Constructors
PropertyFilteringInspector(ITypeInspector)
Default constructor
Declaration
public PropertyFilteringInspector(ITypeInspector inner)
Parameters
| Type | Name | Description |
|---|---|---|
| ITypeInspector | inner | Inner inspector |
Methods
GetEnumName(Type, string)
Get enum name
Declaration
public override string GetEnumName(Type enumType, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | enumType | Enum type |
| string | name | Enum name |
Returns
| Type | Description |
|---|---|
| string |
Overrides
GetEnumValue(object)
Get enum value string
Declaration
public override string GetEnumValue(object enumValue)
Parameters
| Type | Name | Description |
|---|---|---|
| object | enumValue | Enum value |
Returns
| Type | Description |
|---|---|
| string |
Overrides
GetProperties(Type, object)
Get available properties
Declaration
public override IEnumerable<IPropertyDescriptor> GetProperties(Type type, object container)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Object type |
| object | container | Object container |
Returns
| Type | Description |
|---|---|
| IEnumerable<IPropertyDescriptor> |
Overrides
Implements
YamlDotNet.Serialization.ITypeInspector