C# Class Raven.Client.Spatial.GeoJsonWriter

Show file Open project: sibartlett/RavenDB.Client.Spatial

Public Methods

Method Description
GeoJsonWriter ( IShapeConverter shapeConverter ) : System
TryWriteFeature ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
TryWriteFeatureCollection ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
TryWriteGeometry ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
TryWriteGeometryCollection ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
WriteJson ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : void

Protected Methods

Method Description
WriteJsonCoordinates ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void
WriteJsonCoordinatesEnumerable ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void
WriteJsonCoordinatesEnumerable2 ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void

Private Methods

Method Description
WriteJsonCoordinate ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinate ) : void

Method Details

GeoJsonWriter() public method

public GeoJsonWriter ( IShapeConverter shapeConverter ) : System
shapeConverter IShapeConverter
return System

TryWriteFeature() public method

public TryWriteFeature ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return bool

TryWriteFeatureCollection() public method

public TryWriteFeatureCollection ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return bool

TryWriteGeometry() public method

public TryWriteGeometry ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return bool

TryWriteGeometryCollection() public method

public TryWriteGeometryCollection ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : bool
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return bool

WriteJson() public method

public WriteJson ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return void

WriteJsonCoordinates() protected static method

protected static WriteJsonCoordinates ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void
writer Raven.Imports.Newtonsoft.Json.JsonWriter
coordinates CoordinateInfo
return void

WriteJsonCoordinatesEnumerable() protected static method

protected static WriteJsonCoordinatesEnumerable ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void
writer Raven.Imports.Newtonsoft.Json.JsonWriter
coordinates CoordinateInfo
return void

WriteJsonCoordinatesEnumerable2() protected static method

protected static WriteJsonCoordinatesEnumerable2 ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, CoordinateInfo coordinates ) : void
writer Raven.Imports.Newtonsoft.Json.JsonWriter
coordinates CoordinateInfo
return void