![]() |
C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
Allows serializing and deserializing PortfolioViews, which require a special rule since they can only include a portfolio reference or a list of layer_views, but not both on post. More...
Public Member Functions | |
| override bool | CanConvert (Type objectType) |
| Determines if this converter is designed for deserialization to objects of the specified type. | |
| override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| Parses the json to the specified type. | |
| override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
| Serializes to the specified type. | |
Allows serializing and deserializing PortfolioViews, which require a special rule since they can only include a portfolio reference or a list of layer_views, but not both on post.
Definition at line 12 of file PortfolioViewSerializer.cs.
|
inline |
Determines if this converter is designed for deserialization to objects of the specified type.
| objectType | The target type for deserialization. |
Definition at line 20 of file PortfolioViewSerializer.cs.
|
inline |
Parses the json to the specified type.
| reader | Newtonsoft.Json.JsonReader |
| objectType | Target type. |
| existingValue | Ignored |
| serializer | Newtonsoft.Json.JsonSerializer to use. |
Definition at line 33 of file PortfolioViewSerializer.cs.
|
inline |
Serializes to the specified type.
| writer | Newtonsoft.Json.JsonWriter |
| value | Object to serialize. |
| serializer | Newtonsoft.Json.JsonSerializer to use. |
Definition at line 50 of file PortfolioViewSerializer.cs.