Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ClassifyOptions AddTypeProcessor(Type, IClassifyTypeProcessor)

Declaration

public ClassifyOptions AddTypeProcessor(
    Type type,
    IClassifyTypeProcessor processor
)

Summary

Adds an instruction to Classify to run every object of type type through the specified IClassifyTypeProcessor implementation before and after serializing or deserializing.

Parameters

Typetype The type of objects to run through the type processor.
IClassifyTypeProcessorprocessor An implementation of IClassifyTypeProcessor that defines the operations to perform before/after serialization/deserialization.

Returns

The same options object, allowing chaining.