WCF-Xtensions Class Reference for .NET
BsonWriter Class Members
Properties  Methods 


The following tables list the members exposed by BsonWriter.

Public Constructors
 NameDescription
Public ConstructorBsonWriter ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCloseOutputGets or sets a value indicating whether the underlying stream or System.IO.TextReader should be closed when the writer is closed. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyCultureGets or sets the culture used when writing JSON. Defaults to System.Globalization.CultureInfo.InvariantCulture. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyDateFormatHandling Get or set how dates are written to JSON text. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyDateFormatString Get or set how DateTime and DateTimeOffset values are formatting when writing JSON text. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyDateTimeKindHandlingGets or sets the System.DateTimeKind used when writing System.DateTime values to BSON. When set to System.DateTimeKind.Unspecified no conversion will occur.  
Public PropertyDateTimeZoneHandlingGet or set how System.DateTime time zones are handling when writing JSON text. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyFloatFormatHandlingGet or set how special floating point numbers, e.g. System.Double.NaN, System.Double.PositiveInfinity and System.Double.NegativeInfinity, are written to JSON text. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyFormatting Indicates how JSON text output is formatted. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyPath Gets the path of the writer. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyStringEscapeHandling Get or set how strings are escaped when writing JSON text. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public PropertyWriteState Gets the state of the writer. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Top
Public Methods
 NameDescription
Public MethodCloseOverridden.  Closes this stream and the underlying stream.  
Public MethodFlushOverridden.  Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.  
Public MethodWriteCommentOverridden. Writes out a comment /*...*/ containing the specified text.  
Public MethodWriteEndOverloaded. Overridden.  Writes the end.  
Public MethodWriteEndArray Writes the end of an array. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public MethodWriteEndConstructor Writes the end constructor. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public MethodWriteEndObject Writes the end of a Json object. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public MethodWriteNullOverridden.  Writes a null value.  
Public MethodWriteObjectIdWrites a Byte[] value that represents a BSON object id.  
Public MethodWritePropertyNameOverloaded. Overridden.  Writes the property name of a name/value pair on a Json object.  
Public MethodWriteRawOverridden.  Writes raw JSON.  
Public MethodWriteRawValueOverridden.  Writes raw JSON where a value is expected and updates the writer's state.  
Public MethodWriteRegex Writes a BSON regex.  
Public MethodWriteStartArrayOverridden.  Writes the beginning of a Json array.  
Public MethodWriteStartConstructorOverridden.  Writes the start of a constructor with the given name.  
Public MethodWriteStartObjectOverridden.  Writes the beginning of a Json object.  
Public MethodWriteTokenOverloaded. Writes the current Noemax.Newtonsoft.Json.JsonReader token and its children. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Public MethodWriteUndefinedOverridden.  Writes an undefined value.  
Public MethodWriteValueOverloaded. Overridden. Writes a System.Object value. An error will raised if the value cannot be written as a single JSON token.  
Public MethodWriteWhitespace Writes out the given white space. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Top
Protected Methods
 NameDescription
Protected MethodSetWriteState Sets the state of the JsonWriter, (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Protected MethodWriteIndent Writes indent characters. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Protected MethodWriteIndentSpace Writes an indent space. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Protected MethodWriteValueDelimiter Writes the JSON value delimiter. (Inherited from Noemax.Newtonsoft.Json.JsonWriter)
Top
See Also

Reference

BsonWriter Class
Noemax.Newtonsoft.Json.Bson Namespace

Send Feedback