Show / Hide Table of Contents

Class DistanceFunctionJsonConverter

Helper class for serializing distance functions

Inheritance
System.Object
DistanceFunctionJsonConverter
Namespace: SigStat.Common.Helpers.Serialization
Assembly: SigStat.Common.dll
Syntax
public class DistanceFunctionJsonConverter : JsonConverter<Func<double[], double[], double>>

Methods

| Improve this Doc View Source

ReadJson(JsonReader, Type, Func<Double[], Double[], Double>, Boolean, JsonSerializer)

Declaration
public override Func<double[], double[], double> ReadJson(JsonReader reader, Type objectType, Func<double[], double[], double> existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
Type Name Description
JsonReader reader
Type objectType
Func<System.Double[], System.Double[], System.Double> existingValue
System.Boolean hasExistingValue
JsonSerializer serializer
Returns
Type Description
Func<System.Double[], System.Double[], System.Double>
| Improve this Doc View Source

WriteJson(JsonWriter, Func<Double[], Double[], Double>, JsonSerializer)

Declaration
public override void WriteJson(JsonWriter writer, Func<double[], double[], double> value, JsonSerializer serializer)
Parameters
Type Name Description
JsonWriter writer
Func<System.Double[], System.Double[], System.Double> value
JsonSerializer serializer
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX