C# Class NJsonApi.Serialization.JsonApiTransformer

Inheritance: IJsonApiTransformer
Exibir arquivo Open project: jacek-gorgon/NJsonApi Class Usage Examples

Public Methods

Method Description
Transform ( object objectGraph, Context context ) : CompoundDocument
TransformBack ( NJsonApi.Serialization.UpdateDocument updateDocument, Type type, Context context ) : IDelta

Method Details

Transform() public method

public Transform ( object objectGraph, Context context ) : CompoundDocument
objectGraph object
context Context
return NJsonApi.Serialization.Documents.CompoundDocument

TransformBack() public method

public TransformBack ( NJsonApi.Serialization.UpdateDocument updateDocument, Type type, Context context ) : IDelta
updateDocument NJsonApi.Serialization.UpdateDocument
type System.Type
context Context
return IDelta