diff --git a/.vs/CMS-SC.sqlite b/.vs/CMS-SC.sqlite new file mode 100644 index 0000000..3392d39 Binary files /dev/null and b/.vs/CMS-SC.sqlite differ diff --git a/CMS_SC/packages.config b/CMS_SC/packages.config index dcbe311..43ca66f 100644 --- a/CMS_SC/packages.config +++ b/CMS_SC/packages.config @@ -1,6 +1,7 @@  + @@ -12,7 +13,7 @@ - + @@ -29,9 +30,9 @@ - - - - + + + + \ No newline at end of file diff --git a/packages/AjaxControlToolkit.17.1.0.0/AjaxControlToolkit.17.1.0.0.nupkg b/packages/AjaxControlToolkit.17.1.0.0/AjaxControlToolkit.17.1.0.0.nupkg new file mode 100644 index 0000000..0d3f2bc Binary files /dev/null and b/packages/AjaxControlToolkit.17.1.0.0/AjaxControlToolkit.17.1.0.0.nupkg differ diff --git a/packages/AjaxControlToolkit.17.1.0.0/Content/Web.config.transform b/packages/AjaxControlToolkit.17.1.0.0/Content/Web.config.transform new file mode 100644 index 0000000..5b1b95d --- /dev/null +++ b/packages/AjaxControlToolkit.17.1.0.0/Content/Web.config.transform @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/packages/AjaxControlToolkit.17.1.0.0/lib/net40/AjaxControlToolkit.dll b/packages/AjaxControlToolkit.17.1.0.0/lib/net40/AjaxControlToolkit.dll new file mode 100644 index 0000000..699c505 Binary files /dev/null and b/packages/AjaxControlToolkit.17.1.0.0/lib/net40/AjaxControlToolkit.dll differ diff --git a/packages/AjaxControlToolkit.17.1.0.0/readme.txt b/packages/AjaxControlToolkit.17.1.0.0/readme.txt new file mode 100644 index 0000000..cd0ee0a Binary files /dev/null and b/packages/AjaxControlToolkit.17.1.0.0/readme.txt differ diff --git a/packages/AspNet.ScriptManager.bootstrap.3.3.7/AspNet.ScriptManager.bootstrap.3.3.7.nupkg b/packages/AspNet.ScriptManager.bootstrap.3.3.7/AspNet.ScriptManager.bootstrap.3.3.7.nupkg new file mode 100644 index 0000000..9bc9a83 Binary files /dev/null and b/packages/AspNet.ScriptManager.bootstrap.3.3.7/AspNet.ScriptManager.bootstrap.3.3.7.nupkg differ diff --git a/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net40/AspNet.ScriptManager.bootstrap.dll b/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net40/AspNet.ScriptManager.bootstrap.dll new file mode 100644 index 0000000..8fc932b Binary files /dev/null and b/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net40/AspNet.ScriptManager.bootstrap.dll differ diff --git a/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net45/AspNet.ScriptManager.bootstrap.dll b/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net45/AspNet.ScriptManager.bootstrap.dll new file mode 100644 index 0000000..eccef70 Binary files /dev/null and b/packages/AspNet.ScriptManager.bootstrap.3.3.7/lib/net45/AspNet.ScriptManager.bootstrap.dll differ diff --git a/packages/Glimpse.NLog.1.7.0/Glimpse.NLog.1.7.0.nupkg b/packages/Glimpse.NLog.1.7.0/Glimpse.NLog.1.7.0.nupkg deleted file mode 100644 index 277cb1b..0000000 Binary files a/packages/Glimpse.NLog.1.7.0/Glimpse.NLog.1.7.0.nupkg and /dev/null differ diff --git a/packages/Glimpse.NLog.1.7.1/Glimpse.NLog.1.7.1.nupkg b/packages/Glimpse.NLog.1.7.1/Glimpse.NLog.1.7.1.nupkg new file mode 100644 index 0000000..fb88be5 Binary files /dev/null and b/packages/Glimpse.NLog.1.7.1/Glimpse.NLog.1.7.1.nupkg differ diff --git a/packages/Glimpse.NLog.1.7.0/lib/net40/Glimpse.NLog.dll b/packages/Glimpse.NLog.1.7.1/lib/net40/Glimpse.NLog.dll similarity index 58% rename from packages/Glimpse.NLog.1.7.0/lib/net40/Glimpse.NLog.dll rename to packages/Glimpse.NLog.1.7.1/lib/net40/Glimpse.NLog.dll index de9e378..0938059 100644 Binary files a/packages/Glimpse.NLog.1.7.0/lib/net40/Glimpse.NLog.dll and b/packages/Glimpse.NLog.1.7.1/lib/net40/Glimpse.NLog.dll differ diff --git a/packages/Glimpse.NLog.1.7.0/lib/net45/Glimpse.NLog.dll b/packages/Glimpse.NLog.1.7.1/lib/net45/Glimpse.NLog.dll similarity index 58% rename from packages/Glimpse.NLog.1.7.0/lib/net45/Glimpse.NLog.dll rename to packages/Glimpse.NLog.1.7.1/lib/net45/Glimpse.NLog.dll index 7fa9a0b..ed97b45 100644 Binary files a/packages/Glimpse.NLog.1.7.0/lib/net45/Glimpse.NLog.dll and b/packages/Glimpse.NLog.1.7.1/lib/net45/Glimpse.NLog.dll differ diff --git a/packages/NLog.4.4.1/NLog.4.4.1.nupkg b/packages/NLog.4.4.1/NLog.4.4.1.nupkg deleted file mode 100644 index 170f676..0000000 Binary files a/packages/NLog.4.4.1/NLog.4.4.1.nupkg and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/MonoAndroid10/NLog.dll b/packages/NLog.4.4.1/lib/MonoAndroid10/NLog.dll deleted file mode 100644 index 787fb0d..0000000 Binary files a/packages/NLog.4.4.1/lib/MonoAndroid10/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.dll b/packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.dll deleted file mode 100644 index 6bec677..0000000 Binary files a/packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/net35/NLog.dll b/packages/NLog.4.4.1/lib/net35/NLog.dll deleted file mode 100644 index b56deca..0000000 Binary files a/packages/NLog.4.4.1/lib/net35/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/net40/NLog.dll b/packages/NLog.4.4.1/lib/net40/NLog.dll deleted file mode 100644 index 2c065ed..0000000 Binary files a/packages/NLog.4.4.1/lib/net40/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/net45/NLog.dll b/packages/NLog.4.4.1/lib/net45/NLog.dll deleted file mode 100644 index fc1ff3d..0000000 Binary files a/packages/NLog.4.4.1/lib/net45/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/sl4/NLog.dll b/packages/NLog.4.4.1/lib/sl4/NLog.dll deleted file mode 100644 index 99a1c39..0000000 Binary files a/packages/NLog.4.4.1/lib/sl4/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/sl5/NLog.dll b/packages/NLog.4.4.1/lib/sl5/NLog.dll deleted file mode 100644 index 4214fb2..0000000 Binary files a/packages/NLog.4.4.1/lib/sl5/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.1/lib/wp8/NLog.dll b/packages/NLog.4.4.1/lib/wp8/NLog.dll deleted file mode 100644 index 11cb343..0000000 Binary files a/packages/NLog.4.4.1/lib/wp8/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.7/NLog.4.4.7.nupkg b/packages/NLog.4.4.7/NLog.4.4.7.nupkg new file mode 100644 index 0000000..c63f901 Binary files /dev/null and b/packages/NLog.4.4.7/NLog.4.4.7.nupkg differ diff --git a/packages/NLog.4.4.7/lib/MonoAndroid10/NLog.dll b/packages/NLog.4.4.7/lib/MonoAndroid10/NLog.dll new file mode 100644 index 0000000..de9a67d Binary files /dev/null and b/packages/NLog.4.4.7/lib/MonoAndroid10/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.xml b/packages/NLog.4.4.7/lib/MonoAndroid10/NLog.xml similarity index 95% rename from packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.xml rename to packages/NLog.4.4.7/lib/MonoAndroid10/NLog.xml index ef1bfd6..64705c1 100644 --- a/packages/NLog.4.4.1/lib/Xamarin.iOS10/NLog.xml +++ b/packages/NLog.4.4.7/lib/MonoAndroid10/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -612,6 +629,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -657,6 +681,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -670,6 +702,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -715,6 +754,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -728,6 +775,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -773,6 +827,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -786,6 +848,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -831,6 +900,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -844,6 +921,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -889,6 +973,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -902,6 +994,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -947,6 +1046,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1835,6 +1942,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. @@ -1845,6 +1968,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1873,6 +1998,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1896,6 +2037,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2883,19 +3029,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2904,7 +3055,15 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + + + + + Prefix for assets in Xamarin Android + @@ -3052,6 +3211,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3090,6 +3256,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -6454,6 +6628,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -6899,21 +7173,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -6984,11 +7264,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7057,7 +7339,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -7094,6 +7376,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -7143,16 +7430,33 @@ Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - Gets or sets the file attributes (Windows only). - - Should we capture the last write time of a file? + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -7166,11 +7470,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7229,11 +7535,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7378,11 +7686,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -7502,6 +7811,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -7923,6 +8262,71 @@ The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + Portable implementation of . + + + + + Returns details about current process and thread in a portable manner. + + + + + Initializes static members of the ThreadIDHelper class. + + + + + Gets the singleton instance of PortableThreadIDHelper or + Win32ThreadIDHelper depending on runtime environment. + + The instance. + + + + Gets current process ID. + + + + + Gets current process name. + + + + + Gets current process name (excluding filename extension, if any). + + + + + Initializes a new instance of the class. + + + + + Gets the name of the process. + + + + + Gets current process ID. + + + + + + Gets current process name. + + + + + + Gets current process name (excluding filename extension, if any). + + + Reflection helpers for accessing properties. @@ -8004,6 +8408,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -8140,13 +8583,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8195,7 +8638,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -8445,19 +8888,6 @@ Skip UTF8 encoding, and prefix special characters with '%u' - - - Win32-optimized implementation of . - - - - - Gets the information about a file. - - Name of the file. - The file stream. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Helper class for XML @@ -8475,6 +8905,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -8562,6 +9014,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -8737,6 +9196,11 @@ The current application domain's base directory. + + + cached + + Initializes a new instance of the class. @@ -8754,6 +9218,11 @@ The to append the rendered data to. Logging event. + + + Use base dir of current process. + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. @@ -9365,6 +9834,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -9377,6 +9866,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -9662,6 +10156,18 @@ + + + The identifier of the current process. + + + + + Renders the current process ID. + + The to append the rendered data to. + Logging event. + The information about the running process. @@ -9901,6 +10407,24 @@ Working Set Size (64-bit). + + + The name of the current process. + + + + + Renders the current process name (optionally with a full path). + + The to append the rendered data to. + Logging event. + + + + Gets or sets a value indicating whether to write the full path to the process executable. + + + The process time in format HH:mm:ss.mmm. @@ -10329,17 +10853,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -10371,6 +10935,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -10381,12 +10951,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -10576,12 +11145,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -10603,12 +11171,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -10628,12 +11201,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -10657,12 +11229,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -10720,21 +11291,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -10747,21 +11315,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -10838,12 +11403,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -10887,6 +11446,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -10942,16 +11525,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -10974,6 +11563,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11072,6 +11668,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -11107,7 +11710,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11168,6 +11778,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11229,6 +11846,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -11239,6 +11861,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -11308,6 +11937,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -11400,6 +12036,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -11430,7 +12074,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -12012,9 +12655,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -12029,6 +12669,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + Auto-generated Logger members for binary compatibility with NLog 1.0. @@ -12246,6 +12889,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -13134,616 +14387,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Writes the diagnostic message at the specified level. @@ -15659,11 +16302,6 @@ Creates and manages instances of objects. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -16444,6 +17082,316 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + Represents logging target. + + + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + Can be used if has been enabled. + + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Closes the target. + + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Calls the on each volatile layout + used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. + + + The log event. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Writes the log to the target. + + Log event to write. + + + + Writes the array of log events. + + The log events. + + + + Writes the array of log events. + + The log events. + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Releases unmanaged and - optionally - managed resources. + + True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Initializes the target. Can be used by inheriting classes + to initialize logging. + + + + + Closes the target and releases any unmanaged resources. + + + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Writes logging event to the log target. Must be overridden in inheriting + classes. + + Logging event to be written out. + + + + Writes async log event to the log target. + + Async Log event to be written out. + + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Merges (copies) the event context properties from any event info object stored in + parameters of the given event info object. + + The event info object to perform the merge to. + + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + The Max StackTraceUsage of all the in this Target + + + + + Gets or sets the name of the target. + + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . + + + + + Gets the logging configuration this target is part of. + + + + + Gets a value indicating whether the target has been initialized. + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -16542,182 +17490,6 @@ Represents target that supports string formatting using layouts. - - - Represents logging target. - - - - - Get all used layouts in this target. - - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. - classes. - - - Logging event to be written out. - - - - - Writes log event to the log target. Must be overridden in inheriting - classes. - - Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - - Log event to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Gets or sets the name of the target. - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - Initializes a new instance of the class. @@ -17535,18 +18307,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -17608,6 +18398,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -17778,6 +18603,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17793,6 +18633,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17804,6 +18654,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -17825,6 +18682,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -17965,6 +18845,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -18025,19 +18915,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -18077,7 +18963,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18182,12 +19068,6 @@ - - - Gets or sets the file attributes (Windows only). - - - Should we capture the last write time of a file? @@ -18239,6 +19119,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -18683,6 +19569,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -18967,6 +19863,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -19367,6 +20269,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19459,95 +20372,6 @@ the requested kind of HTTP request - - - Win32 file attributes. - - - For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - Asynchronous request queue. @@ -19576,6 +20400,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19767,6 +20598,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -19835,6 +20673,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -19843,12 +20686,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -20242,6 +21101,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20403,6 +21272,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20612,6 +21500,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.dll b/packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.dll new file mode 100644 index 0000000..10759e1 Binary files /dev/null and b/packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/MonoAndroid10/NLog.xml b/packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.xml similarity index 95% rename from packages/NLog.4.4.1/lib/MonoAndroid10/NLog.xml rename to packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.xml index c2640c2..38a292e 100644 --- a/packages/NLog.4.4.1/lib/MonoAndroid10/NLog.xml +++ b/packages/NLog.4.4.7/lib/Xamarin.iOS10/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -612,6 +629,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -657,6 +681,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -670,6 +702,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -715,6 +754,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -728,6 +775,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -773,6 +827,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -786,6 +848,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -831,6 +900,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -844,6 +921,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -889,6 +973,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -902,6 +994,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -947,6 +1046,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1835,6 +1942,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. @@ -1845,6 +1968,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1873,6 +1998,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1896,6 +2037,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2883,19 +3029,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2904,12 +3055,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. - - - - Prefix for assets in Xamarin Android - + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3057,6 +3206,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3095,6 +3251,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -6459,6 +6623,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -6904,21 +7168,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -6989,11 +7259,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7062,7 +7334,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -7099,6 +7371,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -7148,16 +7425,33 @@ Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - Gets or sets the file attributes (Windows only). - - Should we capture the last write time of a file? + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -7171,11 +7465,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7234,11 +7530,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7383,11 +7681,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -7507,6 +7806,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -7928,71 +8257,6 @@ The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. - - - Portable implementation of . - - - - - Returns details about current process and thread in a portable manner. - - - - - Initializes static members of the ThreadIDHelper class. - - - - - Gets the singleton instance of PortableThreadIDHelper or - Win32ThreadIDHelper depending on runtime environment. - - The instance. - - - - Gets current process ID. - - - - - Gets current process name. - - - - - Gets current process name (excluding filename extension, if any). - - - - - Initializes a new instance of the class. - - - - - Gets the name of the process. - - - - - Gets current process ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - Reflection helpers for accessing properties. @@ -8074,6 +8338,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -8210,13 +8513,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8265,7 +8568,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -8515,47 +8818,6 @@ Skip UTF8 encoding, and prefix special characters with '%u' - - - Win32-optimized implementation of . - - - - - Gets the information about a file. - - Name of the file. - The file stream. - The file characteristics, if the file information was retrieved successfully, otherwise null. - - - - Win32-optimized implementation of . - - - - - Initializes a new instance of the class. - - - - - Gets current process ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - Helper class for XML @@ -8573,6 +8835,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -8660,6 +8944,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -8835,6 +9126,11 @@ The current application domain's base directory. + + + cached + + Initializes a new instance of the class. @@ -8852,6 +9148,11 @@ The to append the rendered data to. Logging event. + + + Use base dir of current process. + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. @@ -9463,6 +9764,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -9475,6 +9796,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -9760,18 +10086,6 @@ - - - The identifier of the current process. - - - - - Renders the current process ID. - - The to append the rendered data to. - Logging event. - The information about the running process. @@ -10011,24 +10325,6 @@ Working Set Size (64-bit). - - - The name of the current process. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - The process time in format HH:mm:ss.mmm. @@ -10049,61 +10345,6 @@ - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Renders the ticks value of current time and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - The short date in a sortable format yyyy-MM-dd. @@ -10512,17 +10753,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -10554,6 +10835,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -10564,12 +10851,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -10759,12 +11045,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -10786,12 +11071,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -10811,12 +11101,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -10840,12 +11129,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -10903,21 +11191,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -10930,21 +11215,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11021,12 +11303,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -11070,6 +11346,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -11125,16 +11425,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -11157,6 +11463,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11255,6 +11568,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -11290,7 +11610,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11351,6 +11678,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11412,6 +11746,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -11422,6 +11761,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -11491,6 +11837,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -11583,6 +11936,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -11613,7 +11974,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -12195,9 +12555,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -12212,6 +12569,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + Auto-generated Logger members for binary compatibility with NLog 1.0. @@ -12429,6 +12789,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -13317,616 +14287,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Writes the diagnostic message at the specified level. @@ -15842,11 +16202,6 @@ Creates and manages instances of objects. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -16627,6 +16982,316 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + Represents logging target. + + + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + Can be used if has been enabled. + + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Closes the target. + + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Calls the on each volatile layout + used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. + + + The log event. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Writes the log to the target. + + Log event to write. + + + + Writes the array of log events. + + The log events. + + + + Writes the array of log events. + + The log events. + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Releases unmanaged and - optionally - managed resources. + + True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Initializes the target. Can be used by inheriting classes + to initialize logging. + + + + + Closes the target and releases any unmanaged resources. + + + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Writes logging event to the log target. Must be overridden in inheriting + classes. + + Logging event to be written out. + + + + Writes async log event to the log target. + + Async Log event to be written out. + + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Merges (copies) the event context properties from any event info object stored in + parameters of the given event info object. + + The event info object to perform the merge to. + + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + The Max StackTraceUsage of all the in this Target + + + + + Gets or sets the name of the target. + + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . + + + + + Gets the logging configuration this target is part of. + + + + + Gets a value indicating whether the target has been initialized. + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -16725,182 +17390,6 @@ Represents target that supports string formatting using layouts. - - - Represents logging target. - - - - - Get all used layouts in this target. - - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. - classes. - - - Logging event to be written out. - - - - - Writes log event to the log target. Must be overridden in inheriting - classes. - - Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - - Log event to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Gets or sets the name of the target. - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - Initializes a new instance of the class. @@ -17718,18 +18207,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -17791,6 +18298,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -17961,6 +18503,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17976,6 +18533,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17987,6 +18554,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -18008,6 +18582,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -18148,6 +18745,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -18208,19 +18815,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -18260,7 +18863,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18365,12 +18968,6 @@ - - - Gets or sets the file attributes (Windows only). - - - Should we capture the last write time of a file? @@ -18422,6 +19019,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -18866,6 +19469,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -19150,6 +19763,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -19370,50 +19989,6 @@ - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - SMTP authentication modes. @@ -19594,6 +20169,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19686,95 +20272,6 @@ the requested kind of HTTP request - - - Win32 file attributes. - - - For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - Asynchronous request queue. @@ -19803,6 +20300,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19994,6 +20498,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -20062,6 +20573,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -20070,12 +20586,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -20337,119 +20869,6 @@ - - - Impersonates another user for the duration of the write. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the impersonation context. - - - - - Closes the impersonation context. - - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - The log event. - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - Log events. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Gets or sets username to change context to. - - - - - - Gets or sets the user account password. - - - - - - Gets or sets Windows domain name to change context to. - - - - - - Gets or sets the Logon Type. - - - - - - Gets or sets the type of the logon provider. - - - - - - Gets or sets the required impersonation level. - - - - - - Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. - - - - - - Helper class which reverts the given - to its original value as part of . - - - - - Initializes a new instance of the class. - - The windows impersonation context. - - - - Reverts the impersonation context. - - Limits the number of messages written per timespan to the wrapped target. @@ -20582,6 +21001,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20743,6 +21172,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20952,6 +21400,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.4.4.7/lib/net35/NLog.dll b/packages/NLog.4.4.7/lib/net35/NLog.dll new file mode 100644 index 0000000..f138301 Binary files /dev/null and b/packages/NLog.4.4.7/lib/net35/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/net45/NLog.xml b/packages/NLog.4.4.7/lib/net35/NLog.xml similarity index 96% rename from packages/NLog.4.4.1/lib/net45/NLog.xml rename to packages/NLog.4.4.7/lib/net35/NLog.xml index c97ead3..c272297 100644 --- a/packages/NLog.4.4.1/lib/net45/NLog.xml +++ b/packages/NLog.4.4.7/lib/net35/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -624,6 +641,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -669,6 +693,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -682,6 +714,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -727,6 +766,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -740,6 +787,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -785,6 +839,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -798,6 +860,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -843,6 +912,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -856,6 +933,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -901,6 +985,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -914,6 +1006,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -959,6 +1058,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1852,6 +1959,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + NLog configuration section handler class for configuring NLog from App.config. @@ -1876,6 +1999,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1904,6 +2029,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1927,6 +2068,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2944,19 +3090,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2965,7 +3116,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3113,6 +3267,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3151,6 +3312,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -3424,61 +3593,6 @@ - - - A global logging class using caller info to find the logger. - - - - - Starts building a log event with the specified . - - The log level. - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Trace level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Debug level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Info level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Warn level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Error level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Fatal level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - A fluent class to build log events for NLog. @@ -3610,31 +3724,22 @@ Index of the first user stack frame within the stack trace. current for chaining calls. - + Writes the log event to the underlying logger. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - + - Writes the log event to the underlying logger if the condition delegate is true. + Writes the log event to the underlying logger. If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - + - Writes the log event to the underlying logger if the condition is true. + Writes the log event to the underlying logger. If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. @@ -4311,46 +4416,6 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -6625,6 +6690,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -7092,21 +7257,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -7202,11 +7373,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7280,7 +7453,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -7322,6 +7495,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -7401,11 +7579,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7458,6 +7638,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -7471,11 +7673,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7540,11 +7744,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7612,11 +7818,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7747,11 +7961,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -7861,6 +8076,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -7943,6 +8188,11 @@ we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' + + + Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class. + + Network sender which uses HTTP or HTTPS POST. @@ -8466,6 +8716,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -8602,13 +8891,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8657,7 +8946,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -8958,12 +9247,27 @@ removes any unusual unicode characters that can't be encoded into XML - + - Cleans string of any invalid XML chars found + Converts object value to invariant format, and strips any invalid xml-characters - unclean string - string with only valid XML chars + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string @@ -9052,6 +9356,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -9141,33 +9452,12 @@ The to append the rendered data to. Logging event. - - - The names of caller information attributes. - https://msdn.microsoft.com/en-us/library/hh534540.aspx - - - - - Also render the call attributes? (, - , ). - - - Gets or sets string that will be used to separate key/value pairs. - - - Also render the caller information attributes? (, - , ). - - See https://msdn.microsoft.com/en-us/library/hh534540.aspx - - Gets or sets how key/value pairs will be formatted. @@ -9248,6 +9538,11 @@ The current application domain's base directory. + + + cached + + Initializes a new instance of the class. @@ -9265,6 +9560,11 @@ The to append the rendered data to. Logging event. + + + Use base dir of current process. + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. @@ -9876,6 +10176,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -9888,6 +10208,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -10068,24 +10393,6 @@ - - - Mapped Diagnostic Logical Context item (based on CallContext). - - - - - Renders the specified MDLC item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets or sets the name of the item. - - - The formatted log message. @@ -10634,12 +10941,6 @@ Default value wasn't a Layout before and needed an escape of the slash - - - Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). - Allowed values: Registry32, Registry64, Default - - Gets or sets the registry key. @@ -11076,17 +11377,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -11118,6 +11459,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -11128,12 +11475,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11323,12 +11669,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11350,12 +11695,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11375,12 +11725,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11404,12 +11753,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11467,21 +11815,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11494,21 +11839,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11585,12 +11927,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -11634,6 +11970,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -11689,16 +12049,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -11721,6 +12087,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11819,6 +12192,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -11854,7 +12234,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11915,6 +12302,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11976,6 +12370,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -11986,6 +12385,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -12055,6 +12461,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -12147,6 +12560,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -12177,7 +12598,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -12414,6 +12834,11 @@ When this property is null, the default file paths ( are used. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -12770,9 +13195,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -12787,6 +13209,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + Auto-generated Logger members for binary compatibility with NLog 1.0. @@ -12998,51 +13423,622 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - Raises the event when the logger is reconfigured. Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -13931,616 +14927,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Writes the diagnostic message at the specified level. @@ -16456,11 +16842,6 @@ Creates and manages instances of objects. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -16869,12 +17250,6 @@ Gets the target endpoint for the service to which the WCF client can connect. - - - Gets or sets the cookie container. - - The cookie container. - Implementation of which forwards received logs through or a given . @@ -17146,12 +17521,6 @@ Occurs when Close operation has completed. - - - Gets or sets the cookie container. - - The cookie container. - Initializes a new instance of the class. @@ -17420,12 +17789,6 @@ Occurs when the communication object first enters the closing state. - - - Gets or sets the cookie container. - - The cookie container. - Gets the target endpoint for the service to which the WCF client can connect. @@ -17646,93 +18009,6 @@ Clears the content of current thread MDC. - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - Mapped Diagnostics Context - used for log4net compatibility. @@ -18329,11 +18605,13 @@ Represents logging target. - + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + - Get all used layouts in this target. + Can be used if has been enabled. - @@ -18361,6 +18639,7 @@ Calls the on each volatile layout used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. The log event. @@ -18386,6 +18665,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -18422,19 +18707,16 @@ - Writes logging event to the log target. + Writes logging event to the log target. Must be overridden in inheriting classes. - - Logging event to be written out. - + Logging event to be written out. - Writes log event to the log target. Must be overridden in inheriting - classes. + Writes async log event to the log target. - Log event to be written out. + Async Log event to be written out. @@ -18443,6 +18725,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -18451,6 +18743,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -18463,6 +18763,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -18479,12 +18787,24 @@ Type of the Target. Name of the Target. + + + The Max StackTraceUsage of all the in this Target + + Gets or sets the name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -19409,6 +19729,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19740,18 +20070,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -19961,6 +20309,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -20131,6 +20514,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -20146,6 +20544,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -20157,6 +20565,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -20178,6 +20593,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -20318,6 +20756,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -20378,19 +20826,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -20430,7 +20874,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20592,6 +21036,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -21016,6 +21466,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -21152,6 +21612,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21443,6 +21913,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -22006,6 +22482,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -22215,6 +22702,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22406,6 +22900,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22474,6 +22975,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -22482,12 +22988,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22791,6 +23313,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -22994,6 +23526,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -23155,6 +23697,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23364,6 +23925,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -23371,19 +23942,6 @@ Logging events to be written out. - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - Current local time retrieved directly from DateTime.Now. diff --git a/packages/NLog.4.4.7/lib/net40/NLog.dll b/packages/NLog.4.4.7/lib/net40/NLog.dll new file mode 100644 index 0000000..a47260a Binary files /dev/null and b/packages/NLog.4.4.7/lib/net40/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/net40/NLog.xml b/packages/NLog.4.4.7/lib/net40/NLog.xml similarity index 95% rename from packages/NLog.4.4.1/lib/net40/NLog.xml rename to packages/NLog.4.4.7/lib/net40/NLog.xml index 644d962..17b7b63 100644 --- a/packages/NLog.4.4.1/lib/net40/NLog.xml +++ b/packages/NLog.4.4.7/lib/net40/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -624,6 +641,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -669,6 +693,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -682,6 +714,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -727,6 +766,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -740,6 +787,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -785,6 +839,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -798,6 +860,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -843,6 +912,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -856,6 +933,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -901,6 +985,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -914,6 +1006,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -959,6 +1058,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1852,6 +1959,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + NLog configuration section handler class for configuring NLog from App.config. @@ -1876,6 +1999,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1904,6 +2029,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1927,6 +2068,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2944,19 +3090,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2965,7 +3116,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3113,6 +3267,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3151,6 +3312,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -6521,6 +6690,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -6988,21 +7257,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -7098,11 +7373,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7176,7 +7453,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -7218,6 +7495,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -7297,11 +7579,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7354,6 +7638,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -7367,11 +7673,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7436,11 +7744,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7508,11 +7818,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7643,11 +7961,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -7757,6 +8076,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -8362,6 +8711,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -8498,13 +8886,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8553,7 +8941,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -8861,6 +9249,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -8948,6 +9358,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -9123,6 +9540,11 @@ The current application domain's base directory. + + + cached + + Initializes a new instance of the class. @@ -9140,6 +9562,11 @@ The to append the rendered data to. Logging event. + + + Use base dir of current process. + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. @@ -9751,6 +10178,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -9763,6 +10210,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -10951,17 +11403,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -10993,6 +11485,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -11003,12 +11501,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11198,12 +11695,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11225,12 +11721,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11250,12 +11751,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11279,12 +11779,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11342,21 +11841,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11369,21 +11865,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11460,12 +11953,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -11509,6 +11996,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -11564,16 +12075,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -11596,6 +12113,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11694,6 +12218,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -11729,7 +12260,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11790,6 +12328,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11851,6 +12396,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -11861,6 +12411,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -11930,6 +12487,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -12022,6 +12586,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -12052,7 +12624,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -12289,6 +12860,11 @@ When this property is null, the default file paths ( are used. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -12645,9 +13221,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -12662,6 +13235,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + Auto-generated Logger members for binary compatibility with NLog 1.0. @@ -12879,6 +13455,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -13767,616 +14953,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Writes the diagnostic message at the specified level. @@ -16292,11 +16868,6 @@ Creates and manages instances of objects. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -18044,6 +18615,316 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + Represents logging target. + + + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + Can be used if has been enabled. + + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Closes the target. + + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Calls the on each volatile layout + used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. + + + The log event. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Writes the log to the target. + + Log event to write. + + + + Writes the array of log events. + + The log events. + + + + Writes the array of log events. + + The log events. + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Releases unmanaged and - optionally - managed resources. + + True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Initializes the target. Can be used by inheriting classes + to initialize logging. + + + + + Closes the target and releases any unmanaged resources. + + + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Writes logging event to the log target. Must be overridden in inheriting + classes. + + Logging event to be written out. + + + + Writes async log event to the log target. + + Async Log event to be written out. + + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Merges (copies) the event context properties from any event info object stored in + parameters of the given event info object. + + The event info object to perform the merge to. + + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + The Max StackTraceUsage of all the in this Target + + + + + Gets or sets the name of the target. + + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . + + + + + Gets the logging configuration this target is part of. + + + + + Gets a value indicating whether the target has been initialized. + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -18142,182 +19023,6 @@ Represents target that supports string formatting using layouts. - - - Represents logging target. - - - - - Get all used layouts in this target. - - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. - classes. - - - Logging event to be written out. - - - - - Writes log event to the log target. Must be overridden in inheriting - classes. - - Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - - Log event to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Gets or sets the name of the target. - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - Initializes a new instance of the class. @@ -19227,6 +19932,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19558,18 +20273,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -19779,6 +20512,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -19949,6 +20717,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -19964,6 +20747,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -19975,6 +20768,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -19996,6 +20796,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -20136,6 +20959,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -20196,19 +21029,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -20248,7 +21077,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20410,6 +21239,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -20834,6 +21669,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -20970,6 +21815,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21261,6 +22116,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -21824,6 +22685,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -22033,6 +22905,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22224,6 +23103,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22292,6 +23178,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -22300,12 +23191,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22609,6 +23516,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -22812,6 +23729,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -22973,6 +23900,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23182,6 +24128,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.4.4.7/lib/net45/NLog.dll b/packages/NLog.4.4.7/lib/net45/NLog.dll new file mode 100644 index 0000000..1f24835 Binary files /dev/null and b/packages/NLog.4.4.7/lib/net45/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/net35/NLog.xml b/packages/NLog.4.4.7/lib/net45/NLog.xml similarity index 94% rename from packages/NLog.4.4.1/lib/net35/NLog.xml rename to packages/NLog.4.4.7/lib/net45/NLog.xml index 0785783..e29bb6c 100644 --- a/packages/NLog.4.4.1/lib/net35/NLog.xml +++ b/packages/NLog.4.4.7/lib/net45/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -624,6 +641,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -669,6 +693,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -682,6 +714,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -727,6 +766,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -740,6 +787,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -785,6 +839,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -798,6 +860,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -843,6 +912,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -856,6 +933,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -901,6 +985,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -914,6 +1006,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -959,6 +1058,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1852,6 +1959,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + NLog configuration section handler class for configuring NLog from App.config. @@ -1876,6 +1999,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1904,6 +2029,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1927,6 +2068,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2944,19 +3090,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2965,7 +3116,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3113,6 +3267,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3151,6 +3312,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -3424,6 +3593,61 @@ + + + A global logging class using caller info to find the logger. + + + + + Starts building a log event with the specified . + + The log level. + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Trace level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Debug level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Info level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Warn level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Error level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + + + + Starts building a log event at the Fatal level. + + The full path of the source file that contains the caller. This is the file path at the time of compile. + An instance of the fluent . + A fluent class to build log events for NLog. @@ -3555,22 +3779,31 @@ Index of the first user stack frame within the stack trace. current for chaining calls. - + Writes the log event to the underlying logger. + The method or property name of the caller to the method. This is set at by the compiler. + The full path of the source file that contains the caller. This is set at by the compiler. + The line number in the source file at which the method is called. This is set at by the compiler. - + - Writes the log event to the underlying logger. + Writes the log event to the underlying logger if the condition delegate is true. If condition is true, write log event; otherwise ignore event. + The method or property name of the caller to the method. This is set at by the compiler. + The full path of the source file that contains the caller. This is set at by the compiler. + The line number in the source file at which the method is called. This is set at by the compiler. - + - Writes the log event to the underlying logger. + Writes the log event to the underlying logger if the condition is true. If condition is true, write log event; otherwise ignore event. + The method or property name of the caller to the method. This is set at by the compiler. + The full path of the source file that contains the caller. This is set at by the compiler. + The line number in the source file at which the method is called. This is set at by the compiler. @@ -4247,6 +4480,46 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Logs an exception is logged at Error level if the provided task does not run to completion. + + The task for which to log an error if it does not run to completion. + This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. + + + + Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. + + The task for which to log an error if it does not run to completion. + A task that completes in the state when completes. + + + + Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. + + Async action to execute. + A task that completes in the state when completes. + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a default value is returned instead. + + Return type of the provided function. + Async function to run. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a fallback value is returned instead. + + Return type of the provided function. + Async function to run. + Fallback value to return if the task does not end in the state. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -6521,6 +6794,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -6988,21 +7361,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -7098,11 +7477,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7176,7 +7557,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -7218,6 +7599,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -7297,11 +7683,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7354,6 +7742,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -7367,11 +7777,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7436,11 +7848,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7508,11 +7922,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -7643,11 +8065,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -7757,6 +8180,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -7839,11 +8292,6 @@ we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class. - - Network sender which uses HTTP or HTTPS POST. @@ -8367,6 +8815,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -8503,13 +8990,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8558,7 +9045,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -8859,6 +9346,35 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -8946,6 +9462,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -9035,12 +9558,33 @@ The to append the rendered data to. Logging event. + + + The names of caller information attributes. + https://msdn.microsoft.com/en-us/library/hh534540.aspx + + + + + Also render the call attributes? (, + , ). + + + Gets or sets string that will be used to separate key/value pairs. + + + Also render the caller information attributes? (, + , ). + + See https://msdn.microsoft.com/en-us/library/hh534540.aspx + + Gets or sets how key/value pairs will be formatted. @@ -9121,6 +9665,11 @@ The current application domain's base directory. + + + cached + + Initializes a new instance of the class. @@ -9138,6 +9687,11 @@ The to append the rendered data to. Logging event. + + + Use base dir of current process. + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. @@ -9749,6 +10303,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -9761,6 +10335,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -9941,6 +10520,24 @@ + + + Mapped Diagnostic Logical Context item (based on CallContext). + + + + + Renders the specified MDLC item and appends it to the specified . + + The to append the rendered data to. + Logging event. + + + + Gets or sets the name of the item. + + + The formatted log message. @@ -10489,6 +11086,12 @@ Default value wasn't a Layout before and needed an escape of the slash + + + Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). + Allowed values: Registry32, Registry64, Default + + Gets or sets the registry key. @@ -10925,17 +11528,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -10967,6 +11610,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -10977,12 +11626,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11172,12 +11820,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11199,12 +11846,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11224,12 +11876,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11253,12 +11904,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11316,21 +11966,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11343,21 +11990,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11434,12 +12078,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -11483,6 +12121,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -11538,16 +12200,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -11570,6 +12238,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11668,6 +12343,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -11703,7 +12385,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11764,6 +12453,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11825,6 +12521,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -11835,6 +12536,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -11904,6 +12612,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -11996,6 +12711,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -12026,7 +12749,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -12263,6 +12985,11 @@ When this property is null, the default file paths ( are used. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -12619,9 +13346,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -12636,6 +13360,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + Auto-generated Logger members for binary compatibility with NLog 1.0. @@ -12847,12 +13574,661 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Logs an exception is logged at Error level if the provided task does not run to completion. + + The task for which to log an error if it does not run to completion. + This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. + + + + Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. + + The task for which to log an error if it does not run to completion. + A task that completes in the state when completes. + + + + Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. + + Async action to execute. + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a default value is returned instead. + + Return type of the provided function. + Async function to run. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a fallback value is returned instead. + + Return type of the provided function. + Async function to run. + Fallback value to return if the task does not end in the state. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. + Raises the event when the logger is reconfigured. Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -13741,616 +15117,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Writes the diagnostic message at the specified level. @@ -16266,11 +17032,6 @@ Creates and manages instances of objects. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -16679,6 +17440,12 @@ Gets the target endpoint for the service to which the WCF client can connect. + + + Gets or sets the cookie container. + + The cookie container. + Implementation of which forwards received logs through or a given . @@ -16950,6 +17717,12 @@ Occurs when Close operation has completed. + + + Gets or sets the cookie container. + + The cookie container. + Initializes a new instance of the class. @@ -17218,6 +17991,12 @@ Occurs when the communication object first enters the closing state. + + + Gets or sets the cookie container. + + The cookie container. + Gets the target endpoint for the service to which the WCF client can connect. @@ -17438,6 +18217,93 @@ Clears the content of current thread MDC. + + + Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary + of strings and provides methods to output them in layouts. Allows for maintaining state across + asynchronous tasks and call contexts. + + + Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original + NLog library so that state can be maintained for multiple threads in asynchronous situations. + + + + + Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). + In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. + + Must be true for any subsequent dictionary modification operation + + + + + Gets the current logical context named item, as . + + Item name. + The value of , if defined; otherwise . + If the value isn't a already, this call locks the for reading the needed for converting to . + + + + Gets the current logical context named item, as . + + Item name. + The to use when converting a value to a string. + The value of , if defined; otherwise . + If is null and the value isn't a already, this call locks the for reading the needed for converting to . + + + + Gets the current logical context named item, as . + + Item name. + The value of , if defined; otherwise null. + + + + Sets the current logical context item to the specified value. + + Item name. + Item value. + + + + Sets the current logical context item to the specified value. + + Item name. + Item value. + + + + Returns all item names + + A collection of the names of all items in current logical context. + + + + Checks whether the specified exists in current logical context. + + Item name. + A boolean indicating whether the specified exists in current logical context. + + + + Removes the specified from current logical context. + + Item name. + + + + Clears the content of current logical context. + + + + + Clears the content of current logical context. + + Free the full slot. + Mapped Diagnostics Context - used for log4net compatibility. @@ -17931,6 +18797,316 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + Represents logging target. + + + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + Can be used if has been enabled. + + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Closes the target. + + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Calls the on each volatile layout + used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. + + + The log event. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Writes the log to the target. + + Log event to write. + + + + Writes the array of log events. + + The log events. + + + + Writes the array of log events. + + The log events. + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Releases unmanaged and - optionally - managed resources. + + True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Initializes the target. Can be used by inheriting classes + to initialize logging. + + + + + Closes the target and releases any unmanaged resources. + + + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Writes logging event to the log target. Must be overridden in inheriting + classes. + + Logging event to be written out. + + + + Writes async log event to the log target. + + Async Log event to be written out. + + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Merges (copies) the event context properties from any event info object stored in + parameters of the given event info object. + + The event info object to perform the merge to. + + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + The Max StackTraceUsage of all the in this Target + + + + + Gets or sets the name of the target. + + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . + + + + + Gets the logging configuration this target is part of. + + + + + Gets a value indicating whether the target has been initialized. + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -18029,182 +19205,6 @@ Represents target that supports string formatting using layouts. - - - Represents logging target. - - - - - Get all used layouts in this target. - - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. - classes. - - - Logging event to be written out. - - - - - Writes log event to the log target. Must be overridden in inheriting - classes. - - Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - - Log event to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Gets or sets the name of the target. - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - Initializes a new instance of the class. @@ -19114,6 +20114,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19445,18 +20455,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -19666,6 +20694,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -19836,6 +20899,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -19851,6 +20929,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -19862,6 +20950,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -19883,6 +20978,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -20023,6 +21141,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -20083,19 +21211,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -20135,7 +21259,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20297,6 +21421,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -20721,6 +21851,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -20857,6 +21997,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21148,6 +22298,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -21711,6 +22867,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -21920,6 +23087,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22111,6 +23285,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22179,6 +23360,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -22187,12 +23373,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22496,6 +23698,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -22699,6 +23911,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -22860,6 +24082,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23069,6 +24310,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -23076,6 +24327,19 @@ Logging events to be written out. + + + Builtin IFileCompressor implementation utilizing the .Net4.5 specific + and is used as the default value for on .Net4.5. + So log files created via can be zipped when archived + w/o 3rd party zip library when run on .Net4.5 or higher. + + + + + Implements using the .Net4.5 specific + + Current local time retrieved directly from DateTime.Now. diff --git a/packages/NLog.4.4.7/lib/sl4/NLog.dll b/packages/NLog.4.4.7/lib/sl4/NLog.dll new file mode 100644 index 0000000..2d295f4 Binary files /dev/null and b/packages/NLog.4.4.7/lib/sl4/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/sl5/NLog.xml b/packages/NLog.4.4.7/lib/sl4/NLog.xml similarity index 94% rename from packages/NLog.4.4.1/lib/sl5/NLog.xml rename to packages/NLog.4.4.7/lib/sl4/NLog.xml index 44ee782..5945383 100644 --- a/packages/NLog.4.4.1/lib/sl5/NLog.xml +++ b/packages/NLog.4.4.7/lib/sl4/NLog.xml @@ -587,6 +587,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -676,6 +693,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -721,6 +745,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -734,6 +766,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -779,6 +818,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -792,6 +839,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -837,6 +891,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -850,6 +912,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -895,6 +964,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -908,6 +985,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -953,6 +1037,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -966,6 +1058,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -1011,6 +1110,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + A cyclic buffer of object. @@ -1791,6 +1898,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. @@ -1801,6 +1924,13 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by + + + + + Called before the assembly will be loaded. @@ -1893,6 +2023,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -2848,19 +2994,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2869,7 +3020,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3020,6 +3174,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3058,6 +3219,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -4763,6 +4932,106 @@ The second argument to format. The third argument to format. + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -5050,11 +5319,81 @@ Gets a the current wrappered in a . + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Base class for optimized file appenders. @@ -5073,21 +5412,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -5223,11 +5568,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5287,6 +5634,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -5298,7 +5650,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -5387,6 +5739,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -5400,11 +5774,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5463,11 +5839,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5570,6 +5948,11 @@ Cached directory separator char array to avoid memory allocation on each method call. + + + not null when == false + + non null is fixed, @@ -5590,11 +5973,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -5672,6 +6056,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -6116,6 +6530,45 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -6252,13 +6705,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -6274,7 +6727,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -6574,6 +7027,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -6701,6 +7176,40 @@ The to append the rendered data to. Logging event. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + The call site (class name, method name and source information). @@ -7259,6 +7768,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -7343,11 +7859,36 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. + + + Gets or sets a value indicating the output format of the level. + + Renders the current log level and appends it to the specified . @@ -8000,12 +8541,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -8023,6 +8563,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Post-processes the rendered message. @@ -8053,12 +8599,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8240,12 +8785,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -8270,12 +8814,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -8294,12 +8843,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -8329,12 +8877,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8385,21 +8932,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8417,21 +8961,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8500,6 +9041,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -8551,6 +9133,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -8685,7 +9274,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -8709,6 +9305,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -8770,6 +9373,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -8806,6 +9414,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -8823,22 +9438,22 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -8887,6 +9502,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -8988,6 +9627,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -9013,6 +9659,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -9070,7 +9723,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -9132,6 +9784,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Represents the logging event. @@ -9693,9 +10353,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -9710,6 +10367,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + @@ -9939,6 +10599,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Gets a value indicating whether logging is enabled for the Trace level. @@ -10863,616 +12133,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Implementation of logging engine. @@ -13425,18 +14085,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Modes of archiving files based on time. @@ -13472,6 +14150,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -13717,6 +14430,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -13928,6 +14647,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13943,6 +14677,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13954,6 +14698,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -13975,6 +14726,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -14116,6 +14890,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -14176,19 +14960,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -14230,7 +15010,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -14579,6 +15359,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -14698,6 +15488,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -15191,12 +15987,27 @@ Represents logging target. + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + The Max StackTraceUsage of all the in this Target + + Gets or sets the name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -15212,11 +16023,10 @@ Gets a value indicating whether the target has been initialized. - + - Get all used layouts in this target. + Can be used if has been enabled. - @@ -15244,6 +16054,7 @@ Calls the on each volatile layout used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. The log event. @@ -15269,6 +16080,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -15305,19 +16122,16 @@ - Writes logging event to the log target. + Writes logging event to the log target. Must be overridden in inheriting classes. - - Logging event to be written out. - + Logging event to be written out. - Writes log event to the log target. Must be overridden in inheriting - classes. + Writes async log event to the log target. - Log event to be written out. + Async Log event to be written out. @@ -15326,6 +16140,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -15334,6 +16158,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -15346,6 +16178,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -15599,6 +16439,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -15667,6 +16518,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -15761,6 +16619,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -15862,6 +16727,11 @@ a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + Initializes a new instance of the class. @@ -15886,6 +16756,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -15894,6 +16769,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -16286,6 +17172,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -16445,6 +17341,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -16549,6 +17464,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.4.4.7/lib/sl5/NLog.dll b/packages/NLog.4.4.7/lib/sl5/NLog.dll new file mode 100644 index 0000000..fa32886 Binary files /dev/null and b/packages/NLog.4.4.7/lib/sl5/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/sl4/NLog.xml b/packages/NLog.4.4.7/lib/sl5/NLog.xml similarity index 93% rename from packages/NLog.4.4.1/lib/sl4/NLog.xml rename to packages/NLog.4.4.7/lib/sl5/NLog.xml index 44ee782..4ae06ae 100644 --- a/packages/NLog.4.4.1/lib/sl4/NLog.xml +++ b/packages/NLog.4.4.7/lib/sl5/NLog.xml @@ -587,6 +587,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -676,6 +693,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -721,6 +745,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -734,6 +766,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -779,6 +818,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -792,6 +839,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -837,6 +891,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -850,6 +912,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -895,6 +964,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -908,6 +985,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -953,6 +1037,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -966,6 +1058,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -1011,6 +1110,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + A cyclic buffer of object. @@ -1791,6 +1898,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. @@ -1801,6 +1924,13 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by + + + + + Called before the assembly will be loaded. @@ -1893,6 +2023,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -2848,19 +2994,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2869,7 +3020,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3020,6 +3174,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3058,6 +3219,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -4763,6 +4932,106 @@ The second argument to format. The third argument to format. + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -5050,11 +5319,81 @@ Gets a the current wrappered in a . + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Base class for optimized file appenders. @@ -5073,21 +5412,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -5223,11 +5568,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5287,6 +5634,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -5298,7 +5650,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -5387,6 +5739,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -5400,11 +5774,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5463,11 +5839,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5570,6 +5948,11 @@ Cached directory separator char array to avoid memory allocation on each method call. + + + not null when == false + + non null is fixed, @@ -5590,11 +5973,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -5672,6 +6056,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -6116,6 +6530,45 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -6252,13 +6705,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -6274,7 +6727,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -6574,6 +7027,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -6701,6 +7176,40 @@ The to append the rendered data to. Logging event. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + The call site (class name, method name and source information). @@ -7259,6 +7768,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -7343,11 +7859,36 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. + + + Gets or sets a value indicating the output format of the level. + + Renders the current log level and appends it to the specified . @@ -8000,12 +8541,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -8023,6 +8563,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Post-processes the rendered message. @@ -8053,12 +8599,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8240,12 +8785,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -8270,12 +8814,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -8294,12 +8843,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -8329,12 +8877,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8385,21 +8932,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8417,21 +8961,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8500,6 +9041,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -8551,6 +9133,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -8685,7 +9274,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -8709,6 +9305,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -8770,6 +9373,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -8806,6 +9414,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -8823,22 +9438,22 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -8887,6 +9502,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -8988,6 +9627,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -9013,6 +9659,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -9070,7 +9723,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -9132,6 +9784,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Represents the logging event. @@ -9693,9 +10353,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -9710,6 +10367,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + @@ -9939,6 +10599,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Gets a value indicating whether logging is enabled for the Trace level. @@ -10863,616 +12133,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Implementation of logging engine. @@ -13133,6 +13793,96 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -13425,18 +14175,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Modes of archiving files based on time. @@ -13472,6 +14240,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -13717,6 +14520,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -13928,6 +14737,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13943,6 +14767,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13954,6 +14788,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -13975,6 +14816,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -14116,6 +14980,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -14176,19 +15050,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -14230,7 +15100,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -14579,6 +15449,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -14698,6 +15578,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -15191,12 +16077,27 @@ Represents logging target. + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + The Max StackTraceUsage of all the in this Target + + Gets or sets the name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -15212,11 +16113,10 @@ Gets a value indicating whether the target has been initialized. - + - Get all used layouts in this target. + Can be used if has been enabled. - @@ -15244,6 +16144,7 @@ Calls the on each volatile layout used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. The log event. @@ -15269,6 +16170,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -15305,19 +16212,16 @@ - Writes logging event to the log target. + Writes logging event to the log target. Must be overridden in inheriting classes. - - Logging event to be written out. - + Logging event to be written out. - Writes log event to the log target. Must be overridden in inheriting - classes. + Writes async log event to the log target. - Log event to be written out. + Async Log event to be written out. @@ -15326,6 +16230,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -15334,6 +16248,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -15346,6 +16268,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -15599,6 +16529,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -15667,6 +16608,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -15761,6 +16709,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -15862,6 +16817,11 @@ a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + Initializes a new instance of the class. @@ -15886,6 +16846,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -15894,6 +16859,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -16286,6 +17262,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -16445,6 +17431,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -16549,6 +17554,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.4.4.7/lib/wp8/NLog.dll b/packages/NLog.4.4.7/lib/wp8/NLog.dll new file mode 100644 index 0000000..391d14a Binary files /dev/null and b/packages/NLog.4.4.7/lib/wp8/NLog.dll differ diff --git a/packages/NLog.4.4.1/lib/wp8/NLog.xml b/packages/NLog.4.4.7/lib/wp8/NLog.xml similarity index 93% rename from packages/NLog.4.4.1/lib/wp8/NLog.xml rename to packages/NLog.4.4.7/lib/wp8/NLog.xml index 929865e..7140c23 100644 --- a/packages/NLog.4.4.1/lib/wp8/NLog.xml +++ b/packages/NLog.4.4.7/lib/wp8/NLog.xml @@ -553,6 +553,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -612,6 +629,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -657,6 +681,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -670,6 +702,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -715,6 +754,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -728,6 +775,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -773,6 +827,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -786,6 +848,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -831,6 +900,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -844,6 +921,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -889,6 +973,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -902,6 +994,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -947,6 +1046,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Gets or sets the minimal internal log level. @@ -1809,6 +1916,22 @@ Gets the XML element name. + + + An assembly is trying to load. + + + + + New event args + + + + + + The assembly that is trying to load. + + Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. @@ -1819,6 +1942,8 @@ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. + + Everything of an assembly could be loaded by @@ -1847,6 +1972,22 @@ The assembly. Item name prefix. + + + Call Preload for NLogPackageLoader + + + Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) + This method will be called just before registering all items in the assembly. + + + + + + Call the Preload method for . The Preload method must be static. + + + Clears the contents of all factories. @@ -1870,6 +2011,11 @@ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + + Called before the assembly will be loaded. + + Gets or sets default singleton instance of . @@ -2847,19 +2993,24 @@ - - Marks the layout or layout renderer as producing correct results regardless of the thread - it's running on. - - - This is important because some layout renders should use the main thread. E.g. for using HttpContext.Current etc. + + Marks the layout or layout renderer as thread independent - it producing correct results + regardless of the thread it's running on. - If set to true then a layout will be render in the main thread, so for example in the AsyncTargetWrapper and BufferTargetWrapper with the , using + Without this attribute everything is rendered on the main thread. + + + If this attribute is set on a layout, it could be rendered on the another thread. + This could be more efficient as it's skipped when not needed. + + If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - + See the AsyncTargetWrapper and BufferTargetWrapper with the , using + + Apply this attribute when: + - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, + - The result should not be precalculated, for example the target sends some extra context information. + @@ -2868,7 +3019,10 @@ Parsing of the XML file is also implemented in this class. - This class is thread-safe..ToList() is used for that purpose. + + - This class is thread-safe..ToList() is used for that purpose. + - Update TemplateXSD.xml for changes outside targets + @@ -3001,6 +3155,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -3039,6 +3200,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -4792,6 +4961,106 @@ A value of if logging is enabled for the Fatal level, otherwise it returns . + + + Extensions for NLog . + + + + + Writes the diagnostic message and exception at the specified level. + + A logger implementation that will handle the message. + The log level. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Info level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Warn level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Error level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Fatal level. + + A logger implementation that will handle the message. + An exception to be logged. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -5073,6 +5342,41 @@ Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Initializes a new instance of the class. @@ -5084,6 +5388,41 @@ Gets a the current wrappered in a . + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Base class for optimized file appenders. @@ -5167,21 +5506,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -5252,11 +5597,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5325,7 +5672,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -5362,6 +5709,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + Interface that provides parameters for create file function. @@ -5416,6 +5768,28 @@ Should we capture the last write time of a file? + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + Factory class. + + + + + Opens the appender for given file name and parameters. + + Name of the file. + Creation parameters. + + Instance of which can be used to write to the file. + + Multi-process and multi-host file appender which attempts @@ -5429,11 +5803,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5492,11 +5868,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -5611,6 +5989,16 @@ Cached directory separator char array to avoid memory allocation on each method call. + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + non null is fixed, @@ -5631,11 +6019,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -5701,6 +6090,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Define Localizable attribute for platforms that don't have it. @@ -6161,6 +6580,45 @@ Complete list of parameters that matches the method, including optional/default parameters. + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + + Controls a single allocated object for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + Supported operating systems. @@ -6297,13 +6755,13 @@ Key selected from log event. - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -6352,7 +6810,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -6619,6 +7077,28 @@ unclean string string with only valid XML chars + + + Converts object value to invariant format, and strips any invalid xml-characters + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object value converted to string + + + + Converts object value to invariant format (understood by JavaScript) + + Object value + Object TypeCode + Object value converted to string + Safe version of WriteAttributeString @@ -6706,6 +7186,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -6840,6 +7327,40 @@ The (full) name of the assembly. If null, using the entry assembly. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + The call site (class name, method name and source information). @@ -7346,6 +7867,26 @@ Name of the layout renderer, without the `${ }` + + + Format of the ${level} layout renderer output. + + + + + Render the full level name. + + + + + Render the first character of the level. + + + + + Render the ordinal (aka number) for the level. + + The log level. @@ -7358,6 +7899,11 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating the output format of the level. + + A string literal. @@ -8009,17 +8555,57 @@ Filters characters not allowed in the file names by replacing them with safe character. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Initializes a new instance of the class. - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -8051,6 +8637,12 @@ + + + Gets or sets a value indicating whether to escape non-ascii characters + + + Converts the result of another layout output to lower case. @@ -8061,12 +8653,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8256,12 +8847,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -8283,12 +8873,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -8308,12 +8903,11 @@ Initializes a new instance of the class. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -8337,12 +8931,11 @@ Initializes a new instance of the class. - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -8400,21 +8993,18 @@ Outputs alternative layout when the inner layout produces empty result. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8427,21 +9017,18 @@ Only outputs the inner layout when the specified condition has been met. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -8518,12 +9105,6 @@ Is this layout initialized? See - - - Does the layout contains threadAgnostic layout renders? If contains non-threadAgnostic-layoutrendender, then this layout is also not threadAgnostic. - See and . - - Converts a given text to a . @@ -8567,6 +9148,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -8622,16 +9227,22 @@ Type of the Layout. Name of the Layout. - + Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are like that as well. + Thread-agnostic layouts only use contents of for its output. + + + Gets the level of stack trace information required for rendering. + + Gets the logging configuration this target is part of. @@ -8654,6 +9265,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -8752,6 +9370,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets or sets the body layout (can be repeated multiple times). @@ -8787,7 +9412,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -8848,6 +9480,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -8909,6 +9548,11 @@ Determines wether or not this attribute will be Json encoded. + + + Gets or sets a value indicating whether to escape non-ascii characters + + A specialized layout that renders JSON-formatted events. @@ -8919,6 +9563,13 @@ Initializes a new instance of the class. + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -8988,6 +9639,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Gets the instance that renders log events. @@ -9080,6 +9738,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Original text before compile to Layout renderes @@ -9110,7 +9776,6 @@ Gets the level of stack trace information required for rendering. - Calculated when setting . @@ -9673,9 +10338,6 @@ Make sure you're not doing this in a loop. - - Provides logging interface and utility functions. - Provides logging interface and utility functions. @@ -9690,6 +10352,9 @@ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx + + Provides logging interface and utility functions. + @@ -9904,6 +10569,616 @@ Event arguments + + + Writes the diagnostic message at the Debug level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Debug level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Debug level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Debug level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Type of the value. + An IFormatProvider that supplies culture-specific formatting information. + The value to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A function returning message to be written. Function is not evaluated if logging is not enabled. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message and exception at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + An exception to be logged. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + Log message. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + Arguments to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameter. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the argument. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + A containing one format item. + The first argument to format. + The second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + The type of the first argument. + The type of the second argument. + The type of the third argument. + A containing one format item. + The first argument to format. + The second argument to format. + The third argument to format. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + A to be written. + + + + Writes the diagnostic message at the Trace level. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A to be written. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + + + + Writes the diagnostic message at the Trace level using the specified parameters. + Only executed when the DEBUG conditional compilation symbol is set. + A containing format items. + First argument to format. + Second argument to format. + Third argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. + Only executed when the DEBUG conditional compilation symbol is set. + An IFormatProvider that supplies culture-specific formatting information. + A containing one format item. + The argument to format. + + + + Writes the diagnostic message at the Trace level using the specified value as a parameter. + Only executed when the DEBUG conditional compilation symbol is set. + A containing one format item. + The argument to format. + Writes the diagnostic message at the Trace level using the specified format provider and format parameters. @@ -10792,616 +12067,6 @@ The second argument to format. The third argument to format. - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - Occurs when logger configuration changes. @@ -12449,6 +13114,316 @@ The most recent archive has the highest number (in combination with the date). + + + Abstract Target with async Task support + + + + + Represents logging target. + + + + Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts + + + + Can be used if has been enabled. + + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Closes the target. + + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Calls the on each volatile layout + used by this target. + This method won't prerender if all layouts in this target are thread-agnostic. + + + The log event. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Writes the log to the target. + + Log event to write. + + + + Writes the array of log events. + + The log events. + + + + Writes the array of log events. + + The log events. + + + + Initializes this instance. + + The configuration. + + + + Closes this instance. + + + + + Releases unmanaged and - optionally - managed resources. + + True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Initializes the target. Can be used by inheriting classes + to initialize logging. + + + + + Closes the target and releases any unmanaged resources. + + + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Writes logging event to the log target. Must be overridden in inheriting + classes. + + Logging event to be written out. + + + + Writes async log event to the log target. + + Async Log event to be written out. + + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + + + Merges (copies) the event context properties from any event info object stored in + parameters of the given event info object. + + The event info object to perform the merge to. + + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + The Max StackTraceUsage of all the in this Target + + + + + Gets or sets the name of the target. + + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . + + + + + Gets the logging configuration this target is part of. + + + + + Gets a value indicating whether the target has been initialized. + + + + + Constructor + + + + + Override this to create the actual logging task + + Example of how to override this method, and call custom async method + + protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) + { + return CustomWriteAsync(logEvent, token); + } + + private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) + { + await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); + } + + + The log event. + The cancellation token + + + + + Schedules the LogEventInfo for async writing + + The log event. + + + + Schedules notification of when all messages has been written + + + + + + Closes Target by updating CancellationToken + + + + + Releases any managed resources + + + + + + Checks the internal queue for the next to create a new task for + + Used for race-condition validation betweewn task-completion and timeout + + + + Creates new task to handle the writing of the input + + LogEvent to write + New Task created [true / false] + + + + Handles that scheduled task has completed (succesfully or failed), and starts the next pending task + + Task just completed + AsyncContinuation to notify of success or failure + + + + Timer method, that is fired when pending task fails to complete within timeout + + + + + + How many seconds a Task is allowed to run before it is cancelled. + + + + + Task Scheduler used for processing async Tasks + + Sends log messages to the remote instance of Chainsaw application from log4j. @@ -12547,182 +13522,6 @@ Represents target that supports string formatting using layouts. - - - Represents logging target. - - - - - Get all used layouts in this target. - - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. - classes. - - - Logging event to be written out. - - - - - Writes log event to the log target. Must be overridden in inheriting - classes. - - Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - - Log event to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registing to default - Type of the Target. - Name of the Target. - - - - Gets or sets the name of the target. - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - Initializes a new instance of the class. @@ -13250,18 +14049,36 @@ The object to serialize to JSON. Serialized value. - + Returns a serialization of an object int JSON format. The object to serialize to JSON. + Should non-ascii characters be encoded The objects in path. The current depth (level) of recursion. Serialized value. + + + Converts object value into JSON escaped string + + Object value + Should non-ascii characters be encoded + Should string be JSON encoded with quotes + Object value converted to JSON escaped string + + + + Checks input string if it needs JSON escaping, and makes necessary conversion + + Input string + Should non-ascii characters be encoded + JSON escaped string + Singleton instance of the serializer. @@ -13302,6 +14119,41 @@ AddToArchive every minute. + + + AddToArchive every Sunday. + + + + + AddToArchive every Monday. + + + + + AddToArchive every Tuesday. + + + + + AddToArchive every Wednesday. + + + + + AddToArchive every Thursday. + + + + + AddToArchive every Friday. + + + + + AddToArchive every Saturday. + + Type of filepath @@ -13472,6 +14324,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13487,6 +14354,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13498,6 +14375,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -13519,6 +14403,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -13659,6 +14566,16 @@ Date format to used irrespectively of value. Formatting for dates. + + + Calculate the DateTime of the requested day of the week. + + The DateTime of the previous log event. + The next occuring day of the week to return a DateTime for. + The DateTime of the next occuring dayOfWeek. + For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return + Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. + Invokes the archiving process after determining when and which type of archiving is required. @@ -13719,19 +14636,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -13771,7 +14684,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -13927,6 +14840,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -14400,6 +15319,12 @@ + + Gets or sets the type of the parameter. Obsolete alias for + + + + Gets or sets the type of the parameter. @@ -14733,6 +15658,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -14853,6 +15789,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -15044,6 +15987,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -15112,6 +16062,11 @@ The wrapped target. + + + Initializes the target. + + Forwards the call to the .Write() @@ -15120,12 +16075,28 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Gets or sets the condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Delay the flush until the LogEvent has been confirmed as written + + A target that buffers log events and sends them in batches to the wrapped target. @@ -15504,6 +16475,16 @@ The wrapped target. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -15665,6 +16646,25 @@ The retry count. The retry delay milliseconds. + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -15781,6 +16781,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.Config.4.4.1/NLog.Config.4.4.1.nupkg b/packages/NLog.Config.4.4.1/NLog.Config.4.4.1.nupkg deleted file mode 100644 index 21d54f5..0000000 Binary files a/packages/NLog.Config.4.4.1/NLog.Config.4.4.1.nupkg and /dev/null differ diff --git a/packages/NLog.Config.4.4.7/NLog.Config.4.4.7.nupkg b/packages/NLog.Config.4.4.7/NLog.Config.4.4.7.nupkg new file mode 100644 index 0000000..7fcc944 Binary files /dev/null and b/packages/NLog.Config.4.4.7/NLog.Config.4.4.7.nupkg differ diff --git a/packages/NLog.Config.4.4.1/content/NLog.config b/packages/NLog.Config.4.4.7/content/NLog.config similarity index 100% rename from packages/NLog.Config.4.4.1/content/NLog.config rename to packages/NLog.Config.4.4.7/content/NLog.config diff --git a/packages/NLog.Config.4.4.1/tools/Install.ps1 b/packages/NLog.Config.4.4.7/tools/Install.ps1 similarity index 100% rename from packages/NLog.Config.4.4.1/tools/Install.ps1 rename to packages/NLog.Config.4.4.7/tools/Install.ps1 diff --git a/packages/NLog.Schema.4.4.1/NLog.Schema.4.4.1.nupkg b/packages/NLog.Schema.4.4.1/NLog.Schema.4.4.1.nupkg deleted file mode 100644 index 8379141..0000000 Binary files a/packages/NLog.Schema.4.4.1/NLog.Schema.4.4.1.nupkg and /dev/null differ diff --git a/packages/NLog.Schema.4.4.7/NLog.Schema.4.4.7.nupkg b/packages/NLog.Schema.4.4.7/NLog.Schema.4.4.7.nupkg new file mode 100644 index 0000000..796fc8e Binary files /dev/null and b/packages/NLog.Schema.4.4.7/NLog.Schema.4.4.7.nupkg differ diff --git a/packages/NLog.Schema.4.4.1/content/NLog.xsd b/packages/NLog.Schema.4.4.7/content/NLog.xsd similarity index 87% rename from packages/NLog.Schema.4.4.1/content/NLog.xsd rename to packages/NLog.Schema.4.4.7/content/NLog.xsd index bbbacc4..45ef278 100644 --- a/packages/NLog.Schema.4.4.1/content/NLog.xsd +++ b/packages/NLog.Schema.4.4.7/content/NLog.xsd @@ -42,12 +42,32 @@ - Pass NLog internal exceptions to the application. Default value is: false. + Throw an exception when there is an internal error. Default value is: false. + + + + + Throw an exception when there is a configuration error. If not set, determined by throwExceptions. + + + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. Default value is: false. - Write internal NLog messages to the the System.Diagnostics.Trace. Default value is: false + Write internal NLog messages to the System.Diagnostics.Trace. Default value is: false. + + + + + Write timestamps for internal NLog messages. Default value is: true. + + + + + Use InvariantCulture as default culture instead of CurrentCulture. Default value is: false. @@ -174,7 +194,7 @@ - Name of the file to be included. The name is relative to the name of the current config file. + Name of the file to be included. You could use * wildcard. The name is relative to the name of the current config file. @@ -250,9 +270,11 @@ + + @@ -264,6 +286,11 @@ Number of log events that should be processed in a batch by the lazy writer thread. + + + Limit of full s to write before yielding into Performance is better when writing many small batches, than writing a single large batch + + Action to be taken when the lazy writer thread request queue count exceeds the set limit. @@ -279,6 +306,11 @@ Time in milliseconds to sleep between batches. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -294,18 +326,30 @@ + + Name of the target. + + + Delay the flush until the LogEvent has been confirmed as written + + Condition expression. Log events who meet this condition will cause a flush on the wrapped target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -317,6 +361,7 @@ + @@ -338,6 +383,11 @@ Indicates whether to use sliding timeout. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -353,19 +403,20 @@ + - - - + + + - - + + @@ -407,6 +458,11 @@ Action that should be taken if the message is larger than maxMessageSize. + + + Maximum current connections. 0 = no maximum. + + Indicates whether to keep connection open whenever possible. @@ -417,11 +473,6 @@ Size of the connection cache (number of connections which are kept alive). - - - Maximum current connections. 0 = no maximum. - - Network address. @@ -432,14 +483,19 @@ Maximum queue size. + + + Indicates whether to include dictionary contents. + + Indicates whether to include source info (file name and line number) in the information sent over the network. - + - NDC item separator. + Indicates whether to include NLog-specific extensions to log4j schema. @@ -457,14 +513,14 @@ AppInfo field. By default it's the friendly name of the current AppDomain. - + - Indicates whether to include NLog-specific extensions to log4j schema. + NDC item separator. - + - Indicates whether to include dictionary contents. + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit @@ -514,6 +570,7 @@ + @@ -555,6 +612,11 @@ Indicates whether the error stream (stderr) should be used instead of the output stream (stdout). + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -658,6 +720,7 @@ + @@ -694,6 +757,11 @@ The encoding for writing messages to the . + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -702,77 +770,83 @@ - - - - - - - - + + + + + + + + + + - Name of the target. - - - Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - Name of the connection string (as specified in <connectionStrings> configuration section. - - - - - Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. - - - - - Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. - - - - - Database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string. - - - - - Name of the database provider. - - - - - Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. - - - - - Indicates whether to keep the database connection open between the log events. - - Obsolete - value will be ignored! The logging code always runs outside of transaction. Gets or sets a value indicating whether to use database transactions. Some data providers require this. + + + Database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. + + + + + Name of the database provider. + + + + + Database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string. + + + + + Indicates whether to keep the database connection open between the log events. + + + + + Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. + + + + + Name of the connection string (as specified in <connectionStrings> configuration section. + + + + + Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase. + + + + + Database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. + + Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Text of the SQL command to be run on each log level. @@ -864,6 +938,7 @@ + @@ -885,6 +960,11 @@ Footer. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -894,6 +974,7 @@ + @@ -905,6 +986,11 @@ Layout used to format log messages. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -922,6 +1008,7 @@ + @@ -973,6 +1060,11 @@ Message length limit to write to the Event Log. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -989,6 +1081,7 @@ + @@ -1000,6 +1093,11 @@ Indicates whether to return to the first target after any successful write. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1022,6 +1120,7 @@ + @@ -1039,6 +1138,7 @@ + @@ -1119,6 +1219,11 @@ Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong. + + + Whether or not this target should just discard all data that its asked to write. Mostly used for when testing NLog Stack except final write + + Is the an absolute or relative path? @@ -1204,6 +1309,11 @@ Maximum number of seconds that files are kept open. If this number is negative the files are not automatically closed after a period of inactivity. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Log file buffer size in bytes. @@ -1243,6 +1353,13 @@ + + + + + + + @@ -1278,6 +1395,7 @@ + @@ -1289,6 +1407,11 @@ Condition expression. Log events who meet this condition will be forwarded to the wrapped target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1304,6 +1427,7 @@ + @@ -1345,6 +1469,11 @@ Username to change context to. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1378,6 +1507,7 @@ + @@ -1394,6 +1524,11 @@ Maximum allowed number of messages written per . + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1409,6 +1544,7 @@ + @@ -1445,6 +1581,11 @@ Indicates whether to use binary message encoding. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1452,6 +1593,7 @@ + @@ -1464,11 +1606,16 @@ Name of the parameter. - + Type of the parameter. + + + Type of the parameter. Obsolete alias for + + @@ -1487,9 +1634,10 @@ - - + + + @@ -1565,9 +1713,9 @@ Sender's email address (e.g. joe@domain.com). - + - Indicates whether NewLine characters in the body should be replaced with tags. + Indicates the SMTP client timeout. @@ -1575,9 +1723,14 @@ Priority used for sending mails. - + - Indicates the SMTP client timeout. + Indicates whether NewLine characters in the body should be replaced with tags. + + + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit @@ -1648,6 +1801,7 @@ + @@ -1659,6 +1813,11 @@ Layout used to format log messages. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1671,6 +1830,7 @@ + @@ -1701,6 +1861,11 @@ Indicates whether to check if a queue exists before writing to it. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Indicates whether to create the queue if it doesn't exists. @@ -1732,6 +1897,7 @@ + @@ -1748,6 +1914,11 @@ Method name. The method must be public and static. Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx e.g. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1768,6 +1939,7 @@ + @@ -1834,6 +2006,11 @@ Maximum queue size. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1849,19 +2026,20 @@ + - - - + + + - - + + @@ -1903,6 +2081,11 @@ Action that should be taken if the message is larger than maxMessageSize. + + + Maximum current connections. 0 = no maximum. + + Indicates whether to keep connection open whenever possible. @@ -1913,11 +2096,6 @@ Size of the connection cache (number of connections which are kept alive). - - - Maximum current connections. 0 = no maximum. - - Network address. @@ -1928,14 +2106,19 @@ Maximum queue size. + + + Indicates whether to include dictionary contents. + + Indicates whether to include source info (file name and line number) in the information sent over the network. - + - NDC item separator. + Indicates whether to include NLog-specific extensions to log4j schema. @@ -1953,14 +2136,14 @@ AppInfo field. By default it's the friendly name of the current AppDomain. - + - Indicates whether to include NLog-specific extensions to log4j schema. + NDC item separator. - + - Indicates whether to include dictionary contents. + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit @@ -1973,6 +2156,7 @@ + @@ -1989,6 +2173,11 @@ Indicates whether to perform layout calculation. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -1998,6 +2187,7 @@ + @@ -2009,6 +2199,11 @@ Layout used to format log messages. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2024,6 +2219,7 @@ + @@ -2065,6 +2261,11 @@ Performance counter instance name. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2107,6 +2308,7 @@ + @@ -2118,6 +2320,11 @@ Default filter to be applied when no specific rule matches. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2142,12 +2349,18 @@ + Name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2156,6 +2369,7 @@ + @@ -2163,6 +2377,11 @@ Name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Number of times to repeat each log message. @@ -2176,6 +2395,7 @@ + @@ -2184,6 +2404,11 @@ Name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Number of retries that should be attempted on the wrapped target in case of a failure. @@ -2202,12 +2427,18 @@ + Name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2216,12 +2447,18 @@ + Name of the target. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2231,6 +2468,7 @@ + @@ -2242,6 +2480,11 @@ Layout used to format log messages. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + @@ -2252,6 +2495,7 @@ + @@ -2272,6 +2516,11 @@ Should we include the BOM (Byte-order-mark) for UTF? Influences the property. This will only work for UTF-8. + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + Encoding. @@ -2469,6 +2718,7 @@ + @@ -2477,6 +2727,11 @@ Determines wether or not this attribute will be Json encoded. + + + Indicates whether to escape non-ascii characters + + Layout that will be rendered as the attribute's value. diff --git a/packages/Newtonsoft.Json.10.0.2/LICENSE.md b/packages/Newtonsoft.Json.10.0.2/LICENSE.md new file mode 100644 index 0000000..dfaadbe --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg b/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg new file mode 100644 index 0000000..8d6b3e0 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg differ diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.dll new file mode 100644 index 0000000..6062b94 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml similarity index 89% rename from packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml index 0429ef1..cd11ef5 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml @@ -23,12 +23,12 @@ - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -52,19 +52,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -72,13 +72,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -86,12 +86,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -105,17 +106,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -126,7 +127,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -166,7 +167,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -320,7 +323,7 @@ - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. @@ -394,7 +397,7 @@ - Create a custom object + Creates a custom object. The object type to convert. @@ -595,9 +598,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -639,7 +642,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -671,7 +674,7 @@ - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). @@ -712,7 +715,7 @@ - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). @@ -740,16 +743,16 @@ - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - The name of the deserialize root element. + The name of the deserialized root element. Gets or sets a flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - true if the array attibute is written to the XML; otherwise, false. + true if the array attribute is written to the XML; otherwise, false. @@ -777,7 +780,7 @@ - Checks if the attributeName is a namespace attribute. + Checks if the is a namespace attribute. Attribute name to test. The attribute name prefix if it has one, otherwise an empty string. @@ -799,17 +802,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -819,7 +822,7 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -856,18 +859,18 @@ - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON. - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. @@ -908,7 +911,7 @@ - Rent a array from the pool. This array must be returned when it is no longer needed. + Rent an array from the pool. This array must be returned when it is no longer needed. The minimum required length of the array. The returned array may be longer. The rented array from the pool. This array must be returned when it is no longer needed. @@ -963,7 +966,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -971,8 +974,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -1003,7 +1006,7 @@ - Instructs the to always serialize the member, and require the member has a value. + Instructs the to always serialize the member, and to require that the member has a value. @@ -1041,6 +1044,11 @@ Specifies the settings used when loading JSON. + + + Initializes a new instance of the class. + + Gets or sets how JSON comments are handled when loading JSON. @@ -1066,7 +1074,7 @@ - Gets or sets how how null value properties are merged. + Gets or sets how null value properties are merged. How null value properties are merged. @@ -1129,23 +1137,20 @@ The value of a property for a given component. - The component with the property for which to retrieve the value. - + The component with the property for which to retrieve the value. When overridden in a derived class, resets the value for this property of the component to the default value. - The component with the property value that is to be reset to the default value. - + The component with the property value that is to be reset to the default value. When overridden in a derived class, sets the value of the component to a different value. - The component with the property value that is to be set. - The new value. - + The component with the property value that is to be set. + The new value. @@ -1161,7 +1166,10 @@ When overridden in a derived class, gets the type of the component this property is bound to. - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. @@ -1217,11 +1225,11 @@ Represents a collection of objects. - The type of token + The type of token. - Gets the with the specified key. + Gets the of with the specified key. @@ -1246,7 +1254,7 @@ The for which a hash code is to be returned. A hash code for the specified object. - The type of is a reference type and is null. + The type of is a reference type and is null. @@ -1442,18 +1450,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -1534,13 +1542,13 @@ Returns a collection of the descendant tokens for this token in document order. - An containing the descendant tokens of the . + An of containing the descendant tokens of the . Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - An containing this token, and all the descendant tokens of the . + An of containing this token, and all the descendant tokens of the . @@ -1556,13 +1564,13 @@ - Creates an that can be used to add tokens to the . + Creates a that can be used to add tokens to the . - An that is ready to have content written to it. + A that is ready to have content written to it. - Replaces the children nodes of this token with the specified content. + Replaces the child nodes of this token with the specified content. The content. @@ -1588,13 +1596,13 @@ Gets the count of child JSON tokens. - The count of child JSON tokens + The count of child JSON tokens. Represents a collection of objects. - The type of token + The type of token. @@ -1609,23 +1617,15 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - Gets the with the specified key. + Gets the of with the specified key. @@ -1705,22 +1705,22 @@ - Gets an of this object's properties. + Gets an of of this object's properties. - An of this object's properties. + An of of this object's properties. Gets a the specified name. The property name. - A with the specified name or null. + A with the specified name or null. - Gets an of this object's property values. + Gets a of of this object's property values. - An of this object's property values. + A of of this object's property values. @@ -1736,19 +1736,25 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . + + is not valid JSON. + - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + is not valid JSON. + @@ -1756,6 +1762,9 @@ A that contains JSON. A populated from the string that contains JSON. + + is not valid JSON. + @@ -1766,8 +1775,11 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. + + is not valid JSON. + @@ -1777,7 +1789,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -1785,7 +1797,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -1838,7 +1850,7 @@ - Tries the get value. + Tries to get the with the specified property name. Name of the property. The value. @@ -1846,7 +1858,7 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. @@ -1858,106 +1870,6 @@ Name of the property. - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - Represents a JSON array. @@ -2014,7 +1926,7 @@ A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -2033,7 +1945,7 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. @@ -2044,7 +1956,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -2052,7 +1964,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -2075,84 +1987,81 @@ - Determines the index of a specific item in the . + Determines the index of a specific item in the . - The object to locate in the . + The object to locate in the . The index of if found in the list; otherwise, -1. - Inserts an item to the at the specified index. + Inserts an item to the at the specified index. The zero-based index at which should be inserted. - The object to insert into the . + The object to insert into the . - is not a valid index in the . - The is read-only. + is not a valid index in the . + - Removes the item at the specified index. + Removes the item at the specified index. The zero-based index of the item to remove. - is not a valid index in the . - The is read-only. + is not a valid index in the . + Returns an enumerator that iterates through the collection. - A that can be used to iterate through the collection. + A of that can be used to iterate through the collection. - Adds an item to the . + Adds an item to the . - The object to add to the . - The is read-only. + The object to add to the . - Removes all items from the . + Removes all items from the . - The is read-only. - Determines whether the contains a specific value. + Determines whether the contains a specific value. - The object to locate in the . + The object to locate in the . - true if is found in the ; otherwise, false. + true if is found in the ; otherwise, false. - Copies to. + Copies the elements of the to an array, starting at a particular array index. The array. Index of the array. - Gets a value indicating whether the is read-only. + Gets a value indicating whether the is read-only. - true if the is read-only; otherwise, false. + true if the is read-only; otherwise, false. - Removes the first occurrence of a specific object from the . + Removes the first occurrence of a specific object from the . - The object to remove from the . + The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - The is read-only. @@ -2172,7 +2081,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2195,9 +2104,9 @@ - Gets the token being writen. + Gets the token being written. - The token being writen. + The token being written. @@ -2212,13 +2121,17 @@ - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the JSON is auto-completed. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + @@ -2251,7 +2164,7 @@ Writes a value. - An error will raised if the value cannot be written as a single JSON token. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -2273,7 +2186,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -2565,8 +2478,8 @@ Returns the JSON for this token using the given formatting and converters. - Indicates how the output is formatted. - A collection of which will be used when writing the token. + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. The JSON for this token using the given formatting and converters. @@ -2578,42 +2491,42 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2662,56 +2575,56 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2725,14 +2638,14 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2788,7 +2701,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2802,7 +2715,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2830,7 +2743,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2844,42 +2757,42 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2907,7 +2820,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2921,14 +2834,14 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2942,28 +2855,28 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3026,7 +2939,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3040,23 +2953,23 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Creates an for this token. + Creates a for this token. - An that can be used to read this token and its descendants. + A that can be used to read this token and its descendants. Creates a from an object. The object that will be used to create . - A with the value of the specified object + A with the value of the specified object. @@ -3064,25 +2977,25 @@ The object that will be used to create . The that will be used when reading the object. - A with the value of the specified object + A with the value of the specified object. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -3090,7 +3003,7 @@ - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -3100,9 +3013,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3113,9 +3026,9 @@ An positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3133,18 +3046,18 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3153,9 +3066,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3167,7 +3080,7 @@ A that contains a JPath expression. - A , or null. + A , or null. @@ -3186,7 +3099,7 @@ A that contains a JPath expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -3196,7 +3109,7 @@ A that contains a JPath expression. A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -3229,7 +3142,7 @@ Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . @@ -3308,18 +3221,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -3557,7 +3470,7 @@ Writes this token to a . A into which this method will write. - A collection of which will be used when writing the token. + A collection of s which will be used when writing the token. @@ -3576,9 +3489,6 @@ true if the specified is equal to the current ; otherwise, false. - - The parameter is null. - @@ -3641,7 +3551,7 @@ This instance is greater than . - is not the same type as this instance. + is not of the same type as this instance. @@ -3681,6 +3591,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -3713,8 +3638,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3737,7 +3662,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -3745,9 +3670,30 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Represents a trace writer. @@ -3756,8 +3702,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3813,8 +3759,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3858,6 +3804,12 @@ Defaults to false. + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + A flag indicating whether explicitly specified property names, @@ -3870,9 +3822,16 @@ Gets the serialized name for a given property name. The initial property name. - A flag indicating whether the property has had a name explicitly specfied. + A flag indicating whether the property has had a name explicitly specified. The serialized property name. + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + Gets the serialized key for a given dictionary key. @@ -3902,7 +3861,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -3910,7 +3869,7 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -3930,6 +3889,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -3952,9 +3926,16 @@ Initializes a new instance of the class. + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -4007,17 +3988,6 @@ Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - Resolves the contract for a given type. @@ -4141,6 +4111,13 @@ Name of the property. Resolved name of the property. + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. @@ -4160,6 +4137,11 @@ The default serialization binder used when resolving and loading classes from type names. + + + Initializes a new instance of the class. + + When overridden in a derived class, controls the binding of a serialized object to a type. @@ -4170,6 +4152,14 @@ The type of the object the formatter creates a new instance of. + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Get and set values for a using dynamic methods. @@ -4256,7 +4246,7 @@ - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -4412,36 +4402,6 @@ The methods called when an error is thrown during the serialization of the object. - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - Gets or sets the default creator method used to create the object. @@ -4450,7 +4410,7 @@ - Gets or sets a value indicating whether the default creator is non public. + Gets or sets a value indicating whether the default creator is non-public. true if the default object creator is non-public; otherwise, false. @@ -4459,12 +4419,6 @@ Contract details for a used by the . - - - Gets or sets the property name resolver. - - The property name resolver. - Gets or sets the dictionary key resolver. @@ -4508,9 +4462,9 @@ - Gets or sets the ISerializable object constructor. + Gets or sets the object constructor. - The ISerializable object constructor. + The object constructor. @@ -4590,7 +4544,7 @@ Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -4676,9 +4630,9 @@ - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets a predicate used to determine whether the property should be serialized. - A predicate used to determine whether the property should be serialize. + A predicate used to determine whether the property should be serialized. @@ -4720,13 +4674,13 @@ - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. @@ -4757,7 +4711,7 @@ Gets the closest matching object. - First attempts to get an exact case match of propertyName and then + First attempts to get an exact case match of and then a case insensitive match. Name of the property. @@ -4782,11 +4736,11 @@ The serialization context. The reference to resolve. - The object that + The object that was resolved from the reference. - Gets the reference for the sepecified object. + Gets the reference for the specified object. The serialization context. The object to get a reference for. @@ -4835,30 +4789,11 @@ The object's properties. - - - Gets the constructor parameters required for any non-default constructor - - Gets a collection of instances that define the parameters used with . - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - Gets or sets the function used to create the object. When set this function will override . @@ -4881,6 +4816,12 @@ Gets or sets the extension data value type. + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + Initializes a new instance of the class. @@ -4900,11 +4841,11 @@ - Lookup and create an instance of the JsonConverter type described by the argument. + Lookup and create an instance of the type described by the argument. - The JsonConverter type to create. + The type to create. Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + If null, the default constructor is used. @@ -4962,6 +4903,21 @@ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + Provides a set of static (Shared in Visual Basic) methods for @@ -5207,13 +5163,13 @@ - Returns an that represents the total number + Returns a that represents the total number of elements in a sequence. - Returns an that represents how many elements + Returns a that represents how many elements in a sequence satisfy a condition. @@ -5589,48 +5545,48 @@ - Computes the sum of a sequence of nullable values. + Computes the sum of a sequence of values. - Computes the sum of a sequence of nullable + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of nullable values. + Computes the average of a sequence of values. - Computes the average of a sequence of nullable values + Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the sum of a sequence of values. + Computes the sum of a sequence of nullable values. - Computes the sum of a sequence of + Computes the sum of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of values. + Computes the average of a sequence of nullable values. - Computes the average of a sequence of values + Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. @@ -5661,48 +5617,48 @@ - Computes the sum of a sequence of nullable values. + Computes the sum of a sequence of values. - Computes the sum of a sequence of nullable + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of nullable values. + Computes the average of a sequence of values. - Computes the average of a sequence of nullable values + Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the sum of a sequence of values. + Computes the sum of a sequence of nullable values. - Computes the sum of a sequence of + Computes the sum of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of values. + Computes the average of a sequence of nullable values. - Computes the average of a sequence of values + Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. @@ -5738,43 +5694,43 @@ - Computes the sum of a sequence of nullable + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of nullable values. + Computes the average of a sequence of values. - Computes the average of a sequence of nullable values + Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the sum of a sequence of values. + Computes the sum of a sequence of nullable values. - Computes the sum of a sequence of + Computes the sum of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of values. + Computes the average of a sequence of nullable values. - Computes the average of a sequence of values + Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. @@ -5805,48 +5761,48 @@ - Computes the sum of a sequence of nullable values. + Computes the sum of a sequence of values. - Computes the sum of a sequence of nullable + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of nullable values. + Computes the average of a sequence of values. - Computes the average of a sequence of nullable values + Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the sum of a sequence of values. + Computes the sum of a sequence of nullable values. - Computes the sum of a sequence of + Computes the sum of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of values. + Computes the average of a sequence of nullable values. - Computes the average of a sequence of values + Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. @@ -5877,48 +5833,48 @@ - Computes the sum of a sequence of nullable values. + Computes the sum of a sequence of values. - Computes the sum of a sequence of nullable + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of nullable values. + Computes the average of a sequence of values. - Computes the average of a sequence of nullable values + Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. - Computes the sum of a sequence of values. + Computes the sum of a sequence of nullable values. - Computes the sum of a sequence of + Computes the sum of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. - Computes the average of a sequence of values. + Computes the average of a sequence of nullable values. - Computes the average of a sequence of values + Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. @@ -6035,7 +5991,7 @@ - Gets a dictionary of the names and values of an Enum type. + Gets a dictionary of the names and values of an type. @@ -6048,21 +6004,21 @@ - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Builds a string. Unlike this class lets you reuse its internal buffer. - Determines whether the collection is null or empty. + Determines whether the collection is null or empty. The collection. - true if the collection is null or empty; otherwise, false. + true if the collection is null or empty; otherwise, false. - Adds the elements of the specified collection to the specified generic IList. + Adds the elements of the specified collection to the specified generic . The list to add to. The collection of elements to add. @@ -6138,7 +6094,7 @@ - Determines whether the string is all white space. Empty string will return false. + Determines whether the string is all white space. Empty string will return false. The string to test whether it is all white space. @@ -6173,7 +6129,7 @@ Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . @@ -6209,20 +6165,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -6242,7 +6198,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -6283,13 +6239,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -6300,13 +6258,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -6366,7 +6326,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. + so that it is not written to JSON. This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, decimals and floating point numbers; and false for booleans). The default value ignored can be changed by placing the on the property. @@ -6380,7 +6340,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + and set members to their default value when deserializing. @@ -6396,8 +6356,8 @@ - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. + The parameter list to use when constructing the described by . + If null, the default constructor is used. @@ -6411,7 +6371,7 @@ Initializes a new instance of the class. Type of the . - Parameter list to use when constructing the . Can be null. + Parameter list to use when constructing the . Can be null. @@ -6456,7 +6416,7 @@ - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. Reference loop handling. @@ -6480,7 +6440,7 @@ - Gets or sets how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. The default value handling. @@ -6502,8 +6462,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . The type name handling. @@ -6519,6 +6479,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how constructors are used during deserialization. @@ -6558,7 +6524,13 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. The binder. @@ -6576,7 +6548,8 @@ - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -6591,34 +6564,34 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. @@ -6685,7 +6658,7 @@ - Gets the Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -6708,53 +6681,59 @@ The specified in the constructor. + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. + A [] or null if the next JSON token is null. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -6781,7 +6760,7 @@ All public and private fields are serialized. Members can be excluded using or . This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. + and setting IgnoreSerializableAttribute on to false. @@ -6811,9 +6790,9 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class with the specified . - The TextReader containing the XML data to read. + The containing the JSON data to read. @@ -6822,7 +6801,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -6830,49 +6809,50 @@ - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Changes the state to closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. @@ -6880,7 +6860,7 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. @@ -6888,7 +6868,7 @@ Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, returns false). @@ -6896,7 +6876,7 @@ Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, returns false). @@ -6912,13 +6892,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -6929,13 +6911,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -6996,13 +6980,13 @@ - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. @@ -7040,7 +7024,7 @@ - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Gets or sets how many s to write for each level in the hierarchy when is set to . @@ -7050,7 +7034,7 @@ - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets which character to use for indenting when is set to . @@ -7060,18 +7044,20 @@ - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class using the specified . - The TextWriter to write to. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -7185,9 +7171,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -7197,9 +7183,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -7275,19 +7261,19 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - The exception thrown when an error occurs while reading JSON text. + The exception thrown when an error occurs while writing JSON text. @@ -7314,7 +7300,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7322,8 +7308,17 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7366,7 +7361,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7374,8 +7369,19 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7409,17 +7415,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - Gets a value indicating whether this can read JSON. @@ -7449,7 +7444,7 @@ - The Read method has not been called. + A read method has not been called. @@ -7484,7 +7479,7 @@ - The Close method has been called. + The method has been called. @@ -7499,7 +7494,7 @@ - Reader in a constructor. + Reader is in a constructor. @@ -7520,12 +7515,10 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. @@ -7534,7 +7527,8 @@ be read from a continuous stream without erroring. - true to support reading multiple pieces of JSON content; otherwise false. The default is false. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. @@ -7544,22 +7538,22 @@ - Get or set how time zones are handling when reading JSON. + Gets or sets how time zones are handled when reading JSON. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how custom date formatted strings are parsed when reading JSON. + Gets or sets how custom date formatted strings are parsed when reading JSON. @@ -7579,7 +7573,7 @@ - Gets The Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -7600,56 +7594,56 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. - Reads the next JSON token from the stream. + Reads the next JSON token from the source. true if the next token was read successfully; false if there are no more tokens to read. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the source as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. @@ -7669,30 +7663,34 @@ The new token. The value. + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + Sets the state based on current token type. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Changes the to Closed. + Changes the reader's state to . + If is set to true, the source is also closed. - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -7709,22 +7707,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -7739,7 +7737,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -7920,7 +7918,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -7930,7 +7928,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7938,8 +7936,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7948,7 +7946,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7959,11 +7957,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -7974,9 +7972,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7986,13 +7984,13 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -8012,7 +8010,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -8038,7 +8036,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -8051,14 +8049,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -8079,7 +8077,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -8100,7 +8098,7 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -8119,52 +8117,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - Serializes the XML node to a JSON string. + Serializes the to a JSON string. The node to serialize. - A JSON string of the XmlNode. + A JSON string of the . - Serializes the XML node to a JSON string using formatting. + Serializes the to a JSON string using formatting. The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + Indicates how the output should be formatted. + A JSON string of the . - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XmlNode. + A JSON string of the . - Deserializes the XmlNode from a JSON string. + Deserializes the from a JSON string. The JSON string. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -8172,7 +8170,7 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XmlNode + The deserialized . @@ -8197,7 +8195,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -8205,8 +8203,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -8226,7 +8224,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -8247,8 +8250,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -8257,6 +8260,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -8264,22 +8273,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -8325,39 +8334,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -8484,7 +8494,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -8492,33 +8502,33 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -8635,7 +8645,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -8643,8 +8653,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -8764,7 +8774,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -8808,9 +8818,9 @@ - Gets or sets a number that the value should be divisble by. + Gets or sets a number that the value should be divisible by. - A number that the value should be divisble by. + A number that the value should be divisible by. @@ -8826,15 +8836,15 @@ - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + A flag indicating whether the value can not equal the number defined by the maximum attribute (). @@ -8923,7 +8933,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -8965,18 +8975,18 @@ - Load a from a string that contains schema JSON. + Load a from a string that contains JSON Schema. - A that contains JSON. - A populated from the string that contains JSON. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - Parses the specified json. + Load a from a string that contains JSON Schema using the specified . - The json. + A that contains JSON Schema. The resolver. - A populated from the string that contains JSON. + A populated from the string that contains JSON Schema. @@ -9166,9 +9176,9 @@ Specifies type name handling options for the . - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -9194,6 +9204,9 @@ Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . @@ -9203,7 +9216,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -9298,12 +9311,18 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -9324,34 +9343,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -9361,17 +9380,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -9407,13 +9428,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -9444,7 +9465,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -9599,99 +9621,99 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -9714,27 +9736,27 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. @@ -9746,12 +9768,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -9761,7 +9783,7 @@ - A array is being written. + An array is being written. @@ -9776,7 +9798,7 @@ - A write method has not been called. + A write method has not been called. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.dll new file mode 100644 index 0000000..d389424 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml similarity index 88% rename from packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml index 7067e44..0ba8a04 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml @@ -6,12 +6,12 @@ - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -35,19 +35,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -55,13 +55,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -69,12 +69,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -88,17 +89,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -109,7 +110,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -149,7 +150,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -417,7 +420,7 @@ - Create a custom object + Creates a custom object. The object type to convert. @@ -479,7 +482,7 @@ - Converts an Entity Framework EntityKey to and from JSON. + Converts an Entity Framework to and from JSON. @@ -618,9 +621,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -662,7 +665,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -694,7 +697,7 @@ - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). @@ -735,7 +738,7 @@ - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). @@ -763,16 +766,16 @@ - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - The name of the deserialize root element. + The name of the deserialized root element. Gets or sets a flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - true if the array attibute is written to the XML; otherwise, false. + true if the array attribute is written to the XML; otherwise, false. @@ -800,7 +803,7 @@ - Checks if the attributeName is a namespace attribute. + Checks if the is a namespace attribute. Attribute name to test. The attribute name prefix if it has one, otherwise an empty string. @@ -822,7 +825,7 @@ - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. @@ -837,17 +840,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -857,12 +860,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -899,18 +902,18 @@ - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON. - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. @@ -951,7 +954,7 @@ - Rent a array from the pool. This array must be returned when it is no longer needed. + Rent an array from the pool. This array must be returned when it is no longer needed. The minimum required length of the array. The returned array may be longer. The rented array from the pool. This array must be returned when it is no longer needed. @@ -1006,7 +1009,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -1014,8 +1017,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -1046,7 +1049,7 @@ - Instructs the to always serialize the member, and require the member has a value. + Instructs the to always serialize the member, and to require that the member has a value. @@ -1106,23 +1109,20 @@ The value of a property for a given component. - The component with the property for which to retrieve the value. - + The component with the property for which to retrieve the value. When overridden in a derived class, resets the value for this property of the component to the default value. - The component with the property value that is to be reset to the default value. - + The component with the property value that is to be reset to the default value. When overridden in a derived class, sets the value of the component to a different value. - The component with the property value that is to be set. - The new value. - + The component with the property value that is to be set. + The new value. @@ -1138,7 +1138,10 @@ When overridden in a derived class, gets the type of the component this property is bound to. - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. @@ -1171,6 +1174,11 @@ Specifies the settings used when loading JSON. + + + Initializes a new instance of the class. + + Gets or sets how JSON comments are handled when loading JSON. @@ -1196,7 +1204,7 @@ - Gets or sets how how null value properties are merged. + Gets or sets how null value properties are merged. How null value properties are merged. @@ -1260,11 +1268,11 @@ Represents a collection of objects. - The type of token + The type of token. - Gets the with the specified key. + Gets the of with the specified key. @@ -1289,7 +1297,7 @@ The for which a hash code is to be returned. A hash code for the specified object. - The type of is a reference type and is null. + The type of is a reference type and is null. @@ -1485,18 +1493,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -1577,13 +1585,13 @@ Returns a collection of the descendant tokens for this token in document order. - An containing the descendant tokens of the . + An of containing the descendant tokens of the . Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - An containing this token, and all the descendant tokens of the . + An of containing this token, and all the descendant tokens of the . @@ -1599,13 +1607,13 @@ - Creates an that can be used to add tokens to the . + Creates a that can be used to add tokens to the . - An that is ready to have content written to it. + A that is ready to have content written to it. - Replaces the children nodes of this token with the specified content. + Replaces the child nodes of this token with the specified content. The content. @@ -1631,13 +1639,13 @@ Gets the count of child JSON tokens. - The count of child JSON tokens + The count of child JSON tokens. Represents a collection of objects. - The type of token + The type of token. @@ -1652,23 +1660,15 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - Gets the with the specified key. + Gets the of with the specified key. @@ -1753,22 +1753,22 @@ - Gets an of this object's properties. + Gets an of of this object's properties. - An of this object's properties. + An of of this object's properties. Gets a the specified name. The property name. - A with the specified name or null. + A with the specified name or null. - Gets an of this object's property values. + Gets a of of this object's property values. - An of this object's property values. + A of of this object's property values. @@ -1784,19 +1784,25 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . + + is not valid JSON. + - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + is not valid JSON. + @@ -1804,6 +1810,9 @@ A that contains JSON. A populated from the string that contains JSON. + + is not valid JSON. + @@ -1814,8 +1823,11 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. + + is not valid JSON. + @@ -1825,7 +1837,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -1833,7 +1845,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -1886,7 +1898,7 @@ - Tries the get value. + Tries to get the with the specified property name. Name of the property. The value. @@ -1894,7 +1906,7 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. @@ -1912,106 +1924,6 @@ Name of the property. - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - Represents a JSON array. @@ -2068,7 +1980,7 @@ A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -2087,7 +1999,7 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. @@ -2098,7 +2010,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -2106,7 +2018,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -2129,84 +2041,81 @@ - Determines the index of a specific item in the . + Determines the index of a specific item in the . - The object to locate in the . + The object to locate in the . The index of if found in the list; otherwise, -1. - Inserts an item to the at the specified index. + Inserts an item to the at the specified index. The zero-based index at which should be inserted. - The object to insert into the . + The object to insert into the . - is not a valid index in the . - The is read-only. + is not a valid index in the . + - Removes the item at the specified index. + Removes the item at the specified index. The zero-based index of the item to remove. - is not a valid index in the . - The is read-only. + is not a valid index in the . + Returns an enumerator that iterates through the collection. - A that can be used to iterate through the collection. + A of that can be used to iterate through the collection. - Adds an item to the . + Adds an item to the . - The object to add to the . - The is read-only. + The object to add to the . - Removes all items from the . + Removes all items from the . - The is read-only. - Determines whether the contains a specific value. + Determines whether the contains a specific value. - The object to locate in the . + The object to locate in the . - true if is found in the ; otherwise, false. + true if is found in the ; otherwise, false. - Copies to. + Copies the elements of the to an array, starting at a particular array index. The array. Index of the array. - Gets a value indicating whether the is read-only. + Gets a value indicating whether the is read-only. - true if the is read-only; otherwise, false. + true if the is read-only; otherwise, false. - Removes the first occurrence of a specific object from the . + Removes the first occurrence of a specific object from the . - The object to remove from the . + The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - The is read-only. @@ -2226,7 +2135,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2249,9 +2158,9 @@ - Gets the token being writen. + Gets the token being written. - The token being writen. + The token being written. @@ -2266,13 +2175,17 @@ - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the JSON is auto-completed. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + @@ -2305,7 +2218,7 @@ Writes a value. - An error will raised if the value cannot be written as a single JSON token. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -2327,7 +2240,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -2625,8 +2538,8 @@ Returns the JSON for this token using the given formatting and converters. - Indicates how the output is formatted. - A collection of which will be used when writing the token. + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. The JSON for this token using the given formatting and converters. @@ -2645,49 +2558,49 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2736,56 +2649,56 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2799,14 +2712,14 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2862,7 +2775,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2876,7 +2789,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -2911,7 +2824,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2925,49 +2838,49 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -2995,7 +2908,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3009,14 +2922,14 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3030,28 +2943,28 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3114,7 +3027,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -3128,23 +3041,23 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Creates an for this token. + Creates a for this token. - An that can be used to read this token and its descendants. + A that can be used to read this token and its descendants. Creates a from an object. The object that will be used to create . - A with the value of the specified object + A with the value of the specified object. @@ -3152,25 +3065,25 @@ The object that will be used to create . The that will be used when reading the object. - A with the value of the specified object + A with the value of the specified object. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -3178,7 +3091,7 @@ - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -3188,9 +3101,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3201,9 +3114,9 @@ An positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3221,18 +3134,18 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3241,9 +3154,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -3255,7 +3168,7 @@ A that contains a JPath expression. - A , or null. + A , or null. @@ -3274,7 +3187,7 @@ A that contains a JPath expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -3284,7 +3197,7 @@ A that contains a JPath expression. A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -3317,7 +3230,7 @@ Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . @@ -3396,18 +3309,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -3651,7 +3564,7 @@ Writes this token to a . A into which this method will write. - A collection of which will be used when writing the token. + A collection of s which will be used when writing the token. @@ -3670,9 +3583,6 @@ true if the specified is equal to the current ; otherwise, false. - - The parameter is null. - @@ -3735,7 +3645,7 @@ This instance is greater than . - is not the same type as this instance. + is not of the same type as this instance. @@ -3775,6 +3685,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -3807,8 +3732,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3831,7 +3756,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -3839,9 +3764,30 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Represents a trace writer. @@ -3850,8 +3796,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3907,8 +3853,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -3952,6 +3898,12 @@ Defaults to false. + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + A flag indicating whether explicitly specified property names, @@ -3964,9 +3916,16 @@ Gets the serialized name for a given property name. The initial property name. - A flag indicating whether the property has had a name explicitly specfied. + A flag indicating whether the property has had a name explicitly specified. The serialized property name. + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + Gets the serialized key for a given dictionary key. @@ -3996,7 +3955,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -4004,7 +3963,7 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -4024,6 +3983,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -4043,9 +4017,9 @@ - Gets or sets the ISerializable object constructor. + Gets or sets the object constructor. - The ISerializable object constructor. + The object constructor. @@ -4134,9 +4108,16 @@ Initializes a new instance of the class. + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -4189,17 +4170,6 @@ Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - Resolves the contract for a given type. @@ -4323,6 +4293,13 @@ Name of the property. Resolved name of the property. + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. @@ -4342,6 +4319,11 @@ The default serialization binder used when resolving and loading classes from type names. + + + Initializes a new instance of the class. + + When overridden in a derived class, controls the binding of a serialized object to a type. @@ -4352,6 +4334,14 @@ The type of the object the formatter creates a new instance of. + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Provides information surrounding an error. @@ -4389,7 +4379,7 @@ - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -4545,36 +4535,6 @@ The methods called when an error is thrown during the serialization of the object. - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - Gets or sets the default creator method used to create the object. @@ -4583,7 +4543,7 @@ - Gets or sets a value indicating whether the default creator is non public. + Gets or sets a value indicating whether the default creator is non-public. true if the default object creator is non-public; otherwise, false. @@ -4592,12 +4552,6 @@ Contract details for a used by the . - - - Gets or sets the property name resolver. - - The property name resolver. - Gets or sets the dictionary key resolver. @@ -4684,7 +4638,7 @@ Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -4770,9 +4724,9 @@ - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets a predicate used to determine whether the property should be serialized. - A predicate used to determine whether the property should be serialize. + A predicate used to determine whether the property should be serialized. @@ -4814,13 +4768,13 @@ - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. @@ -4851,7 +4805,7 @@ Gets the closest matching object. - First attempts to get an exact case match of propertyName and then + First attempts to get an exact case match of and then a case insensitive match. Name of the property. @@ -4876,11 +4830,11 @@ The serialization context. The reference to resolve. - The object that + The object that was resolved from the reference. - Gets the reference for the sepecified object. + Gets the reference for the specified object. The serialization context. The object to get a reference for. @@ -4929,30 +4883,11 @@ The object's properties. - - - Gets the constructor parameters required for any non-default constructor - - Gets a collection of instances that define the parameters used with . - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - Gets or sets the function used to create the object. When set this function will override . @@ -4975,6 +4910,12 @@ Gets or sets the extension data value type. + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + Initializes a new instance of the class. @@ -4994,11 +4935,11 @@ - Lookup and create an instance of the JsonConverter type described by the argument. + Lookup and create an instance of the type described by the argument. - The JsonConverter type to create. + The type to create. Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + If null, the default constructor is used. @@ -5056,6 +4997,21 @@ HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + Converts the value to the specified type. If the value is unable to be converted, the @@ -5071,7 +5027,7 @@ - Gets a dictionary of the names and values of an Enum type. + Gets a dictionary of the names and values of an type. @@ -5084,21 +5040,21 @@ - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Builds a string. Unlike this class lets you reuse its internal buffer. - Determines whether the collection is null or empty. + Determines whether the collection is null or empty. The collection. - true if the collection is null or empty; otherwise, false. + true if the collection is null or empty; otherwise, false. - Adds the elements of the specified collection to the specified generic IList. + Adds the elements of the specified collection to the specified generic . The list to add to. The collection of elements to add. @@ -5174,7 +5130,7 @@ - Determines whether the string is all white space. Empty string will return false. + Determines whether the string is all white space. Empty string will return false. The string to test whether it is all white space. @@ -5209,7 +5165,7 @@ Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . @@ -5245,20 +5201,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -5278,7 +5234,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -5319,13 +5275,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -5336,13 +5294,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -5402,7 +5362,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. + so that it is not written to JSON. This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, decimals and floating point numbers; and false for booleans). The default value ignored can be changed by placing the on the property. @@ -5416,7 +5376,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + and set members to their default value when deserializing. @@ -5432,8 +5392,8 @@ - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. + The parameter list to use when constructing the described by . + If null, the default constructor is used. @@ -5447,7 +5407,7 @@ Initializes a new instance of the class. Type of the . - Parameter list to use when constructing the . Can be null. + Parameter list to use when constructing the . Can be null. @@ -5492,7 +5452,7 @@ - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. Reference loop handling. @@ -5516,7 +5476,7 @@ - Gets or sets how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. The default value handling. @@ -5538,8 +5498,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . The type name handling. @@ -5555,6 +5515,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how constructors are used during deserialization. @@ -5594,7 +5560,13 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. The binder. @@ -5612,7 +5584,8 @@ - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -5627,34 +5600,34 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. @@ -5721,7 +5694,7 @@ - Gets the Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -5744,59 +5717,65 @@ The specified in the constructor. + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. + A [] or null if the next JSON token is null. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -5823,7 +5802,7 @@ All public and private fields are serialized. Members can be excluded using or . This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. + and setting IgnoreSerializableAttribute on to false. @@ -5853,9 +5832,9 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class with the specified . - The TextReader containing the XML data to read. + The containing the JSON data to read. @@ -5864,7 +5843,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -5872,55 +5851,56 @@ - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Changes the state to closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. @@ -5928,7 +5908,7 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. @@ -5936,7 +5916,7 @@ Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, returns false). @@ -5944,7 +5924,7 @@ Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, returns false). @@ -5960,13 +5940,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -5977,13 +5959,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -6044,13 +6028,13 @@ - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. @@ -6088,7 +6072,7 @@ - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Gets or sets how many s to write for each level in the hierarchy when is set to . @@ -6098,7 +6082,7 @@ - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets which character to use for indenting when is set to . @@ -6108,18 +6092,20 @@ - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class using the specified . - The TextWriter to write to. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -6233,9 +6219,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -6245,9 +6231,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -6329,19 +6315,19 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - The exception thrown when an error occurs while reading JSON text. + The exception thrown when an error occurs while writing JSON text. @@ -6368,7 +6354,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -6376,8 +6362,17 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -6420,7 +6415,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -6428,8 +6423,19 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -6463,17 +6469,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - Gets a value indicating whether this can read JSON. @@ -6503,7 +6498,7 @@ - The Read method has not been called. + A read method has not been called. @@ -6538,7 +6533,7 @@ - The Close method has been called. + The method has been called. @@ -6553,7 +6548,7 @@ - Reader in a constructor. + Reader is in a constructor. @@ -6574,12 +6569,10 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. @@ -6588,7 +6581,8 @@ be read from a continuous stream without erroring. - true to support reading multiple pieces of JSON content; otherwise false. The default is false. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. @@ -6598,22 +6592,22 @@ - Get or set how time zones are handling when reading JSON. + Gets or sets how time zones are handled when reading JSON. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how custom date formatted strings are parsed when reading JSON. + Gets or sets how custom date formatted strings are parsed when reading JSON. @@ -6633,7 +6627,7 @@ - Gets The Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -6654,62 +6648,62 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. - Reads the next JSON token from the stream. + Reads the next JSON token from the source. true if the next token was read successfully; false if there are no more tokens to read. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the source as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. @@ -6729,30 +6723,34 @@ The new token. The value. + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + Sets the state based on current token type. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Changes the to Closed. + Changes the reader's state to . + If is set to true, the source is also closed. - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -6769,22 +6767,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -6799,7 +6797,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -6995,7 +6993,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -7005,7 +7003,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7013,8 +7011,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7023,7 +7021,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7034,11 +7032,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -7049,9 +7047,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7061,13 +7059,13 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -7087,7 +7085,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -7113,7 +7111,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -7126,14 +7124,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -7154,7 +7152,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -7175,7 +7173,7 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -7194,52 +7192,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - Serializes the XML node to a JSON string. + Serializes the to a JSON string. The node to serialize. - A JSON string of the XmlNode. + A JSON string of the . - Serializes the XML node to a JSON string using formatting. + Serializes the to a JSON string using formatting. The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + Indicates how the output should be formatted. + A JSON string of the . - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XmlNode. + A JSON string of the . - Deserializes the XmlNode from a JSON string. + Deserializes the from a JSON string. The JSON string. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -7247,51 +7245,51 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XmlNode + The deserialized . Serializes the to a JSON string. The node to convert to JSON. - A JSON string of the XNode. + A JSON string of the . Serializes the to a JSON string using formatting. The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + Indicates how the output should be formatted. + A JSON string of the . Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XNode. + A JSON string of the . Deserializes the from a JSON string. The JSON string. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -7299,7 +7297,7 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XNode + The deserialized . @@ -7324,7 +7322,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7332,8 +7330,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -7353,7 +7351,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -7374,8 +7377,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -7384,6 +7387,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -7391,22 +7400,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -7452,39 +7461,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -7611,7 +7621,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -7619,33 +7629,33 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -7762,7 +7772,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7770,8 +7780,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -7891,7 +7901,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -7935,9 +7945,9 @@ - Gets or sets a number that the value should be divisble by. + Gets or sets a number that the value should be divisible by. - A number that the value should be divisble by. + A number that the value should be divisible by. @@ -7953,15 +7963,15 @@ - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + A flag indicating whether the value can not equal the number defined by the maximum attribute (). @@ -8050,7 +8060,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -8092,18 +8102,18 @@ - Load a from a string that contains schema JSON. + Load a from a string that contains JSON Schema. - A that contains JSON. - A populated from the string that contains JSON. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - Parses the specified json. + Load a from a string that contains JSON Schema using the specified . - The json. + A that contains JSON Schema. The resolver. - A populated from the string that contains JSON. + A populated from the string that contains JSON Schema. @@ -8293,9 +8303,9 @@ Specifies type name handling options for the . - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -8321,6 +8331,9 @@ Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . @@ -8330,7 +8343,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -8425,12 +8438,18 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -8451,34 +8470,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -8488,17 +8507,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -8534,13 +8555,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -8571,7 +8592,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -8732,105 +8754,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -8853,27 +8875,27 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. @@ -8885,12 +8907,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -8900,7 +8922,7 @@ - A array is being written. + An array is being written. @@ -8915,7 +8937,7 @@ - A write method has not been called. + A write method has not been called. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.dll new file mode 100644 index 0000000..9c83621 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml similarity index 88% rename from packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml index c719433..17f493e 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml @@ -4,31 +4,14 @@ Newtonsoft.Json - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -52,19 +35,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -72,13 +55,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -86,12 +69,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -105,17 +89,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -126,7 +110,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -166,7 +150,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -319,20 +305,22 @@ The regex pattern. The regex options. - + - Specifies how constructors are used when initializing objects during deserialization by the . + Represents a BSON Oid (object id). - + - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + Gets or sets the value of the Oid. + The value of the Oid. - + - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + Initializes a new instance of the class. + The Oid value. @@ -366,86 +354,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - Converts a to and from JSON. @@ -510,6 +418,54 @@ true if this instance can convert the specified value type; otherwise, false. + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + Provides a base class for converting a to and from JSON. @@ -558,7 +514,7 @@ - Converts an Entity Framework EntityKey to and from JSON. + Converts an Entity Framework to and from JSON. @@ -590,7 +546,7 @@ - Converts an ExpandoObject to and from JSON. + Converts an to and from JSON. @@ -628,70 +584,6 @@ true if this can write JSON; otherwise, false. - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - Converts a to and from JSON. @@ -724,6 +616,38 @@ true if this instance can convert the specified object type; otherwise, false. + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + Converts a to and from JSON and BSON. @@ -769,9 +693,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -813,7 +737,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -843,6 +767,70 @@ true if this instance can convert the specified object type; otherwise, false. + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + Converts XML to and from JSON. @@ -850,16 +838,16 @@ - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - The name of the deserialize root element. + The name of the deserialized root element. Gets or sets a flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - true if the array attibute is written to the XML; otherwise, false. + true if the array attribute is written to the XML; otherwise, false. @@ -887,7 +875,7 @@ - Checks if the attributeName is a namespace attribute. + Checks if the is a namespace attribute. Attribute name to test. The attribute name prefix if it has one, otherwise an empty string. @@ -902,6 +890,43 @@ true if this instance can convert the specified value type; otherwise, false. + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. @@ -917,6 +942,75 @@ Floating point numbers are parsed to . + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + Specifies how dates are formatted when writing JSON text. @@ -924,17 +1018,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -944,12 +1038,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -978,63 +1072,6 @@ Time zone information should be preserved when converting. - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - Specifies formatting options for the . @@ -1050,24 +1087,4309 @@ Causes child objects to be indented according to the and settings. - + - Provides an interface for using pooled arrays. + Instructs the to use the specified constructor when deserializing that object. - The array type content. - + - Rent a array from the pool. This array must be returned when it is no longer needed. + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - + - Return an array to the pool. + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Represents a raw JSON string. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a JSON constructor. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON array. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Represents a JSON property. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. - The array that is being returned. @@ -1079,20 +5401,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -1112,7 +5434,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -1122,11 +5444,6 @@ The container Id. - - - Instructs the to use the specified constructor when deserializing that object. - - Instructs the how to serialize the object. @@ -1158,13 +5475,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -1175,13 +5494,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -1223,9 +5544,1413 @@ The container Id. + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Represents a collection of . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -1242,22 +6967,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -1272,7 +6997,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -1468,7 +7193,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -1478,7 +7203,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1486,8 +7211,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1496,7 +7221,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1507,11 +7232,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -1522,9 +7247,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1534,52 +7259,18 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - Deserializes the JSON to a .NET object. @@ -1594,7 +7285,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1620,7 +7311,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -1633,14 +7324,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -1661,7 +7352,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1682,61 +7373,10 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - Populates the object with values from the JSON string. @@ -1752,66 +7392,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - Serializes the XML node to a JSON string. + Serializes the to a JSON string. The node to serialize. - A JSON string of the XmlNode. + A JSON string of the . - Serializes the XML node to a JSON string using formatting. + Serializes the to a JSON string using formatting. The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + Indicates how the output should be formatted. + A JSON string of the . - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XmlNode. + A JSON string of the . - Deserializes the XmlNode from a JSON string. + Deserializes the from a JSON string. The JSON string. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -1819,51 +7445,51 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XmlNode + The deserialized . Serializes the to a JSON string. The node to convert to JSON. - A JSON string of the XNode. + A JSON string of the . Serializes the to a JSON string using formatting. The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + Indicates how the output should be formatted. + A JSON string of the . Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XNode. + A JSON string of the . Deserializes the from a JSON string. The JSON string. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -1871,655 +7497,7 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XNode - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to always serialize the member, and require the member has a value. - + The deserialized . @@ -2544,7 +7522,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -2552,8 +7530,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -2573,7 +7551,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -2594,8 +7577,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -2604,6 +7587,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -2611,22 +7600,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -2672,39 +7661,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2831,7 +7821,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -2839,590 +7829,712 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. - + - Specifies the settings on a object. + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - Reference loop handling. + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - Missing member handling. + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + - + - Gets or sets how objects are created during deserialization. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The object creation handling. + The source to test. + The schema to test with. - + - Gets or sets how null values are handled during serialization and deserialization. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - Null value handling. + The source to test. + The schema to test with. + The validation event handler. - + - Gets or sets how null default are handled during serialization and deserialization. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The default value handling. - + - Gets or sets a collection that will be used during serialization. + Gets the line number indicating where the error occurred. - The converters. + The line number indicating where the error occurred. - + - Gets or sets how object references are preserved by the serializer. + Gets the line position indicating where the error occurred. - The preserve references handling. + The line position indicating where the error occurred. - + - Gets or sets how type name writing and reading is handled by the serializer. + Gets the path to the JSON where the error occurred. - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. + The path to the JSON where the error occurred. - + - Gets or sets how metadata properties are used during deserialization. + Initializes a new instance of the class. - The metadata properties handling. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Initializes a new instance of the class + with a specified error message. - The type name assembly format. + The error message that explains the reason for the exception. - + - Gets or sets how constructors are used during deserialization. + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. - The constructor handling. + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. The contract resolver. - + - Gets or sets the equality comparer used by the serializer when comparing references. + Generate a from the specified type. - The equality comparer. + The type to generate a from. + A generated from the specified type. - + - Gets or sets the used by the serializer when resolving references. + Generate a from the specified type. - The reference resolver. + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. - + - Gets or sets a function that creates the used by the serializer when resolving references. + Generate a from the specified type. - A function that creates the used by the serializer when resolving references. + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. - + - Gets or sets the used by the serializer when writing trace messages. + Generate a from the specified type. - The trace writer. + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. - + - Gets or sets the used by the serializer when resolving type names. + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + - The binder. - + - Gets or sets the error handler called during serialization and deserialization. + No type specified. - The error handler called during serialization and deserialization. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + String type. - The context. - + - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Float type. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Integer type. - + - Indicates how JSON text output is formatted. + Boolean type. - + - Get or set how dates are written to JSON text. + Object type. - + - Get or set how time zones are handling during serialization and deserialization. + Array type. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Null type. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + Any type. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Specifies missing member handling options for the . - + - Get or set how strings are escaped when writing JSON text. + Ignore a missing member and do not attempt to deserialize it. - + - Gets or sets the culture used when reading JSON. Defaults to . + Throw a when a missing member is encountered during deserialization. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Specifies null value handling options for the . - - true if there will be a check for additional content after deserializing an object; otherwise, false. - + + + + - + - Initializes a new instance of the class. + Include null values when serializing and deserializing objects. - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Ignore null values when serializing and deserializing objects. - + - Initializes a new instance of the class with the specified . + Specifies reference loop handling options for the . - The TextReader containing the XML data to read. - + - Gets or sets the reader's character buffer pool. + Throw a when a loop is encountered. - + - Reads the next JSON token from the stream. + Ignore loop references and do not serialize. - - true if the next token was read successfully; false if there are no more tokens to read. - - + - Reads the next JSON token from the stream as a . + Serialize loop references. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Specifies type name handling options for the . - A . This method will return null at the end of an array. + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + - + - Reads the next JSON token from the stream as a . + Do not include the .NET type name when serializing types. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a []. + Include the .NET type name when serializing into a JSON object structure. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Include the .NET type name when serializing into a JSON array structure. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Always include the .NET type name when serializing. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. @@ -3431,7 +8543,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -3519,133 +8631,6 @@ Byte data. - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. @@ -3653,12 +8638,18 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -3679,34 +8670,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -3716,17 +8707,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -3762,13 +8755,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -3799,7 +8792,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -3960,105 +8954,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -4081,5108 +9075,29 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specfied. - The serialized property name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - Specifies the state of the . @@ -9192,12 +9107,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -9207,7 +9122,7 @@ - A array is being written. + An array is being written. @@ -9222,7 +9137,7 @@ - A write method has not been called. + A write method has not been called. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.dll new file mode 100644 index 0000000..e5c8978 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml similarity index 69% rename from packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml index ce1bca8..de78eb0 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml @@ -4,14 +4,31 @@ Newtonsoft.Json + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -35,19 +52,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -55,13 +72,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -69,12 +86,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -88,17 +106,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -109,7 +127,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -149,7 +167,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -302,22 +322,20 @@ The regex pattern. The regex options. - + - Represents a BSON Oid (object id). + Specifies how constructors are used when initializing objects during deserialization by the . - + - Gets or sets the value of the Oid. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - The value of the Oid. - + - Initializes a new instance of the class. + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - The Oid value. @@ -351,6 +369,86 @@ true if this instance can convert the specified object type; otherwise, false. + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + Converts a to and from JSON. @@ -415,54 +513,6 @@ true if this instance can convert the specified value type; otherwise, false. - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - Provides a base class for converting a to and from JSON. @@ -511,7 +561,7 @@ - Converts an Entity Framework EntityKey to and from JSON. + Converts an Entity Framework to and from JSON. @@ -543,7 +593,7 @@ - Converts an ExpandoObject to and from JSON. + Converts an to and from JSON. @@ -581,6 +631,70 @@ true if this can write JSON; otherwise, false. + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + Converts a to and from JSON. @@ -613,38 +727,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - Converts a to and from JSON and BSON. @@ -690,9 +772,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -734,7 +816,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -764,70 +846,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - Converts XML to and from JSON. @@ -835,16 +853,16 @@ - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - The name of the deserialize root element. + The name of the deserialized root element. Gets or sets a flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - true if the array attibute is written to the XML; otherwise, false. + true if the array attribute is written to the XML; otherwise, false. @@ -872,7 +890,7 @@ - Checks if the attributeName is a namespace attribute. + Checks if the is a namespace attribute. Attribute name to test. The attribute name prefix if it has one, otherwise an empty string. @@ -887,43 +905,6 @@ true if this instance can convert the specified value type; otherwise, false. - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. @@ -939,75 +920,6 @@ Floating point numbers are parsed to . - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - Specifies how dates are formatted when writing JSON text. @@ -1015,17 +927,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -1035,12 +947,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -1069,6 +981,63 @@ Time zone information should be preserved when converting. + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + Specifies formatting options for the . @@ -1084,4364 +1053,24 @@ Causes child objects to be indented according to the and settings. - + - Instructs the to use the specified constructor when deserializing that object. + Provides an interface for using pooled arrays. + The array type content. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Rent an array from the pool. This array must be returned when it is no longer needed. + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specfied. - The serialized property name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. + Return an array to the pool. + The array that is being returned. @@ -5453,20 +1082,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -5486,7 +1115,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -5496,6 +1125,11 @@ The container Id. + + + Instructs the to use the specified constructor when deserializing that object. + + Instructs the how to serialize the object. @@ -5527,13 +1161,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -5544,13 +1180,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -5592,1375 +1230,9 @@ The container Id. - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -6977,22 +1249,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -7007,7 +1279,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -7203,7 +1475,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -7213,7 +1485,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7221,8 +1493,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -7231,7 +1503,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7242,11 +1514,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -7257,9 +1529,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -7269,52 +1541,18 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - Deserializes the JSON to a .NET object. @@ -7329,7 +1567,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -7355,7 +1593,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -7368,14 +1606,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -7396,7 +1634,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -7417,61 +1655,10 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - Populates the object with values from the JSON string. @@ -7487,66 +1674,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - Serializes the XML node to a JSON string. + Serializes the to a JSON string. The node to serialize. - A JSON string of the XmlNode. + A JSON string of the . - Serializes the XML node to a JSON string using formatting. + Serializes the to a JSON string using formatting. The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + Indicates how the output should be formatted. + A JSON string of the . - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XmlNode. + A JSON string of the . - Deserializes the XmlNode from a JSON string. + Deserializes the from a JSON string. The JSON string. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XmlNode + The deserialized . - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -7554,51 +1727,51 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XmlNode + The deserialized . Serializes the to a JSON string. The node to convert to JSON. - A JSON string of the XNode. + A JSON string of the . Serializes the to a JSON string using formatting. The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + Indicates how the output should be formatted. + A JSON string of the . Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XNode. + A JSON string of the . Deserializes the from a JSON string. The JSON string. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -7606,7 +1779,761 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XNode + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + @@ -7631,7 +2558,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7639,8 +2566,8 @@ The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The parameter is null. + The class name is null or is zero (0). @@ -7660,7 +2587,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -7681,8 +2613,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -7691,6 +2623,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -7698,22 +2636,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -7759,39 +2697,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -7918,7 +2857,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -7926,710 +2865,1276 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. - + - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Specifies the settings on a object. - + - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - + Reference loop handling. - + - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - + Missing member handling. - + - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets how objects are created during deserialization. - The source to test. - The schema to test with. + The object creation handling. - + - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets how null values are handled during serialization and deserialization. - The source to test. - The schema to test with. - The validation event handler. + Null value handling. - + - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets how default values are handled during serialization and deserialization. + The default value handling. - + - Gets the line number indicating where the error occurred. + Gets or sets a collection that will be used during serialization. - The line number indicating where the error occurred. + The converters. - + - Gets the line position indicating where the error occurred. + Gets or sets how object references are preserved by the serializer. - The line position indicating where the error occurred. + The preserve references handling. - + - Gets the path to the JSON where the error occurred. + Gets or sets how type name writing and reading is handled by the serializer. - The path to the JSON where the error occurred. + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. - + - Initializes a new instance of the class. + Gets or sets how metadata properties are used during deserialization. + The metadata properties handling. - + - Initializes a new instance of the class - with a specified error message. + Gets or sets how a type name assembly is written and resolved by the serializer. - The error message that explains the reason for the exception. + The type name assembly format. - + - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. + Gets or sets how a type name assembly is written and resolved by the serializer. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The type name assembly format. - + - Initializes a new instance of the class. + Gets or sets how constructors are used during deserialization. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). + The constructor handling. - + - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. The contract resolver. - + - Generate a from the specified type. + Gets or sets the equality comparer used by the serializer when comparing references. - The type to generate a from. - A generated from the specified type. + The equality comparer. - + - Generate a from the specified type. + Gets or sets the used by the serializer when resolving references. - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. + The reference resolver. - + - Generate a from the specified type. + Gets or sets a function that creates the used by the serializer when resolving references. - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. + A function that creates the used by the serializer when resolving references. - + - Generate a from the specified type. + Gets or sets the used by the serializer when writing trace messages. - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. + The trace writer. - + - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. - + - No type specified. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - + - String type. + Indicates how JSON text output is formatted. - + - Float type. + Gets or sets how dates are written to JSON text. - + - Integer type. + Gets or sets how time zones are handled during serialization and deserialization. - + - Boolean type. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - + - Object type. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. - + - Array type. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - + - Null type. + Gets or sets how strings are escaped when writing JSON text. - + - Any type. + Gets or sets the culture used when reading JSON. Defaults to . - + - Specifies missing member handling options for the . + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. - + - Ignore a missing member and do not attempt to deserialize it. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - + - Throw a when a missing member is encountered during deserialization. + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. - + - Specifies null value handling options for the . + Reads the next JSON token from the underlying . - - - - + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Include null values when serializing and deserializing objects. + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Ignore null values when serializing and deserializing objects. + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Specifies reference loop handling options for the . + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. - + - Throw a when a loop is encountered. + Gets or sets how many s to write for each level in the hierarchy when is set to . - + - Ignore loop references and do not serialize. + Gets or sets which character to use to quote attribute values. - + - Serialize loop references. + Gets or sets which character to use for indenting when is set to . - + - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. + Gets or sets a value indicating whether object names will be surrounded with quotes. - + - Include the .NET type name when serializing into a JSON object structure. + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - + - Include the .NET type name when serializing into a JSON array structure. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Always include the .NET type name when serializing. + Writes the beginning of a JSON object. - + - Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Writes the beginning of a JSON array. + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + Specifies the type of JSON token. @@ -8637,7 +4142,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -8725,19 +4230,794 @@ Byte data. + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -8758,34 +5038,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -8795,17 +5075,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -8841,13 +5123,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -8878,7 +5160,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -9039,105 +5322,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -9160,29 +5443,5277 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + Specifies the state of the . @@ -9192,12 +10723,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -9207,7 +10738,7 @@ - A array is being written. + An array is being written. @@ -9222,7 +10753,7 @@ - A write method has not been called. + A write method has not been called. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..47e4008 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml similarity index 68% rename from packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml index 6404058..f7a4e30 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml @@ -4,6 +4,324 @@ Newtonsoft.Json + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + Specifies how constructors are used when initializing objects during deserialization by the . @@ -11,7 +329,7 @@ - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. @@ -19,6 +337,478 @@ Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + Specifies how dates are formatted when writing JSON text. @@ -26,17 +816,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -46,12 +836,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -98,7 +888,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. + so that it is not written to JSON. This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, decimals and floating point numbers; and false for booleans). The default value ignored can be changed by placing the on the property. @@ -112,7 +902,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + and set members to their default value when deserializing. @@ -123,18 +913,18 @@ - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON. - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. @@ -175,7 +965,7 @@ - Rent a array from the pool. This array must be returned when it is no longer needed. + Rent an array from the pool. This array must be returned when it is no longer needed. The minimum required length of the array. The returned array may be longer. The rented array from the pool. This array must be returned when it is no longer needed. @@ -196,20 +986,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -229,7 +1019,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -275,13 +1065,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -292,13 +1084,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -342,7 +1136,7 @@ - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -359,22 +1153,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -389,7 +1183,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -585,7 +1379,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -595,7 +1389,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -603,8 +1397,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -613,7 +1407,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -624,11 +1418,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -639,9 +1433,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -651,52 +1445,18 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - Deserializes the JSON to a .NET object. @@ -711,7 +1471,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -737,7 +1497,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -750,14 +1510,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -778,7 +1538,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -799,61 +1559,10 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - Populates the object with values from the JSON string. @@ -869,66 +1578,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - Serializes the to a JSON string. The node to convert to JSON. - A JSON string of the XNode. + A JSON string of the . Serializes the to a JSON string using formatting. The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + Indicates how the output should be formatted. + A JSON string of the . Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XNode. + A JSON string of the . Deserializes the from a JSON string. The JSON string. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -936,7 +1631,7 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XNode + The deserialized . @@ -970,17 +1665,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - Gets a value indicating whether this can read JSON. @@ -1006,8 +1690,8 @@ - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. + The parameter list to use when constructing the described by . + If null, the default constructor is used. @@ -1021,7 +1705,7 @@ Initializes a new instance of the class. Type of the . - Parameter list to use when constructing the . Can be null. + Parameter list to use when constructing the . Can be null. @@ -1067,7 +1751,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -1150,13 +1834,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -1167,13 +1853,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -1234,13 +1922,13 @@ - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. @@ -1266,6 +1954,105 @@ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + Specifies the state of the reader. @@ -1273,7 +2060,7 @@ - The Read method has not been called. + A read method has not been called. @@ -1308,7 +2095,7 @@ - The Close method has been called. + The method has been called. @@ -1323,7 +2110,7 @@ - Reader in a constructor. + Reader is in a constructor. @@ -1344,12 +2131,10 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. @@ -1358,7 +2143,8 @@ be read from a continuous stream without erroring. - true to support reading multiple pieces of JSON content; otherwise false. The default is false. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. @@ -1368,22 +2154,22 @@ - Get or set how time zones are handling when reading JSON. + Gets or sets how time zones are handled when reading JSON. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how custom date formatted strings are parsed when reading JSON. + Gets or sets how custom date formatted strings are parsed when reading JSON. @@ -1403,7 +2189,7 @@ - Gets The Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -1424,62 +2210,62 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. - Reads the next JSON token from the stream. + Reads the next JSON token from the source. true if the next token was read successfully; false if there are no more tokens to read. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the source as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. @@ -1499,25 +2285,29 @@ The new token. The value. + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + Sets the state based on current token type. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Changes the to Closed. + Changes the reader's state to . + If is set to true, the source is also closed. @@ -1561,11 +2351,22 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. - Instructs the to always serialize the member, and require the member has a value. + Instructs the to always serialize the member, and to require that the member has a value. @@ -1591,7 +2392,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -1611,7 +2412,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -1632,8 +2438,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -1642,6 +2448,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -1649,22 +2461,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -1710,39 +2522,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -1869,7 +2682,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -1877,33 +2690,33 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -1915,7 +2728,7 @@ - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. Reference loop handling. @@ -1939,7 +2752,7 @@ - Gets or sets how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. The default value handling. @@ -1961,8 +2774,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . The type name handling. @@ -1978,6 +2791,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how constructors are used during deserialization. @@ -2017,7 +2836,13 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. The binder. @@ -2035,7 +2860,8 @@ - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2050,34 +2876,34 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. @@ -2103,11 +2929,101 @@ Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + - Initializes a new instance of the class with the specified . + Initializes a new instance of the class with the specified . - The TextReader containing the XML data to read. + The containing the JSON data to read. @@ -2116,7 +3032,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2124,55 +3040,56 @@ - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Changes the state to closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. @@ -2180,7 +3097,7 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. @@ -2188,7 +3105,7 @@ Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, returns false). @@ -2196,7 +3113,7 @@ Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, returns false). @@ -2204,6 +3121,585 @@ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + Gets or sets the writer's character array pool. @@ -2211,7 +3707,7 @@ - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Gets or sets how many s to write for each level in the hierarchy when is set to . @@ -2221,7 +3717,7 @@ - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets which character to use for indenting when is set to . @@ -2231,18 +3727,20 @@ - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class using the specified . - The TextWriter to write to. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -2356,9 +3854,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -2368,9 +3866,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -2452,13 +3950,13 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. @@ -2469,7 +3967,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -2603,7 +4101,7 @@ - Gets the Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -2626,59 +4124,65 @@ The specified in the constructor. + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. + A [] or null if the next JSON token is null. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2689,14 +4193,656 @@ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -2717,34 +4863,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -2754,17 +4900,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -2800,13 +4948,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -2837,7 +4985,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -2998,105 +5147,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -3119,32 +5268,32 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. - The exception thrown when an error occurs while reading JSON text. + The exception thrown when an error occurs while writing JSON text. @@ -3171,1082 +5320,16 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. - + - Specifies the member serialization options for the . + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -4407,11 +5490,11 @@ Represents a collection of objects. - The type of token + The type of token. - Gets the with the specified key. + Gets the of with the specified key. @@ -4423,6 +5506,34 @@ + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + Gets the container's children tokens. @@ -4471,7 +5582,7 @@ A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -4490,7 +5601,7 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. @@ -4501,7 +5612,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -4509,7 +5620,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -4532,90 +5643,118 @@ - Determines the index of a specific item in the . + Determines the index of a specific item in the . - The object to locate in the . + The object to locate in the . The index of if found in the list; otherwise, -1. - Inserts an item to the at the specified index. + Inserts an item to the at the specified index. The zero-based index at which should be inserted. - The object to insert into the . + The object to insert into the . - is not a valid index in the . - The is read-only. + is not a valid index in the . + - Removes the item at the specified index. + Removes the item at the specified index. The zero-based index of the item to remove. - is not a valid index in the . - The is read-only. + is not a valid index in the . + Returns an enumerator that iterates through the collection. - A that can be used to iterate through the collection. + A of that can be used to iterate through the collection. - Adds an item to the . + Adds an item to the . - The object to add to the . - The is read-only. + The object to add to the . - Removes all items from the . + Removes all items from the . - The is read-only. - Determines whether the contains a specific value. + Determines whether the contains a specific value. - The object to locate in the . + The object to locate in the . - true if is found in the ; otherwise, false. + true if is found in the ; otherwise, false. - Copies to. + Copies the elements of the to an array, starting at a particular array index. The array. Index of the array. - Gets a value indicating whether the is read-only. + Gets a value indicating whether the is read-only. - true if the is read-only; otherwise, false. + true if the is read-only; otherwise, false. - Removes the first occurrence of a specific object from the . + Removes the first occurrence of a specific object from the . - The object to remove from the . + The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - The is read-only. Represents a JSON constructor. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + Gets the container's children tokens. @@ -4680,18 +5819,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -4761,13 +5900,13 @@ Returns a collection of the descendant tokens for this token in document order. - An containing the descendant tokens of the . + An of containing the descendant tokens of the . Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - An containing this token, and all the descendant tokens of the . + An of containing this token, and all the descendant tokens of the . @@ -4783,13 +5922,13 @@ - Creates an that can be used to add tokens to the . + Creates a that can be used to add tokens to the . - An that is ready to have content written to it. + A that is ready to have content written to it. - Replaces the children nodes of this token with the specified content. + Replaces the child nodes of this token with the specified content. The content. @@ -4815,13 +5954,13 @@ Gets the count of child JSON tokens. - The count of child JSON tokens + The count of child JSON tokens. Represents a collection of objects. - The type of token + The type of token. @@ -4836,23 +5975,15 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - Gets the with the specified key. + Gets the of with the specified key. @@ -4890,6 +6021,37 @@ + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + Gets the container's children tokens. @@ -4932,22 +6094,22 @@ - Gets an of this object's properties. + Gets an of of this object's properties. - An of this object's properties. + An of of this object's properties. Gets a the specified name. The property name. - A with the specified name or null. + A with the specified name or null. - Gets an of this object's property values. + Gets a of of this object's property values. - An of this object's property values. + A of of this object's property values. @@ -4963,19 +6125,25 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . + + is not valid JSON. + - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + is not valid JSON. + @@ -4983,6 +6151,9 @@ A that contains JSON. A populated from the string that contains JSON. + + is not valid JSON. + @@ -4993,8 +6164,11 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. + + is not valid JSON. + @@ -5004,7 +6178,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -5012,7 +6186,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -5065,7 +6239,7 @@ - Tries the get value. + Tries to get the with the specified property name. Name of the property. The value. @@ -5073,7 +6247,7 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. @@ -5099,6 +6273,35 @@ Represents a JSON property. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + Gets the container's children tokens. @@ -5152,18 +6355,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -5171,6 +6374,15 @@ Represents a raw JSON string. + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + Initializes a new instance of the class from another object. @@ -5195,6 +6407,11 @@ Specifies the settings used when loading JSON. + + + Initializes a new instance of the class. + + Gets or sets how JSON comments are handled when loading JSON. @@ -5220,7 +6437,7 @@ - Gets or sets how how null value properties are merged. + Gets or sets how null value properties are merged. How null value properties are merged. @@ -5229,6 +6446,81 @@ Represents an abstract JSON token. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + Gets a comparer that can compare two tokens for value equality. @@ -5398,8 +6690,8 @@ Returns the JSON for this token using the given formatting and converters. - Indicates how the output is formatted. - A collection of which will be used when writing the token. + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. The JSON for this token using the given formatting and converters. @@ -5418,49 +6710,49 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5509,56 +6801,56 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5572,14 +6864,14 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5635,7 +6927,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5649,7 +6941,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5684,7 +6976,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5698,49 +6990,49 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5768,7 +7060,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5782,14 +7074,14 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5803,28 +7095,28 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5887,7 +7179,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5901,23 +7193,23 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Creates an for this token. + Creates a for this token. - An that can be used to read this token and its descendants. + A that can be used to read this token and its descendants. Creates a from an object. The object that will be used to create . - A with the value of the specified object + A with the value of the specified object. @@ -5925,25 +7217,25 @@ The object that will be used to create . The that will be used when reading the object. - A with the value of the specified object + A with the value of the specified object. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5951,7 +7243,7 @@ - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5961,9 +7253,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5974,9 +7266,9 @@ An positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5994,18 +7286,18 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -6014,9 +7306,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -6028,7 +7320,7 @@ A that contains a JPath expression. - A , or null. + A , or null. @@ -6047,7 +7339,7 @@ A that contains a JPath expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -6057,7 +7349,7 @@ A that contains a JPath expression. A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -6108,7 +7400,7 @@ Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . @@ -6150,7 +7442,7 @@ The for which a hash code is to be returned. A hash code for the specified object. - The type of is a reference type and is null. + The type of is a reference type and is null. @@ -6170,7 +7462,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -6288,9 +7580,9 @@ - Gets the token being writen. + Gets the token being written. - The token being writen. + The token being written. @@ -6305,13 +7597,17 @@ - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the JSON is auto-completed. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + @@ -6344,7 +7640,7 @@ Writes a value. - An error will raised if the value cannot be written as a single JSON token. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -6366,7 +7662,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -6495,6 +7791,15 @@ Represents a value in JSON (string, integer, date, etc). + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + Initializes a new instance of the class from another object. @@ -6636,7 +7941,7 @@ Writes this token to a . A into which this method will write. - A collection of which will be used when writing the token. + A collection of s which will be used when writing the token. @@ -6655,9 +7960,6 @@ true if the specified is equal to the current ; otherwise, false. - - The parameter is null. - @@ -6729,7 +8031,7 @@ This instance is greater than . - is not the same type as this instance. + is not of the same type as this instance. @@ -6764,6 +8066,178 @@ The content's null value properties will be merged. + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + @@ -6857,7 +8331,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6901,9 +8375,9 @@ - Gets or sets a number that the value should be divisble by. + Gets or sets a number that the value should be divisible by. - A number that the value should be divisble by. + A number that the value should be divisible by. @@ -6919,15 +8393,15 @@ - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + A flag indicating whether the value can not equal the number defined by the maximum attribute (). @@ -7016,7 +8490,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -7058,18 +8532,18 @@ - Load a from a string that contains schema JSON. + Load a from a string that contains JSON Schema. - A that contains JSON. - A populated from the string that contains JSON. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - Parses the specified json. + Load a from a string that contains JSON Schema using the specified . - The json. + A that contains JSON Schema. The resolver. - A populated from the string that contains JSON. + A populated from the string that contains JSON Schema. @@ -7138,7 +8612,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7339,6 +8813,27 @@ + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + A camel case naming strategy. @@ -7356,6 +8851,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -7378,9 +8888,16 @@ Initializes a new instance of the class. + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -7411,17 +8928,6 @@ Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - Resolves the contract for a given type. @@ -7545,6 +9051,13 @@ Name of the property. Resolved name of the property. + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. @@ -7576,6 +9089,11 @@ The default serialization binder used when resolving and loading classes from type names. + + + Initializes a new instance of the class. + + When overridden in a derived class, controls the binding of a serialized object to a type. @@ -7591,8 +9109,8 @@ When overridden in a derived class, controls the binding of a serialized object to a type. The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. + Specifies the name of the serialized object. + Specifies the name of the serialized object. @@ -7687,7 +9205,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -7695,12 +9213,12 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -7725,11 +9243,11 @@ The serialization context. The reference to resolve. - The object that + The object that was resolved from the reference. - Gets the reference for the sepecified object. + Gets the reference for the specified object. The serialization context. The object to get a reference for. @@ -7753,6 +9271,27 @@ The reference. The object to reference. + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Represents a trace writer. @@ -7761,8 +9300,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -7951,36 +9490,6 @@ The methods called when an error is thrown during the serialization of the object. - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - Gets or sets the default creator method used to create the object. @@ -7989,7 +9498,7 @@ - Gets or sets a value indicating whether the default creator is non public. + Gets or sets a value indicating whether the default creator is non-public. true if the default object creator is non-public; otherwise, false. @@ -7998,12 +9507,6 @@ Contract details for a used by the . - - - Gets or sets the property name resolver. - - The property name resolver. - Gets or sets the dictionary key resolver. @@ -8099,30 +9602,11 @@ The object's properties. - - - Gets the constructor parameters required for any non-default constructor - - Gets a collection of instances that define the parameters used with . - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - Gets or sets the function used to create the object. When set this function will override . @@ -8145,6 +9629,12 @@ Gets or sets the extension data value type. + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + Initializes a new instance of the class. @@ -8212,7 +9702,7 @@ Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -8298,9 +9788,9 @@ - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets a predicate used to determine whether the property should be serialized. - A predicate used to determine whether the property should be serialize. + A predicate used to determine whether the property should be serialized. @@ -8342,13 +9832,13 @@ - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. @@ -8379,7 +9869,7 @@ Gets the closest matching object. - First attempts to get an exact case match of propertyName and then + First attempts to get an exact case match of and then a case insensitive match. Name of the property. @@ -8406,11 +9896,11 @@ - Lookup and create an instance of the JsonConverter type described by the argument. + Lookup and create an instance of the type described by the argument. - The JsonConverter type to create. + The type to create. Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + If null, the default constructor is used. @@ -8421,8 +9911,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -8466,6 +9956,12 @@ Defaults to false. + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + A flag indicating whether explicitly specified property names, @@ -8478,9 +9974,16 @@ Gets the serialized name for a given property name. The initial property name. - A flag indicating whether the property has had a name explicitly specfied. + A flag indicating whether the property has had a name explicitly specified. The serialized property name. + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + Gets the serialized key for a given dictionary key. @@ -8521,7 +10024,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8529,7 +10032,7 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8574,6 +10077,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -8586,18 +10104,121 @@ The property name to resolve. The resolved property name. + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + - Determines whether the collection is null or empty. + Determines whether the collection is null or empty. The collection. - true if the collection is null or empty; otherwise, false. + true if the collection is null or empty; otherwise, false. - Adds the elements of the specified collection to the specified generic IList. + Adds the elements of the specified collection to the specified generic . The list to add to. The collection of elements to add. @@ -8615,13 +10236,13 @@ is returned if assignable to the target type. - + Helper method for generating a MetaObject which calls a specific method on Dynamic that returns a result - + Helper method for generating a MetaObject which calls a specific method on Dynamic, but uses one of the arguments for @@ -8643,7 +10264,7 @@ - Gets a dictionary of the names and values of an Enum type. + Gets a dictionary of the names and values of an type. @@ -8654,6 +10275,54 @@ The enum type to get names and values for. + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + Gets the type of the typed collection's items. @@ -8725,18 +10394,60 @@ - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Builds a string. Unlike this class lets you reuse its internal buffer. - Determines whether the string is all white space. Empty string will return false. + Determines whether the string is all white space. Empty string will return false. The string to test whether it is all white space. true if the string is all white space; otherwise, false. + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + Indicates the method that will be used during deserialization for locating and loading assemblies. @@ -8744,12 +10455,12 @@ - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.dll new file mode 100644 index 0000000..5f60955 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml new file mode 100644 index 0000000..6aae8c6 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml @@ -0,0 +1,10559 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.dll new file mode 100644 index 0000000..5b56f25 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml similarity index 88% rename from packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml index 8a65f97..9550e31 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml @@ -23,12 +23,12 @@ - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -52,19 +52,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -72,13 +72,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -86,12 +86,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -105,17 +106,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -126,7 +127,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -166,7 +167,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -326,7 +329,7 @@ - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. @@ -334,6 +337,38 @@ Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + Converts a to and from JSON and BSON. @@ -368,7 +403,7 @@ - Create a custom object + Creates a custom object. The object type to convert. @@ -462,7 +497,7 @@ - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). @@ -503,7 +538,7 @@ - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). @@ -601,9 +636,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -645,7 +680,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -682,17 +717,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -702,12 +737,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -754,7 +789,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. + so that it is not written to JSON. This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, decimals and floating point numbers; and false for booleans). The default value ignored can be changed by placing the on the property. @@ -768,7 +803,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + and set members to their default value when deserializing. @@ -779,18 +814,18 @@ - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON. - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. @@ -831,7 +866,7 @@ - Rent a array from the pool. This array must be returned when it is no longer needed. + Rent an array from the pool. This array must be returned when it is no longer needed. The minimum required length of the array. The returned array may be longer. The rented array from the pool. This array must be returned when it is no longer needed. @@ -852,20 +887,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -885,7 +920,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -931,13 +966,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -948,13 +985,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -998,7 +1037,7 @@ - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -1015,22 +1054,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -1045,7 +1084,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -1241,7 +1280,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -1251,7 +1290,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1259,8 +1298,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1269,7 +1308,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1280,11 +1319,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -1295,9 +1334,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1307,13 +1346,13 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -1333,7 +1372,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1359,7 +1398,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -1372,14 +1411,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -1400,7 +1439,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1421,7 +1460,7 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1440,7 +1479,7 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. @@ -1475,17 +1514,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - Gets a value indicating whether this can read JSON. @@ -1511,8 +1539,8 @@ - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. + The parameter list to use when constructing the described by . + If null, the default constructor is used. @@ -1526,7 +1554,7 @@ Initializes a new instance of the class. Type of the . - Parameter list to use when constructing the . Can be null. + Parameter list to use when constructing the . Can be null. @@ -1572,7 +1600,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -1655,13 +1683,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -1672,13 +1702,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -1739,13 +1771,13 @@ - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. @@ -1778,7 +1810,7 @@ - The Read method has not been called. + A read method has not been called. @@ -1813,7 +1845,7 @@ - The Close method has been called. + The method has been called. @@ -1828,7 +1860,7 @@ - Reader in a constructor. + Reader is in a constructor. @@ -1849,12 +1881,10 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. @@ -1863,7 +1893,8 @@ be read from a continuous stream without erroring. - true to support reading multiple pieces of JSON content; otherwise false. The default is false. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. @@ -1873,22 +1904,22 @@ - Get or set how time zones are handling when reading JSON. + Gets or sets how time zones are handled when reading JSON. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how custom date formatted strings are parsed when reading JSON. + Gets or sets how custom date formatted strings are parsed when reading JSON. @@ -1908,7 +1939,7 @@ - Gets The Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -1929,62 +1960,62 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. - Reads the next JSON token from the stream. + Reads the next JSON token from the source. true if the next token was read successfully; false if there are no more tokens to read. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the source as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. @@ -2004,25 +2035,29 @@ The new token. The value. + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + Sets the state based on current token type. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Changes the to Closed. + Changes the reader's state to . + If is set to true, the source is also closed. @@ -2066,11 +2101,22 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. - Instructs the to always serialize the member, and require the member has a value. + Instructs the to always serialize the member, and to require that the member has a value. @@ -2096,7 +2142,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -2116,7 +2162,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -2137,8 +2188,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -2147,6 +2198,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -2154,22 +2211,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -2215,39 +2272,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2374,7 +2432,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -2382,33 +2440,33 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -2420,7 +2478,7 @@ - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. Reference loop handling. @@ -2444,7 +2502,7 @@ - Gets or sets how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. The default value handling. @@ -2466,8 +2524,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . The type name handling. @@ -2483,6 +2541,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how constructors are used during deserialization. @@ -2522,7 +2586,13 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. The binder. @@ -2540,7 +2610,8 @@ - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2555,34 +2626,34 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. @@ -2610,9 +2681,9 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class with the specified . - The TextReader containing the XML data to read. + The containing the JSON data to read. @@ -2621,7 +2692,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2629,55 +2700,56 @@ - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Changes the state to closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. @@ -2685,7 +2757,7 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. @@ -2693,7 +2765,7 @@ Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, returns false). @@ -2701,7 +2773,7 @@ Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, returns false). @@ -2716,7 +2788,7 @@ - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Gets or sets how many s to write for each level in the hierarchy when is set to . @@ -2726,7 +2798,7 @@ - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets which character to use for indenting when is set to . @@ -2736,18 +2808,20 @@ - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class using the specified . - The TextWriter to write to. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -2861,9 +2935,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -2873,9 +2947,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -2957,13 +3031,13 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. @@ -2974,7 +3048,7 @@ - This is returned by the if a method has not been called. + This is returned by the if a read method has not been called. @@ -3108,7 +3182,7 @@ - Gets the Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -3131,59 +3205,65 @@ The specified in the constructor. + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. + A [] or null if the next JSON token is null. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . + A of . - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -3196,12 +3276,18 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -3222,34 +3308,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -3259,17 +3345,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -3305,13 +3393,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -3342,7 +3430,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -3503,105 +3592,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -3624,32 +3713,32 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. - The exception thrown when an error occurs while reading JSON text. + The exception thrown when an error occurs while writing JSON text. @@ -3676,7 +3765,16 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -3837,11 +3935,11 @@ Represents a collection of objects. - The type of token + The type of token. - Gets the with the specified key. + Gets the of with the specified key. @@ -3901,7 +3999,7 @@ A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -3920,7 +4018,7 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. @@ -3931,7 +4029,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -3939,7 +4037,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -3962,84 +4060,81 @@ - Determines the index of a specific item in the . + Determines the index of a specific item in the . - The object to locate in the . + The object to locate in the . The index of if found in the list; otherwise, -1. - Inserts an item to the at the specified index. + Inserts an item to the at the specified index. The zero-based index at which should be inserted. - The object to insert into the . + The object to insert into the . - is not a valid index in the . - The is read-only. + is not a valid index in the . + - Removes the item at the specified index. + Removes the item at the specified index. The zero-based index of the item to remove. - is not a valid index in the . - The is read-only. + is not a valid index in the . + Returns an enumerator that iterates through the collection. - A that can be used to iterate through the collection. + A of that can be used to iterate through the collection. - Adds an item to the . + Adds an item to the . - The object to add to the . - The is read-only. + The object to add to the . - Removes all items from the . + Removes all items from the . - The is read-only. - Determines whether the contains a specific value. + Determines whether the contains a specific value. - The object to locate in the . + The object to locate in the . - true if is found in the ; otherwise, false. + true if is found in the ; otherwise, false. - Copies to. + Copies the elements of the to an array, starting at a particular array index. The array. Index of the array. - Gets a value indicating whether the is read-only. + Gets a value indicating whether the is read-only. - true if the is read-only; otherwise, false. + true if the is read-only; otherwise, false. - Removes the first occurrence of a specific object from the . + Removes the first occurrence of a specific object from the . - The object to remove from the . + The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - The is read-only. @@ -4110,18 +4205,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -4180,13 +4275,13 @@ Returns a collection of the descendant tokens for this token in document order. - An containing the descendant tokens of the . + An of containing the descendant tokens of the . Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - An containing this token, and all the descendant tokens of the . + An of containing this token, and all the descendant tokens of the . @@ -4202,13 +4297,13 @@ - Creates an that can be used to add tokens to the . + Creates a that can be used to add tokens to the . - An that is ready to have content written to it. + A that is ready to have content written to it. - Replaces the children nodes of this token with the specified content. + Replaces the child nodes of this token with the specified content. The content. @@ -4234,13 +4329,13 @@ Gets the count of child JSON tokens. - The count of child JSON tokens + The count of child JSON tokens. Represents a collection of objects. - The type of token + The type of token. @@ -4255,23 +4350,15 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - Gets the with the specified key. + Gets the of with the specified key. @@ -4351,22 +4438,22 @@ - Gets an of this object's properties. + Gets an of of this object's properties. - An of this object's properties. + An of of this object's properties. Gets a the specified name. The property name. - A with the specified name or null. + A with the specified name or null. - Gets an of this object's property values. + Gets a of of this object's property values. - An of this object's property values. + A of of this object's property values. @@ -4382,19 +4469,25 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . + + is not valid JSON. + - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + is not valid JSON. + @@ -4402,6 +4495,9 @@ A that contains JSON. A populated from the string that contains JSON. + + is not valid JSON. + @@ -4412,8 +4508,11 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. + + is not valid JSON. + @@ -4423,7 +4522,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -4431,7 +4530,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -4484,7 +4583,7 @@ - Tries the get value. + Tries to get the with the specified property name. Name of the property. The value. @@ -4492,7 +4591,7 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. @@ -4562,18 +4661,18 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -4605,6 +4704,11 @@ Specifies the settings used when loading JSON. + + + Initializes a new instance of the class. + + Gets or sets how JSON comments are handled when loading JSON. @@ -4630,7 +4734,7 @@ - Gets or sets how how null value properties are merged. + Gets or sets how null value properties are merged. How null value properties are merged. @@ -4808,8 +4912,8 @@ Returns the JSON for this token using the given formatting and converters. - Indicates how the output is formatted. - A collection of which will be used when writing the token. + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. The JSON for this token using the given formatting and converters. @@ -4828,49 +4932,49 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -4919,56 +5023,56 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -4982,14 +5086,14 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5045,7 +5149,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5059,7 +5163,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5094,7 +5198,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5108,49 +5212,49 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5178,7 +5282,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5192,14 +5296,14 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5213,28 +5317,28 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5297,7 +5401,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5311,23 +5415,23 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Creates an for this token. + Creates a for this token. - An that can be used to read this token and its descendants. + A that can be used to read this token and its descendants. Creates a from an object. The object that will be used to create . - A with the value of the specified object + A with the value of the specified object. @@ -5335,25 +5439,25 @@ The object that will be used to create . The that will be used when reading the object. - A with the value of the specified object + A with the value of the specified object. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5361,7 +5465,7 @@ - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5371,9 +5475,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5384,9 +5488,9 @@ An positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5404,18 +5508,18 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5424,9 +5528,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5438,7 +5542,7 @@ A that contains a JPath expression. - A , or null. + A , or null. @@ -5457,7 +5561,7 @@ A that contains a JPath expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -5467,7 +5571,7 @@ A that contains a JPath expression. A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -5500,7 +5604,7 @@ Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . @@ -5542,7 +5646,7 @@ The for which a hash code is to be returned. A hash code for the specified object. - The type of is a reference type and is null. + The type of is a reference type and is null. @@ -5562,7 +5666,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -5680,9 +5784,9 @@ - Gets the token being writen. + Gets the token being written. - The token being writen. + The token being written. @@ -5697,13 +5801,17 @@ - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the JSON is auto-completed. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + @@ -5736,7 +5844,7 @@ Writes a value. - An error will raised if the value cannot be written as a single JSON token. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -5758,7 +5866,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -6028,7 +6136,7 @@ Writes this token to a . A into which this method will write. - A collection of which will be used when writing the token. + A collection of s which will be used when writing the token. @@ -6047,9 +6155,6 @@ true if the specified is equal to the current ; otherwise, false. - - The parameter is null. - @@ -6112,7 +6217,7 @@ This instance is greater than . - is not the same type as this instance. + is not of the same type as this instance. @@ -6168,7 +6273,7 @@ All public and private fields are serialized. Members can be excluded using or . This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. + and setting IgnoreSerializableAttribute on to false. @@ -6248,7 +6353,7 @@ Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . @@ -6412,7 +6517,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6456,9 +6561,9 @@ - Gets or sets a number that the value should be divisble by. + Gets or sets a number that the value should be divisible by. - A number that the value should be divisble by. + A number that the value should be divisible by. @@ -6474,15 +6579,15 @@ - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + A flag indicating whether the value can not equal the number defined by the maximum attribute (). @@ -6571,7 +6676,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -6613,18 +6718,18 @@ - Load a from a string that contains schema JSON. + Load a from a string that contains JSON Schema. - A that contains JSON. - A populated from the string that contains JSON. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - Parses the specified json. + Load a from a string that contains JSON Schema using the specified . - The json. + A that contains JSON Schema. The resolver. - A populated from the string that contains JSON. + A populated from the string that contains JSON Schema. @@ -6693,7 +6798,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -6932,6 +7037,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -6954,9 +7074,16 @@ Initializes a new instance of the class. + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -6993,17 +7120,6 @@ Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - Resolves the contract for a given type. @@ -7120,6 +7236,13 @@ Name of the property. Resolved name of the property. + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. @@ -7151,6 +7274,11 @@ The default serialization binder used when resolving and loading classes from type names. + + + Initializes a new instance of the class. + + When overridden in a derived class, controls the binding of a serialized object to a type. @@ -7166,8 +7294,8 @@ When overridden in a derived class, controls the binding of a serialized object to a type. The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. + Specifies the name of the serialized object. + Specifies the name of the serialized object. @@ -7262,7 +7390,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -7270,12 +7398,12 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -7300,11 +7428,11 @@ The serialization context. The reference to resolve. - The object that + The object that was resolved from the reference. - Gets the reference for the sepecified object. + Gets the reference for the specified object. The serialization context. The object to get a reference for. @@ -7328,6 +7456,27 @@ The reference. The object to reference. + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Represents a trace writer. @@ -7336,8 +7485,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -7526,36 +7675,6 @@ The methods called when an error is thrown during the serialization of the object. - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - Gets or sets the default creator method used to create the object. @@ -7564,7 +7683,7 @@ - Gets or sets a value indicating whether the default creator is non public. + Gets or sets a value indicating whether the default creator is non-public. true if the default object creator is non-public; otherwise, false. @@ -7573,12 +7692,6 @@ Contract details for a used by the . - - - Gets or sets the property name resolver. - - The property name resolver. - Gets or sets the dictionary key resolver. @@ -7651,30 +7764,11 @@ The object's properties. - - - Gets the constructor parameters required for any non-default constructor - - Gets a collection of instances that define the parameters used with . - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - Gets or sets the function used to create the object. When set this function will override . @@ -7697,6 +7791,12 @@ Gets or sets the extension data value type. + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + Initializes a new instance of the class. @@ -7764,7 +7864,7 @@ Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -7850,9 +7950,9 @@ - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets a predicate used to determine whether the property should be serialized. - A predicate used to determine whether the property should be serialize. + A predicate used to determine whether the property should be serialized. @@ -7894,13 +7994,13 @@ - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. @@ -7931,7 +8031,7 @@ Gets the closest matching object. - First attempts to get an exact case match of propertyName and then + First attempts to get an exact case match of and then a case insensitive match. Name of the property. @@ -7958,11 +8058,11 @@ - Lookup and create an instance of the JsonConverter type described by the argument. + Lookup and create an instance of the type described by the argument. - The JsonConverter type to create. + The type to create. Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + If null, the default constructor is used. @@ -7973,8 +8073,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -8018,6 +8118,12 @@ Defaults to false. + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + A flag indicating whether explicitly specified property names, @@ -8030,9 +8136,16 @@ Gets the serialized name for a given property name. The initial property name. - A flag indicating whether the property has had a name explicitly specfied. + A flag indicating whether the property has had a name explicitly specified. The serialized property name. + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + Gets the serialized key for a given dictionary key. @@ -8073,7 +8186,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8081,7 +8194,7 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8126,6 +8239,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -8188,14 +8316,29 @@ Output all debugging and tracing messages. + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + Specifies type name handling options for the . - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -8221,20 +8364,23 @@ Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . - Determines whether the collection is null or empty. + Determines whether the collection is null or empty. The collection. - true if the collection is null or empty; otherwise, false. + true if the collection is null or empty; otherwise, false. - Adds the elements of the specified collection to the specified generic IList. + Adds the elements of the specified collection to the specified generic . The list to add to. The collection of elements to add. @@ -8254,7 +8400,7 @@ - Gets a dictionary of the names and values of an Enum type. + Gets a dictionary of the names and values of an type. @@ -8336,12 +8482,12 @@ - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Builds a string. Unlike this class lets you reuse its internal buffer. - Determines whether the string is all white space. Empty string will return false. + Determines whether the string is all white space. Empty string will return false. The string to test whether it is all white space. @@ -8357,12 +8503,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -8372,7 +8518,7 @@ - A array is being written. + An array is being written. @@ -8387,7 +8533,7 @@ - A write method has not been called. + A write method has not been called. @@ -8397,12 +8543,12 @@ - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. diff --git a/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.dll new file mode 100644 index 0000000..12fddfa Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml similarity index 68% rename from packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml index 336b9ef..8a0c043 100644 --- a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml @@ -23,12 +23,12 @@ - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. @@ -52,19 +52,19 @@ Initializes a new instance of the class. - The stream. + The containing the BSON data to read. Initializes a new instance of the class. - The reader. + The containing the BSON data to read. Initializes a new instance of the class. - The stream. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. @@ -72,13 +72,13 @@ Initializes a new instance of the class. - The reader. + The containing the BSON data to read. if set to true the root object will be read as a JSON array. The used when reading values from BSON. - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -86,12 +86,13 @@ - Changes the to Closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. @@ -105,17 +106,17 @@ Initializes a new instance of the class. - The stream. + The to write to. Initializes a new instance of the class. - The writer. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. @@ -126,7 +127,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -166,7 +167,9 @@ - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -326,7 +329,7 @@ - First attempt to use the public default constructor, then fall back to single parameterized constructor, then the non-public default constructor. + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. @@ -334,6 +337,38 @@ Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + Converts a to and from JSON and BSON. @@ -368,7 +403,7 @@ - Create a custom object + Creates a custom object. The object type to convert. @@ -462,7 +497,7 @@ - Converts an ExpandoObject to and from JSON. + Converts an to and from JSON. @@ -502,7 +537,7 @@ - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). @@ -543,7 +578,7 @@ - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). @@ -641,9 +676,9 @@ - Gets or sets a value indicating whether integer values are allowed. + Gets or sets a value indicating whether integer values are allowed when deserializing. - true if integers are allowed; otherwise, false. + true if integers are allowed when deserializing; otherwise, false. @@ -685,7 +720,7 @@ - Converts a to and from a string (e.g. "1.2.3.4"). + Converts a to and from a string (e.g. "1.2.3.4"). @@ -722,16 +757,16 @@ - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - The name of the deserialize root element. + The name of the deserialized root element. Gets or sets a flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - true if the array attibute is written to the XML; otherwise, false. + true if the array attribute is written to the XML; otherwise, false. @@ -759,7 +794,7 @@ - Checks if the attributeName is a namespace attribute. + Checks if the is a namespace attribute. Attribute name to test. The attribute name prefix if it has one, otherwise an empty string. @@ -781,17 +816,17 @@ - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. @@ -801,12 +836,12 @@ - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . @@ -853,7 +888,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. + so that it is not written to JSON. This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, decimals and floating point numbers; and false for booleans). The default value ignored can be changed by placing the on the property. @@ -867,7 +902,7 @@ Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. + and set members to their default value when deserializing. @@ -878,18 +913,18 @@ - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON. - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. @@ -930,7 +965,7 @@ - Rent a array from the pool. This array must be returned when it is no longer needed. + Rent an array from the pool. This array must be returned when it is no longer needed. The minimum required length of the array. The returned array may be longer. The rented array from the pool. This array must be returned when it is no longer needed. @@ -951,20 +986,20 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, when returns false). Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, when returns false). @@ -984,7 +1019,7 @@ - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Initializes a new instance of the class with a flag indicating whether the array can contain null items. A flag indicating whether the array can contain null items. @@ -1030,13 +1065,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -1047,13 +1084,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -1097,7 +1136,7 @@ - Provides methods for converting between common language runtime types and JSON types. + Provides methods for converting between .NET types and JSON types. @@ -1114,22 +1153,22 @@ - Represents JavaScript's boolean value true as a string. This field is read-only. + Represents JavaScript's boolean value true as a string. This field is read-only. - Represents JavaScript's boolean value false as a string. This field is read-only. + Represents JavaScript's boolean value false as a string. This field is read-only. - Represents JavaScript's null as a string. This field is read-only. + Represents JavaScript's null as a string. This field is read-only. - Represents JavaScript's undefined as a string. This field is read-only. + Represents JavaScript's undefined as a string. This field is read-only. @@ -1144,7 +1183,7 @@ - Represents JavaScript's NaN as a string. This field is read-only. + Represents JavaScript's NaN as a string. This field is read-only. @@ -1340,7 +1379,7 @@ Serializes the specified object to a JSON string using formatting. The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. A JSON string representation of the object. @@ -1350,7 +1389,7 @@ Serializes the specified object to a JSON string using a collection of . The object to serialize. - A collection converters used while serializing. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1358,8 +1397,8 @@ Serializes the specified object to a JSON string using formatting and a collection of . The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. + Indicates how the output should be formatted. + A collection of converters used while serializing. A JSON string representation of the object. @@ -1368,7 +1407,7 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1379,11 +1418,11 @@ The object to serialize. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. @@ -1394,9 +1433,9 @@ Serializes the specified object to a JSON string using formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. A JSON string representation of the object. @@ -1406,52 +1445,18 @@ Serializes the specified object to a JSON string using a type, formatting and . The object to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. The used to serialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. A JSON string representation of the object. - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - Deserializes the JSON to a .NET object. @@ -1466,7 +1471,7 @@ The JSON to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1492,7 +1497,7 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. @@ -1505,14 +1510,14 @@ The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed + traditionally and must be inferred from the anonymous type passed as a parameter. The JSON to deserialize. The anonymous type object. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized anonymous type from the JSON string. @@ -1533,7 +1538,7 @@ The object to deserialize. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. @@ -1554,61 +1559,10 @@ The type of the object to deserialize to. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. The deserialized object from the JSON string. - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - Populates the object with values from the JSON string. @@ -1624,66 +1578,52 @@ The target object to populate values onto. The used to deserialize the object. - If this is null, default serialization settings will be used. + If this is null, default serialization settings will be used. - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - Serializes the to a JSON string. The node to convert to JSON. - A JSON string of the XNode. + A JSON string of the . Serializes the to a JSON string using formatting. The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + Indicates how the output should be formatted. + A JSON string of the . Serializes the to a JSON string using formatting and omits the root object if is true. The node to serialize. - Indicates how the output is formatted. + Indicates how the output should be formatted. Omits writing the root object. - A JSON string of the XNode. + A JSON string of the . Deserializes the from a JSON string. The JSON string. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by . + Deserializes the from a JSON string nested in a root element specified by . The JSON string. The name of the root element to append when deserializing. - The deserialized XNode + The deserialized . - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. The JSON string. The name of the root element to append when deserializing. @@ -1691,7 +1631,7 @@ A flag to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON. - The deserialized XNode + The deserialized . @@ -1725,17 +1665,6 @@ true if this instance can convert the specified object type; otherwise, false. - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - Gets a value indicating whether this can read JSON. @@ -1761,8 +1690,8 @@ - The parameter list to use when constructing the described by ConverterType. - If null, the default constructor is used. + The parameter list to use when constructing the described by . + If null, the default constructor is used. @@ -1776,7 +1705,7 @@ Initializes a new instance of the class. Type of the . - Parameter list to use when constructing the . Can be null. + Parameter list to use when constructing the . Can be null. @@ -1822,7 +1751,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -1905,13 +1834,15 @@ - The parameter list to use when constructing the described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + @@ -1922,13 +1853,15 @@ - The parameter list to use when constructing the described by NamingStrategyType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, order, and type of these parameters. + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + @@ -1989,13 +1922,13 @@ - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. @@ -2021,6 +1954,105 @@ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + Specifies the state of the reader. @@ -2028,7 +2060,7 @@ - The Read method has not been called. + A read method has not been called. @@ -2063,7 +2095,7 @@ - The Close method has been called. + The method has been called. @@ -2078,7 +2110,7 @@ - Reader in a constructor. + Reader is in a constructor. @@ -2099,12 +2131,10 @@ - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. @@ -2113,7 +2143,8 @@ be read from a continuous stream without erroring. - true to support reading multiple pieces of JSON content; otherwise false. The default is false. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. @@ -2123,22 +2154,22 @@ - Get or set how time zones are handling when reading JSON. + Gets or sets how time zones are handled when reading JSON. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how custom date formatted strings are parsed when reading JSON. + Gets or sets how custom date formatted strings are parsed when reading JSON. @@ -2158,7 +2189,7 @@ - Gets The Common Language Runtime (CLR) type for the current JSON token. + Gets the .NET type for the current JSON token. @@ -2179,62 +2210,62 @@ - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. - Reads the next JSON token from the stream. + Reads the next JSON token from the source. true if the next token was read successfully; false if there are no more tokens to read. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the source as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the source as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. @@ -2254,25 +2285,29 @@ The new token. The value. + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + Sets the state based on current token type. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Changes the to Closed. + Changes the reader's state to . + If is set to true, the source is also closed. @@ -2316,11 +2351,22 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. - Instructs the to always serialize the member, and require the member has a value. + Instructs the to always serialize the member, and to require that the member has a value. @@ -2346,7 +2392,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -2366,7 +2412,12 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. @@ -2387,8 +2438,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -2397,6 +2448,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how object references are preserved by the serializer. @@ -2404,22 +2461,22 @@ - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - Get or set how null values are handled during serialization and deserialization. + Gets or sets how null values are handled during serialization and deserialization. - Get or set how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. @@ -2465,39 +2522,40 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2624,7 +2682,7 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -2632,33 +2690,33 @@ Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. The type of the value being serialized. This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. + Specifying the type is optional. Serializes the specified and writes the JSON structure - to a Stream using the specified . + using the specified . The used to write the JSON structure. The to serialize. @@ -2670,7 +2728,7 @@ - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. Reference loop handling. @@ -2694,7 +2752,7 @@ - Gets or sets how null default are handled during serialization and deserialization. + Gets or sets how default values are handled during serialization and deserialization. The default value handling. @@ -2716,8 +2774,8 @@ should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + Incoming types should be validated with a custom + when deserializing with a value other than . The type name handling. @@ -2733,6 +2791,12 @@ The type name assembly format. + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + Gets or sets how constructors are used during deserialization. @@ -2772,7 +2836,13 @@ - Gets or sets the used by the serializer when resolving type names. + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. The binder. @@ -2790,7 +2860,8 @@ - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. @@ -2805,34 +2876,34 @@ - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how time zones are handled during serialization and deserialization. - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written as JSON. - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. @@ -2858,11 +2929,101 @@ Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + - Initializes a new instance of the class with the specified . + Initializes a new instance of the class with the specified . - The TextReader containing the XML data to read. + The containing the JSON data to read. @@ -2871,7 +3032,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -2879,55 +3040,56 @@ - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a . A . This method will return null at the end of an array. - Reads the next JSON token from the stream as a []. + Reads the next JSON token from the underlying as a []. - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Reads the next JSON token from the stream as a . + Reads the next JSON token from the underlying as a of . - A . This method will return null at the end of an array. + A of . This method will return null at the end of an array. - Changes the state to closed. + Changes the reader's state to . + If is set to true, the underlying is also closed. @@ -2935,7 +3097,7 @@ Gets a value indicating whether the class can return line information. - true if LineNumber and LinePosition can be provided; otherwise, false. + true if and can be provided; otherwise, false. @@ -2943,7 +3105,7 @@ Gets the current line number. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + The current line number or 0 if no line information is available (for example, returns false). @@ -2951,7 +3113,7 @@ Gets the current line position. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + The current line position or 0 if no line information is available (for example, returns false). @@ -2959,6 +3121,585 @@ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + Gets or sets the writer's character array pool. @@ -2966,7 +3707,7 @@ - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Gets or sets how many s to write for each level in the hierarchy when is set to . @@ -2976,7 +3717,7 @@ - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Gets or sets which character to use for indenting when is set to . @@ -2986,18 +3727,20 @@ - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class using the specified . - The TextWriter to write to. + The to write to. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. @@ -3111,9 +3854,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -3123,9 +3866,9 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -3207,251 +3950,671 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. @@ -3472,34 +4635,34 @@ - Indicates how JSON text output is formatted. + Gets or sets a value indicating how JSON text output should be formatted. - Get or set how dates are written to JSON text. + Gets or sets how dates are written to JSON text. - Get or set how time zones are handling when writing JSON text. + Gets or sets how time zones are handled when writing JSON text. - Get or set how strings are escaped when writing JSON text. + Gets or sets how strings are escaped when writing JSON text. - Get or set how special floating point numbers, e.g. , + Gets or sets how special floating point numbers, e.g. , and , are written to JSON text. - Get or set how and values are formatting when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. @@ -3509,17 +4672,19 @@ - Creates an instance of the JsonWriter class. + Initializes a new instance of the class. - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the destination and also flushes the destination. - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. @@ -3555,13 +4720,13 @@ - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. - Writes the property name of a name/value pair on a JSON object. + Writes the property name of a name/value pair of a JSON object. The name of the property. A flag to indicate whether the text should be escaped when it is written as a JSON property name. @@ -3592,7 +4757,8 @@ The value to write. A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . + null can be passed to the method for tokens that don't have a value, e.g. . + @@ -3753,105 +4919,105 @@ - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. - Writes a value. + Writes a of value. - The value to write. + The of value to write. @@ -3874,32 +5040,260 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. - Writes out the given white space. + Writes the given white space. The string of white space characters. - Releases unmanaged and - optionally - managed resources + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - Sets the state of the JsonWriter, + Sets the state of the . - The JsonToken being written. + The being written. The value being written. + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + - The exception thrown when an error occurs while reading JSON text. + The exception thrown when an error occurs while writing JSON text. @@ -3926,7 +5320,16 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -4087,11 +5490,11 @@ Represents a collection of objects. - The type of token + The type of token. - Gets the with the specified key. + Gets the of with the specified key. @@ -4151,7 +5554,7 @@ A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . @@ -4170,7 +5573,7 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. @@ -4181,7 +5584,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -4189,7 +5592,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -4212,84 +5615,109 @@ - Determines the index of a specific item in the . + Determines the index of a specific item in the . - The object to locate in the . + The object to locate in the . The index of if found in the list; otherwise, -1. - Inserts an item to the at the specified index. + Inserts an item to the at the specified index. The zero-based index at which should be inserted. - The object to insert into the . + The object to insert into the . - is not a valid index in the . - The is read-only. + is not a valid index in the . + - Removes the item at the specified index. + Removes the item at the specified index. The zero-based index of the item to remove. - is not a valid index in the . - The is read-only. + is not a valid index in the . + Returns an enumerator that iterates through the collection. - A that can be used to iterate through the collection. + A of that can be used to iterate through the collection. - Adds an item to the . + Adds an item to the . - The object to add to the . - The is read-only. + The object to add to the . - Removes all items from the . + Removes all items from the . - The is read-only. - Determines whether the contains a specific value. + Determines whether the contains a specific value. - The object to locate in the . + The object to locate in the . - true if is found in the ; otherwise, false. + true if is found in the ; otherwise, false. - Copies to. + Copies the elements of the to an array, starting at a particular array index. The array. Index of the array. - Gets a value indicating whether the is read-only. + Gets a value indicating whether the is read-only. - true if the is read-only; otherwise, false. + true if the is read-only; otherwise, false. - Removes the first occurrence of a specific object from the . + Removes the first occurrence of a specific object from the . - The object to remove from the . + The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - The is read-only. + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . @@ -4360,20 +5788,51 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + Represents a token that can contain other tokens. @@ -4441,13 +5900,13 @@ Returns a collection of the descendant tokens for this token in document order. - An containing the descendant tokens of the . + An of containing the descendant tokens of the . Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - An containing this token, and all the descendant tokens of the . + An of containing this token, and all the descendant tokens of the . @@ -4463,13 +5922,13 @@ - Creates an that can be used to add tokens to the . + Creates a that can be used to add tokens to the . - An that is ready to have content written to it. + A that is ready to have content written to it. - Replaces the children nodes of this token with the specified content. + Replaces the child nodes of this token with the specified content. The content. @@ -4495,13 +5954,13 @@ Gets the count of child JSON tokens. - The count of child JSON tokens + The count of child JSON tokens. Represents a collection of objects. - The type of token + The type of token. @@ -4516,23 +5975,15 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - Gets the with the specified key. + Gets the of with the specified key. @@ -4612,22 +6063,22 @@ - Gets an of this object's properties. + Gets an of of this object's properties. - An of this object's properties. + An of of this object's properties. Gets a the specified name. The property name. - A with the specified name or null. + A with the specified name or null. - Gets an of this object's property values. + Gets a of of this object's property values. - An of this object's property values. + A of of this object's property values. @@ -4643,19 +6094,25 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . + + is not valid JSON. + - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + is not valid JSON. + @@ -4663,6 +6120,9 @@ A that contains JSON. A populated from the string that contains JSON. + + is not valid JSON. + @@ -4673,8 +6133,11 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. + + is not valid JSON. + @@ -4684,7 +6147,7 @@ Creates a from an object. The object that will be used to create . - A with the values of the specified object + A with the values of the specified object. @@ -4692,7 +6155,7 @@ The object that will be used to create . The that will be used to read the object. - A with the values of the specified object + A with the values of the specified object. @@ -4745,7 +6208,7 @@ - Tries the get value. + Tries to get the with the specified property name. Name of the property. The value. @@ -4753,7 +6216,7 @@ - Returns an enumerator that iterates through the collection. + Returns an enumerator that can be used to iterate through the collection. A that can be used to iterate through the collection. @@ -4774,6 +6237,37 @@ The to bind this object. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + Represents a JSON property. @@ -4832,20 +6326,49 @@ - Loads an from a . + Loads a from a . A that will be read for the content of the . A that contains the JSON that was read from the specified . - Loads an from a . + Loads a from a . A that will be read for the content of the . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A that contains the JSON that was read from the specified . + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + Represents a raw JSON string. @@ -4870,11 +6393,25 @@ The reader. An instance of with the content of the reader's current token. + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + Specifies the settings used when loading JSON. + + + Initializes a new instance of the class. + + Gets or sets how JSON comments are handled when loading JSON. @@ -4900,7 +6437,7 @@ - Gets or sets how how null value properties are merged. + Gets or sets how null value properties are merged. How null value properties are merged. @@ -5078,8 +6615,8 @@ Returns the JSON for this token using the given formatting and converters. - Indicates how the output is formatted. - A collection of which will be used when writing the token. + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. The JSON for this token using the given formatting and converters. @@ -5098,49 +6635,49 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5189,56 +6726,56 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5252,14 +6789,14 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5315,7 +6852,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5329,7 +6866,7 @@ - Performs an explicit conversion from to . + Performs an explicit conversion from to of . The value. The result of the conversion. @@ -5364,7 +6901,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5378,49 +6915,49 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5448,7 +6985,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5462,14 +6999,14 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5483,28 +7020,28 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5567,7 +7104,7 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. @@ -5581,23 +7118,23 @@ - Performs an implicit conversion from to . + Performs an implicit conversion from of to . The value to create a from. The initialized with the specified value. - Creates an for this token. + Creates a for this token. - An that can be used to read this token and its descendants. + A that can be used to read this token and its descendants. Creates a from an object. The object that will be used to create . - A with the value of the specified object + A with the value of the specified object. @@ -5605,25 +7142,25 @@ The object that will be used to create . The that will be used when reading the object. - A with the value of the specified object + A with the value of the specified object. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the . + Creates an instance of the specified .NET type from the . The object type that the token will be deserialized to. The new object created from the JSON value. - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5631,7 +7168,7 @@ - Creates the specified .NET type from the using the specified . + Creates an instance of the specified .NET type from the using the specified . The object type that the token will be deserialized to. The that will be used when creating the object. @@ -5641,9 +7178,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5654,9 +7191,9 @@ An positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5674,18 +7211,18 @@ A that contains JSON. The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. A populated from the string that contains JSON. Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . The used to load the JSON. - If this is null, default load settings will be used. + If this is null, default load settings will be used. - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5694,9 +7231,9 @@ Creates a from a . - An positioned at the token to read into this . + A positioned at the token to read into this . - An that contains the token and its descendant tokens + A that contains the token and its descendant tokens that were read from the reader. The runtime type of the token is determined by the token type of the first token encountered in the reader. @@ -5708,7 +7245,7 @@ A that contains a JPath expression. - A , or null. + A , or null. @@ -5727,7 +7264,7 @@ A that contains a JPath expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -5737,7 +7274,7 @@ A that contains a JPath expression. A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. + An of that contains the selected elements. @@ -5788,7 +7325,7 @@ Gets a collection of annotations of the specified type for this . The type of the annotations to retrieve. - An that contains the annotations for this . + An that contains the annotations for this . @@ -5809,6 +7346,81 @@ The of annotations to remove. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + Compares tokens to determine whether they are equal. @@ -5830,7 +7442,7 @@ The for which a hash code is to be returned. A hash code for the specified object. - The type of is a reference type and is null. + The type of is a reference type and is null. @@ -5850,7 +7462,7 @@ - Reads the next JSON token from the stream. + Reads the next JSON token from the underlying . true if the next token was read successfully; false if there are no more tokens to read. @@ -5968,9 +7580,9 @@ - Gets the token being writen. + Gets the token being written. - The token being writen. + The token being written. @@ -5985,13 +7597,17 @@ - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Flushes whatever is in the buffer to the underlying . - Closes this stream and the underlying stream. + Closes this writer. + If is set to true, the JSON is auto-completed. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + @@ -6024,7 +7640,7 @@ Writes a value. - An error will raised if the value cannot be written as a single JSON token. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -6046,7 +7662,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -6316,7 +7932,7 @@ Writes this token to a . A into which this method will write. - A collection of which will be used when writing the token. + A collection of s which will be used when writing the token. @@ -6335,9 +7951,6 @@ true if the specified is equal to the current ; otherwise, false. - - The parameter is null. - @@ -6409,9 +8022,18 @@ This instance is greater than . - is not the same type as this instance. + is not of the same type as this instance. + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + Specifies how JSON arrays are merged together. @@ -6465,7 +8087,7 @@ All public and private fields are serialized. Members can be excluded using or . This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. + and setting IgnoreSerializableAttribute on to false. @@ -6545,7 +8167,7 @@ Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . @@ -6709,7 +8331,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6753,9 +8375,9 @@ - Gets or sets a number that the value should be divisble by. + Gets or sets a number that the value should be divisible by. - A number that the value should be divisble by. + A number that the value should be divisible by. @@ -6771,15 +8393,15 @@ - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + A flag indicating whether the value can not equal the number defined by the maximum attribute (). @@ -6868,7 +8490,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -6910,18 +8532,18 @@ - Load a from a string that contains schema JSON. + Load a from a string that contains JSON Schema. - A that contains JSON. - A populated from the string that contains JSON. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - Parses the specified json. + Load a from a string that contains JSON Schema using the specified . - The json. + A that contains JSON Schema. The resolver. - A populated from the string that contains JSON. + A populated from the string that contains JSON Schema. @@ -6990,7 +8612,7 @@ with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. + The exception that is the cause of the current exception, or null if no inner exception is specified. @@ -7229,6 +8851,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -7251,6 +8888,13 @@ Initializes a new instance of the class. + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + The default naming strategy. Property names and dictionary keys are unchanged. @@ -7290,7 +8934,7 @@ - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -7321,17 +8965,6 @@ Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - Resolves the contract for a given type. @@ -7455,6 +9088,13 @@ Name of the property. Resolved name of the property. + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. @@ -7474,6 +9114,11 @@ The default serialization binder used when resolving and loading classes from type names. + + + Initializes a new instance of the class. + + When overridden in a derived class, controls the binding of a serialized object to a type. @@ -7489,8 +9134,8 @@ When overridden in a derived class, controls the binding of a serialized object to a type. The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. + Specifies the name of the serialized object. + Specifies the name of the serialized object. @@ -7560,7 +9205,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -7568,12 +9213,12 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. - Used by to resolves a for a given . + Used by to resolve a for a given . @@ -7598,11 +9243,11 @@ The serialization context. The reference to resolve. - The object that + The object that was resolved from the reference. - Gets the reference for the sepecified object. + Gets the reference for the specified object. The serialization context. The object to get a reference for. @@ -7626,6 +9271,27 @@ The reference. The object to reference. + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + Represents a trace writer. @@ -7634,8 +9300,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -7824,36 +9490,6 @@ The methods called when an error is thrown during the serialization of the object. - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - Gets or sets the default creator method used to create the object. @@ -7862,7 +9498,7 @@ - Gets or sets a value indicating whether the default creator is non public. + Gets or sets a value indicating whether the default creator is non-public. true if the default object creator is non-public; otherwise, false. @@ -7871,12 +9507,6 @@ Contract details for a used by the . - - - Gets or sets the property name resolver. - - The property name resolver. - Gets or sets the dictionary key resolver. @@ -7972,30 +9602,11 @@ The object's properties. - - - Gets the constructor parameters required for any non-default constructor - - Gets a collection of instances that define the parameters used with . - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - Gets or sets the function used to create the object. When set this function will override . @@ -8018,6 +9629,12 @@ Gets or sets the extension data value type. + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + Initializes a new instance of the class. @@ -8085,7 +9702,7 @@ Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -8171,9 +9788,9 @@ - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets a predicate used to determine whether the property should be serialized. - A predicate used to determine whether the property should be serialize. + A predicate used to determine whether the property should be serialized. @@ -8215,13 +9832,13 @@ - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the type name handling used when serializing the property's collection items. The collection's items type name handling. - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the reference loop handling used when serializing the property's collection items. The collection's items reference loop handling. @@ -8252,7 +9869,7 @@ Gets the closest matching object. - First attempts to get an exact case match of propertyName and then + First attempts to get an exact case match of and then a case insensitive match. Name of the property. @@ -8279,11 +9896,11 @@ - Lookup and create an instance of the JsonConverter type described by the argument. + Lookup and create an instance of the type described by the argument. - The JsonConverter type to create. + The type to create. Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. + If null, the default constructor is used. @@ -8294,8 +9911,8 @@ Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. + For example a filter level of will exclude messages and include , + and messages. The that will be used to filter the trace messages passed to the writer. @@ -8339,6 +9956,12 @@ Defaults to false. + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + A flag indicating whether explicitly specified property names, @@ -8351,9 +9974,16 @@ Gets the serialized name for a given property name. The initial property name. - A flag indicating whether the property has had a name explicitly specfied. + A flag indicating whether the property has had a name explicitly specified. The serialized property name. + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + Gets the serialized key for a given dictionary key. @@ -8394,7 +10024,7 @@ Returns a collection of all of the attributes, or an empty collection if there are no attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8402,7 +10032,7 @@ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. + When true, look up the hierarchy chain for the inherited custom attribute. A collection of s, or an empty collection. @@ -8447,6 +10077,21 @@ e.g. a property name customized with a . + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + Initializes a new instance of the class. @@ -8509,14 +10154,29 @@ Output all debugging and tracing messages. + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + Specifies type name handling options for the . - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . @@ -8542,20 +10202,23 @@ Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . - Determines whether the collection is null or empty. + Determines whether the collection is null or empty. The collection. - true if the collection is null or empty; otherwise, false. + true if the collection is null or empty; otherwise, false. - Adds the elements of the specified collection to the specified generic IList. + Adds the elements of the specified collection to the specified generic . The list to add to. The collection of elements to add. @@ -8573,13 +10236,13 @@ is returned if assignable to the target type. - + Helper method for generating a MetaObject which calls a specific method on Dynamic that returns a result - + Helper method for generating a MetaObject which calls a specific method on Dynamic, but uses one of the arguments for @@ -8601,7 +10264,7 @@ - Gets a dictionary of the names and values of an Enum type. + Gets a dictionary of the names and values of an type. @@ -8612,6 +10275,54 @@ The enum type to get names and values for. + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + Gets the type of the typed collection's items. @@ -8683,12 +10394,12 @@ - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Builds a string. Unlike this class lets you reuse its internal buffer. - Determines whether the string is all white space. Empty string will return false. + Determines whether the string is all white space. Empty string will return false. The string to test whether it is all white space. @@ -8704,12 +10415,12 @@ An exception has been thrown, which has left the in an invalid state. You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. + Any other method calls result in an being thrown. - The method has been called. + The method has been called. @@ -8719,7 +10430,7 @@ - A array is being written. + An array is being written. @@ -8734,7 +10445,7 @@ - A write method has not been called. + A write method has not been called. @@ -8744,12 +10455,12 @@ - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. diff --git a/packages/Newtonsoft.Json.9.0.1/tools/install.ps1 b/packages/Newtonsoft.Json.10.0.2/tools/install.ps1 similarity index 100% rename from packages/Newtonsoft.Json.9.0.1/tools/install.ps1 rename to packages/Newtonsoft.Json.10.0.2/tools/install.ps1 diff --git a/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg b/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg deleted file mode 100644 index 87abe13..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 2d82d01..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index 1ed20a0..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index 20dae62..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index be6558d..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll deleted file mode 100644 index 5f2336e..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 13edc4a..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 8289274..0000000 Binary files a/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ