diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..915d1cf Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/HubConnectionManager.sln b/HubConnectionManager.sln index a662737..a716b22 100644 --- a/HubConnectionManager.sln +++ b/HubConnectionManager.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HubConnectionManager", "HubConnectionManager\HubConnectionManager.csproj", "{687CDF73-8065-4AC8-96C6-4B872EC73E8F}" EndProject @@ -26,12 +26,12 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|x86.ActiveCfg = Debug|x86 - {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|x86.Build.0 = Debug|x86 + {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|x86.ActiveCfg = Debug|Any CPU + {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Debug|x86.Build.0 = Debug|Any CPU {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|Any CPU.ActiveCfg = Release|Any CPU {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|Any CPU.Build.0 = Release|Any CPU - {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|x86.ActiveCfg = Release|x86 - {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|x86.Build.0 = Release|x86 + {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|x86.ActiveCfg = Release|Any CPU + {687CDF73-8065-4AC8-96C6-4B872EC73E8F}.Release|x86.Build.0 = Release|Any CPU {FEB1A757-C083-4FBE-B052-80356EA1715F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FEB1A757-C083-4FBE-B052-80356EA1715F}.Debug|Any CPU.Build.0 = Debug|Any CPU {FEB1A757-C083-4FBE-B052-80356EA1715F}.Debug|x86.ActiveCfg = Debug|x86 @@ -52,4 +52,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {126E3C73-611D-4B8A-87E1-BCFC92EE1115} + EndGlobalSection EndGlobal diff --git a/HubConnectionManager/HubConnectionManager.cs b/HubConnectionManager/HubConnectionManager.cs index bf8cfdb..5413b4d 100644 --- a/HubConnectionManager/HubConnectionManager.cs +++ b/HubConnectionManager/HubConnectionManager.cs @@ -1,7 +1,7 @@ -using System; -using System.Threading.Tasks; -using Microsoft.AspNet.SignalR.Client; +using Microsoft.AspNet.SignalR.Client; using Microsoft.AspNet.SignalR.Client.Transports; +using System; +using System.Threading.Tasks; namespace HubConnectionManager { @@ -55,13 +55,13 @@ private HubConnectionManager(HubConnection hubConnection) public static IHubConnectionManager GetHubConnectionManager(string url) { - IHubConnectionManager connectionManager = new HubConnectionManager(url); + var connectionManager = new HubConnectionManager(url); return connectionManager; } public static IHubConnectionManager GetHubConnectionManager(HubConnection hubConnection) { - IHubConnectionManager connectionManager = new HubConnectionManager(hubConnection); + var connectionManager = new HubConnectionManager(hubConnection); return connectionManager; } @@ -103,24 +103,18 @@ public void Stop() private void OnReceived(string data) { - if (Received != null) - { - Received(data); - } + Received?.Invoke(data); } private async void OnClosed() { - if (Closed != null) - { - Closed(); - } + Closed?.Invoke(); await RetryConnection(); } private async Task RetryConnection() { - await TaskEx.Delay(RetryPeriod); + await Task.Delay(RetryPeriod); try { await _hubConnection.Start(); @@ -133,42 +127,27 @@ private async Task RetryConnection() private void OnReconnecting() { - if (Reconnecting != null) - { - Reconnecting(); - } + Reconnecting?.Invoke(); } private void OnReconnected() { - if (Reconnected != null) - { - Reconnected(); - } + Reconnected?.Invoke(); } private void OnConnectionSlow() { - if (ConnectionSlow != null) - { - ConnectionSlow(); - } + ConnectionSlow?.Invoke(); } private void OnError(Exception error) { - if (Error != null) - { - Error(error); - } + Error?.Invoke(error); } private void OnStateChanged(StateChange stateChange) { - if (StateChanged != null) - { - StateChanged(stateChange); - } + StateChanged?.Invoke(stateChange); } public void Dispose() diff --git a/HubConnectionManager/HubConnectionManager.csproj b/HubConnectionManager/HubConnectionManager.csproj index c52b1ad..bb734b1 100644 --- a/HubConnectionManager/HubConnectionManager.csproj +++ b/HubConnectionManager/HubConnectionManager.csproj @@ -1,118 +1,19 @@ - - - + + - Debug - AnyCPU - {687CDF73-8065-4AC8-96C6-4B872EC73E8F} - Library - Properties - HubConnectionManager - HubConnectionManager.Lib - v4.0 - 512 - - ..\ - true + netstandard2.0 + HubConnectionManager + 2.0.0 + Derek Heiser + DerekDoes.Net + HubConnectionManager + SignalR extension to retry connecting to server on initialization + Copyright © Derek Heiser 2014 + https://github.com/killnine/HubConnectionManager - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - bin\x86\Debug\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - - - bin\x86\Release\ - TRACE - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - False - ..\packages\Microsoft.AspNet.SignalR.Client.2.1.1\lib\net40\Microsoft.AspNet.SignalR.Client.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - - False - ..\packages\Newtonsoft.Json.6.0.4\lib\net40\Newtonsoft.Json.dll - - - - - ..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.IO.dll - - - - ..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Runtime.dll - - - ..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Threading.Tasks.dll - - - - - - - - - - - - + - - + - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file + + diff --git a/HubConnectionManager/IHubConnectionManager.cs b/HubConnectionManager/IHubConnectionManager.cs index 6526f04..0980e19 100644 --- a/HubConnectionManager/IHubConnectionManager.cs +++ b/HubConnectionManager/IHubConnectionManager.cs @@ -1,7 +1,7 @@ -using System; -using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Client; using Microsoft.AspNet.SignalR.Client.Transports; +using System; +using System.Threading.Tasks; namespace HubConnectionManager { diff --git a/HubConnectionManager/Properties/AssemblyInfo.cs b/HubConnectionManager/Properties/AssemblyInfo.cs deleted file mode 100644 index 24e1592..0000000 --- a/HubConnectionManager/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. - -[assembly: AssemblyTitle("HubConnectionManager")] -[assembly: AssemblyDescription("SignalR extension to retry connecting to server on initialization")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("DerekDoes.Net")] -[assembly: AssemblyProduct("HubConnectionManager")] -[assembly: AssemblyCopyright("Copyright © Derek Heiser 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. - -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM - -[assembly: Guid("db7caf69-d410-4624-b392-e28feb7738b7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] - -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] \ No newline at end of file diff --git a/HubConnectionManager/app.config b/HubConnectionManager/app.config deleted file mode 100644 index 1be1586..0000000 --- a/HubConnectionManager/app.config +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/HubConnectionManager/packages.config b/HubConnectionManager/packages.config deleted file mode 100644 index bd7af94..0000000 --- a/HubConnectionManager/packages.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/SignalR.Client/App.config b/SignalR.Client/App.config index a1a455a..531bc16 100644 --- a/SignalR.Client/App.config +++ b/SignalR.Client/App.config @@ -1,21 +1,13 @@  - - - + + + - - - - - - - - - + diff --git a/SignalR.Client/SignalR.Client.csproj b/SignalR.Client/SignalR.Client.csproj index 37b3c9f..bdb53f8 100644 --- a/SignalR.Client/SignalR.Client.csproj +++ b/SignalR.Client/SignalR.Client.csproj @@ -9,7 +9,7 @@ Properties HubConnectionManager.SignalR.Client SignalR.Client - v4.0 + v4.7.2 512 ..\ @@ -24,6 +24,7 @@ DEBUG;TRACE prompt 4 + false AnyCPU @@ -33,6 +34,7 @@ TRACE prompt 4 + false true @@ -42,6 +44,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false bin\x86\Release\ @@ -51,23 +54,14 @@ x86 prompt MinimumRecommendedRules.ruleset + false - - ..\packages\Microsoft.AspNet.SignalR.Client.2.1.1\lib\net40\Microsoft.AspNet.SignalR.Client.dll + + ..\packages\Microsoft.AspNet.SignalR.Client.2.4.1\lib\net45\Microsoft.AspNet.SignalR.Client.dll - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - - False - ..\packages\Newtonsoft.Json.6.0.4\lib\net40\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll @@ -75,6 +69,8 @@ ..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.IO.dll + + ..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Runtime.dll @@ -102,11 +98,6 @@ - - - - - diff --git a/SignalR.Client/packages.config b/SignalR.Client/packages.config index f974e2b..952d3cd 100644 --- a/SignalR.Client/packages.config +++ b/SignalR.Client/packages.config @@ -1,8 +1,5 @@  - - - - - + + \ No newline at end of file diff --git a/SignalR.Server/App.config b/SignalR.Server/App.config index 6b941cc..ccfc543 100644 --- a/SignalR.Server/App.config +++ b/SignalR.Server/App.config @@ -1,26 +1,26 @@  - + - + - + - + - + - \ No newline at end of file + diff --git a/SignalR.Server/SignalR.Server.csproj b/SignalR.Server/SignalR.Server.csproj index 70a9535..360d0be 100644 --- a/SignalR.Server/SignalR.Server.csproj +++ b/SignalR.Server/SignalR.Server.csproj @@ -9,10 +9,11 @@ Properties HubConnectionManager.SignalR.Server SignalR.Server - v4.5 + v4.7.2 512 ..\ true + AnyCPU @@ -54,43 +55,38 @@ true - - ..\packages\Microsoft.AspNet.SignalR.Core.2.1.1\lib\net45\Microsoft.AspNet.SignalR.Core.dll + + ..\packages\Microsoft.AspNet.SignalR.Core.2.4.1\lib\net45\Microsoft.AspNet.SignalR.Core.dll - - ..\packages\Microsoft.Owin.3.0.0\lib\net45\Microsoft.Owin.dll + + ..\packages\Microsoft.Owin.4.1.0\lib\net45\Microsoft.Owin.dll - - ..\packages\Microsoft.Owin.Cors.3.0.0\lib\net45\Microsoft.Owin.Cors.dll + + ..\packages\Microsoft.Owin.Cors.4.1.0\lib\net45\Microsoft.Owin.Cors.dll - - False - ..\packages\Microsoft.Owin.Diagnostics.3.0.0\lib\net45\Microsoft.Owin.Diagnostics.dll + + ..\packages\Microsoft.Owin.Diagnostics.4.1.0\lib\net45\Microsoft.Owin.Diagnostics.dll - - False - ..\packages\Microsoft.Owin.Host.HttpListener.3.0.0\lib\net45\Microsoft.Owin.Host.HttpListener.dll + + ..\packages\Microsoft.Owin.Host.HttpListener.4.1.0\lib\net45\Microsoft.Owin.Host.HttpListener.dll - - False - ..\packages\Microsoft.Owin.Hosting.3.0.0\lib\net45\Microsoft.Owin.Hosting.dll + + ..\packages\Microsoft.Owin.Hosting.4.1.0\lib\net45\Microsoft.Owin.Hosting.dll - - False - ..\packages\Microsoft.Owin.Security.3.0.0\lib\net45\Microsoft.Owin.Security.dll + + ..\packages\Microsoft.Owin.Security.4.1.0\lib\net45\Microsoft.Owin.Security.dll - - False - ..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll ..\packages\Owin.1.0\lib\net40\Owin.dll - - False - ..\packages\Microsoft.AspNet.Cors.5.2.2\lib\net45\System.Web.Cors.dll + + + ..\packages\Microsoft.AspNet.Cors.5.2.7\lib\net45\System.Web.Cors.dll diff --git a/SignalR.Server/packages.config b/SignalR.Server/packages.config index 9c6592e..b5c9181 100644 --- a/SignalR.Server/packages.config +++ b/SignalR.Server/packages.config @@ -1,15 +1,15 @@  - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/Microsoft.AspNet.Cors.5.2.2/Microsoft.AspNet.Cors.5.2.2.nupkg b/packages/Microsoft.AspNet.Cors.5.2.2/Microsoft.AspNet.Cors.5.2.2.nupkg deleted file mode 100644 index 10c67ee..0000000 Binary files a/packages/Microsoft.AspNet.Cors.5.2.2/Microsoft.AspNet.Cors.5.2.2.nupkg and /dev/null differ diff --git a/packages/Microsoft.AspNet.Cors.5.2.2/lib/net45/System.Web.Cors.dll b/packages/Microsoft.AspNet.Cors.5.2.2/lib/net45/System.Web.Cors.dll deleted file mode 100644 index 96a1f18..0000000 Binary files a/packages/Microsoft.AspNet.Cors.5.2.2/lib/net45/System.Web.Cors.dll and /dev/null differ diff --git a/packages/Microsoft.AspNet.Cors.5.2.7/.signature.p7s b/packages/Microsoft.AspNet.Cors.5.2.7/.signature.p7s new file mode 100644 index 0000000..1a4b625 Binary files /dev/null and b/packages/Microsoft.AspNet.Cors.5.2.7/.signature.p7s differ diff --git a/packages/Microsoft.AspNet.Cors.5.2.7/lib/net45/System.Web.Cors.dll b/packages/Microsoft.AspNet.Cors.5.2.7/lib/net45/System.Web.Cors.dll new file mode 100644 index 0000000..1b2a95e Binary files /dev/null and b/packages/Microsoft.AspNet.Cors.5.2.7/lib/net45/System.Web.Cors.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/Microsoft.AspNet.SignalR.Client.2.1.1.nupkg b/packages/Microsoft.AspNet.SignalR.Client.2.1.1/Microsoft.AspNet.SignalR.Client.2.1.1.nupkg deleted file mode 100644 index 7e065ad..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/Microsoft.AspNet.SignalR.Client.2.1.1.nupkg and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll deleted file mode 100644 index fadb5db..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll deleted file mode 100644 index d8393ad..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.dll deleted file mode 100644 index c8edc21..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.dll and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/.signature.p7s b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/.signature.p7s new file mode 100644 index 0000000..d915120 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/.signature.p7s differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll new file mode 100644 index 0000000..6f06cce Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.pdb b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.pdb new file mode 100644 index 0000000..3ee729a Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.pdb differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.XML b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.xml similarity index 95% rename from packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.XML rename to packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.xml index d612862..3250638 100644 --- a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net40/Microsoft.AspNet.SignalR.Client.XML +++ b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net40/Microsoft.AspNet.SignalR.Client.xml @@ -4,132 +4,11 @@ Microsoft.AspNet.SignalR.Client - - - Helper class to manage disposing a resource at an arbirtary time - - Provides client connections for SignalR services. - - - Gets of sets proxy information for the connection. - - - - - Initializes a new instance of the class. - - The url to connect to. - - - - Initializes a new instance of the class. - - The url to connect to. - The query string data to pass to the server. - - - - Initializes a new instance of the class. - - The url to connect to. - The query string data to pass to the server. - - - - Starts the . - - A task that represents when the connection has started. - - - - Starts the . - - The http client - A task that represents when the connection has started. - - - - Starts the . - - The transport to use. - A task that represents when the connection has started. - - - - Stops the and sends an abort message to the server. - - - - - Stops the and sends an abort message to the server. - The error due to which the connection is being stopped. - - - - - Stops the and sends an abort message to the server. - The error due to which the connection is being stopped. - The timeout - - - - - Stops the and sends an abort message to the server. - The timeout - - - - - Stops the without sending an abort message to the server. - This function is called after we receive a disconnect message from the server. - - - - - Sends data asynchronously over the connection. - - The data to send. - A task that represents when the data has been sent. - - - - Sends an object that will be JSON serialized asynchronously over the connection. - - The value to serialize. - A task that represents when the data has been sent. - - - - Adds a client certificate to the request - - Client Certificate - - - - Sets LastMessageAt to the current time - - - - - Sets LastActiveAt to the current time - - - - - Stop the connection, equivalent to calling connection.stop - - - - - Stop the connection, equivalent to calling connection.stop - - Set this to true to perform the dispose, false to do nothing - Occurs when the has received data from the server. @@ -165,12 +44,39 @@ Occurs when the is about to timeout + + + Initializes a new instance of the class. + + The url to connect to. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + The amount of time a transport will wait (while connecting) before failing. This value is modified by adding the server's TransportConnectTimeout configuration value. + + + Gets or sets the amount of time a callback registered with "HubProxy.On" or + "Connection.Received" may run before will be called + warning that a possible deadlock has been detected. + + The amount of time a transport will wait (while connecting) before failing. @@ -263,11 +169,102 @@ Gets the current of the connection. + + + Starts the . + + A task that represents when the connection has started. + + + + Starts the . + + The http client + A task that represents when the connection has started. + + + + Starts the . + + The transport to use. + A task that represents when the connection has started. + + + + Stops the and sends an abort message to the server. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + The timeout + + + + + Stops the and sends an abort message to the server. + The timeout + + + + + Stops the without sending an abort message to the server. + This function is called after we receive a disconnect message from the server. + + + + + Sends data asynchronously over the connection. + + The data to send. + A task that represents when the data has been sent. + + + + Sends an object that will be JSON serialized asynchronously over the connection. + + The value to serialize. + A task that represents when the data has been sent. + + + + Adds a client certificate to the request + + Client Certificate + + + + Sets LastMessageAt to the current time + + + + + Sets LastActiveAt to the current time + + Default text writer + + + Stop the connection, equivalent to calling connection.stop + + + + + Stop the connection, equivalent to calling connection.stop + + Set this to true to perform the dispose, false to do nothing + Initializes a new instance of the HeartBeatMonitor Class @@ -303,11 +300,6 @@ - - - The default implementation. - - A client that can make http request. @@ -338,34 +330,19 @@ Indicates whether it is a long running request A . - - - Makes an asynchronous http GET request to the specified url. - - The url to send the request to. - A callback that initializes the request with default values. - Indicates whether the request is long running - A . - - + - Makes an asynchronous http POST request to the specified url. + The http request - The url to send the request to. - A callback that initializes the request with default values. - form url encoded data. - Indicates whether the request is long running - A . - + - Adds certificates, credentials, proxies and cookies to the request + The user agent for this request. - Request object - + - The http request + The accept header for this request. @@ -379,26 +356,46 @@ request headers - + - The user agent for this request. + The http response. - + - The accept header for this request. + Gets the steam that represents the response body. + - + - The http response. + The default implementation. - + - Gets the steam that represents the response body. + Makes an asynchronous http GET request to the specified url. - + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether the request is long running + A . + + + + Makes an asynchronous http POST request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether the request is long running + A . + + + + Adds certificates, credentials, proxies and cookies to the request + + Request object @@ -527,45 +524,100 @@ Registers for an event with the specified name and callback - The . - The name of the event. - The callback - An that represents this subscription. + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers a event has an . + + The + The name of the event. + An . + + + + The callback identifier + + + + + The progress value + + + + + Represents the result of a hub invocation. + + + + + The callback identifier + + + + + The progress update of the invocation + + + + + The return value of the hub + + + + + Indicates whether the Error is a . + + + + + The error message returned from the hub invocation. + - + - Registers for an event with the specified name and callback + Extra error data - The . - The name of the event. - The callback - An that represents this subscription. - + - Registers for an event with the specified name and callback + The caller state from this hub. - The . - The name of the event. - The callback - An that represents this subscription. - + - Registers a event has an . + implementation of a hub event. - The - The name of the event. - An . - + - The callback identifier + Represents a subscription to a hub method. - + - The progress value + Gets of sets proxy information for the connection. @@ -573,6 +625,13 @@ A client side proxy for a server side hub. + + + Gets or sets state on the hub. + + The name of the field. + The value of the field + Executes a method on the server side hub asynchronously. @@ -617,74 +676,27 @@ The name of the event A . - - - Gets or sets state on the hub. - - The name of the field. - The value of the field - Gets the serializer used by the connection. - - - Represents the result of a hub invocation. - - - - - The callback identifier - - - - - The progress update of the invocation - - - - - The return value of the hub - - - - - Indicates whether the Error is a . - - - - - The error message returned from the hub invocation. - - - - - Extra error data - - - - - The caller state from this hub. - - - + - implementation of a hub event. + Simplifies error recognition by unwrapping complex exceptions. + The thrown exception. + An unwrapped exception in the form of a SignalRError. - + - Represents a subscription to a hub method. + Dispose off the timer - + - Simplifies error recognition by unwrapping complex exceptions. + Allows for thread safe invocation of a delegate. - The thrown exception. - An unwrapped exception in the form of a SignalRError. @@ -697,17 +709,6 @@ The exception to unwrap - - - Allow a SignalRError to be directly written to an output stream - - Exception error - - - - Dispose of the response - - The status code of the error (if it was a WebException) @@ -723,19 +724,20 @@ The unwrapped underlying exception - + - Helpers for encoding URI query components. + Allow a SignalRError to be directly written to an output stream + Exception error - + - Class to store all the Keep Alive properties + Dispose of the response - + - Allows for thread safe invocation of a delegate. + Class to store all the Keep Alive properties @@ -794,6 +796,26 @@ Looks up a localized string similar to You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.. + + + Looks up a localized string similar to Uri scheme '{0}' is not valid. The only valid uri schemes are 'http' and 'https'.. + + + + + Looks up a localized string similar to Negotiate redirection limit exceeded.. + + + + + Looks up a localized string similar to Possible deadlock detected. A callback registered with "HubProxy.On" or "Connection.Received" has been executing for at least {0} seconds.. + + + + + Looks up a localized string similar to The ProcessResponse method cannot be called before the transport is started.. + + Looks up a localized string similar to A HubProxy cannot be added after the connection has been started.. @@ -824,6 +846,11 @@ Looks up a localized string similar to Request failed - task cancelled.. + + + Looks up a localized string similar to The transport instance passed to the Negotiate method has already been used. Use a new transport instance each time you start a new connection.. + + Looks up a localized string similar to Transport failed trying to connect.. @@ -839,6 +866,11 @@ Looks up a localized string similar to Url cannot contain query string directly. Pass query string values in using available overload.. + + + Looks up a localized string similar to Error message received from the server: '{0}'.. + + Looks up a localized string similar to Connection was disconnected before invocation result was received.. @@ -849,173 +881,135 @@ Looks up a localized string similar to Connection started reconnecting before invocation result was received.. - - - Initializes a new instance of the class. - - The stream to read asynchronously payloads from. - - - - Starts the reader. - - - - - Closes the connection and the underlying stream. - - - - - Invoked when the stream is open. - - - - - Invoked when the reader is closed while in the Processing state. - - - - - Invoked when there's a message if received in the stream. - - - - - Starts the Polling Request Handler. - - - + - Aborts the currently active polling request thereby forcing a reconnect. - This will not trigger OnAbort. + Looks up a localized string similar to Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.. - + - Fully stops the Polling Request Handlers. + Represents a change in the connection state. - + - Aborts the currently active polling request, does not stop the Polling Request Handler. + Creates a new stance of . + The old state of the connection. + The new state of the connection. - + - Used to generate the Url that is posted to for the poll. + Gets the old state of the connection. - + - Allows modification of the IRequest parameter before using it in a poll. + Gets the new state of the connection. - + - Sends the string based message to the callback. + Invoked when the stream is open. - + - If the poll errors OnError gets triggered and passes the exception. + Invoked when the reader is closed while in the Processing state. - + - Triggers when the polling request is in flight + Invoked when there's a message if received in the stream. - + - Triggers before a new polling request is attempted. - Passes in an exception if the Poll errored, null otherwise. - Expects the return as a task in order to allow modification of timing for subsequent polls. + Initializes a new instance of the class. + The stream to read asynchronously payloads from. - + - Fired when the current poll request was aborted, passing in the soon to be aborted request. + Starts the reader. - + - Fired when the current poll request receives a keep alive. + Closes the connection and the underlying stream. - + - Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's - server. + Indicates whether or not the active transport supports keep alive - + - Initializes a new instance of the class. + Gets transport name. - The connection associated with this event source - The stream to read event source payloads from. - + - Invoked when there's a message if received in the stream. + The time to wait after a connection drops to try reconnecting. - + - Represents a change in the connection state. + The time to wait after an error happens to continue polling. - + - Creates a new stance of . + Indicates whether or not the transport supports keep alive - The old state of the connection. - The new state of the connection. - + - Gets the old state of the connection. + Starts the polling loop. - + - Gets the new state of the connection. + Fully stops the polling loop. - + - Indicates whether or not the active transport supports keep alive + Aborts the currently active polling request thereby forcing a reconnect. - + Indicates whether or not the transport supports keep alive - + The time to wait after a connection drops to try reconnecting. - + - The time to wait after an error happens to continue polling. + Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's + server. - + - Indicates whether or not the transport supports keep alive + Invoked when there's a message if received in the stream. - + - Indicates whether or not the transport supports keep alive + Initializes a new instance of the class. + The connection associated with this event source + The stream to read event source payloads from. - + - The time to wait after a connection drops to try reconnecting. + Helpers for encoding URI query components. diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll new file mode 100644 index 0000000..0721a3d Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.pdb b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.pdb new file mode 100644 index 0000000..7302991 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.pdb differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.XML b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.xml similarity index 94% rename from packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.XML rename to packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.xml index 740d258..910ba51 100644 --- a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Client.XML +++ b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Client.xml @@ -9,122 +9,6 @@ Provides client connections for SignalR services. - - - Gets of sets proxy information for the connection. - - - - - Initializes a new instance of the class. - - The url to connect to. - - - - Initializes a new instance of the class. - - The url to connect to. - The query string data to pass to the server. - - - - Initializes a new instance of the class. - - The url to connect to. - The query string data to pass to the server. - - - - Starts the . - - A task that represents when the connection has started. - - - - Starts the . - - The http client - A task that represents when the connection has started. - - - - Starts the . - - The transport to use. - A task that represents when the connection has started. - - - - Stops the and sends an abort message to the server. - - - - - Stops the and sends an abort message to the server. - The error due to which the connection is being stopped. - - - - - Stops the and sends an abort message to the server. - The error due to which the connection is being stopped. - The timeout - - - - - Stops the and sends an abort message to the server. - The timeout - - - - - Stops the without sending an abort message to the server. - This function is called after we receive a disconnect message from the server. - - - - - Sends data asynchronously over the connection. - - The data to send. - A task that represents when the data has been sent. - - - - Sends an object that will be JSON serialized asynchronously over the connection. - - The value to serialize. - A task that represents when the data has been sent. - - - - Adds a client certificate to the request - - Client Certificate - - - - Sets LastMessageAt to the current time - - - - - Sets LastActiveAt to the current time - - - - - Stop the connection, equivalent to calling connection.stop - - - - - Stop the connection, equivalent to calling connection.stop - - Set this to true to perform the dispose, false to do nothing - Occurs when the has received data from the server. @@ -160,12 +44,39 @@ Occurs when the is about to timeout + + + Initializes a new instance of the class. + + The url to connect to. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + The amount of time a transport will wait (while connecting) before failing. This value is modified by adding the server's TransportConnectTimeout configuration value. + + + Gets or sets the amount of time a callback registered with "HubProxy.On" or + "Connection.Received" may run before will be called + warning that a possible deadlock has been detected. + + The amount of time a transport will wait (while connecting) before failing. @@ -258,11 +169,102 @@ Gets the current of the connection. + + + Starts the . + + A task that represents when the connection has started. + + + + Starts the . + + The http client + A task that represents when the connection has started. + + + + Starts the . + + The transport to use. + A task that represents when the connection has started. + + + + Stops the and sends an abort message to the server. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + The timeout + + + + + Stops the and sends an abort message to the server. + The timeout + + + + + Stops the without sending an abort message to the server. + This function is called after we receive a disconnect message from the server. + + + + + Sends data asynchronously over the connection. + + The data to send. + A task that represents when the data has been sent. + + + + Sends an object that will be JSON serialized asynchronously over the connection. + + The value to serialize. + A task that represents when the data has been sent. + + + + Adds a client certificate to the request + + Client Certificate + + + + Sets LastMessageAt to the current time + + + + + Sets LastActiveAt to the current time + + Default text writer + + + Stop the connection, equivalent to calling connection.stop + + + + + Stop the connection, equivalent to calling connection.stop + + Set this to true to perform the dispose, false to do nothing + Initializes a new instance of the HeartBeatMonitor Class @@ -298,6 +300,43 @@ + + + The default implementation. + + + + + Initialize the Http Clients + + Connection + + + + Makes an asynchronous http GET request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether the request is long running + A . + + + + Makes an asynchronous http POST request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether the request is long running + A . + + + + Returns the appropriate client based on whether it is a long running request + + Indicates whether the request is long running + + A client that can make http request. @@ -333,26 +372,26 @@ The http request - + - Aborts the request. + The user agent for this request. - + - Set Request Headers + The accept header for this request. - request headers - + - The user agent for this request. + Aborts the request. - + - The accept header for this request. + Set Request Headers + request headers @@ -520,78 +559,17 @@ Registers a event has an . The - The name of the event. - An . - - - - The callback identifier - - - - - The progress value - - - - - A client side proxy for a server side hub. - - - - - Executes a method on the server side hub asynchronously. - - The name of the method. - The arguments - A task that represents when invocation returned. - - - - Executes a method on the server side hub asynchronously. - - The type of result returned from the hub. - The name of the method. - The arguments - A task that represents when invocation returned. - - - - Executes a method on the server side hub asynchronously with progress updates. - - The name of the method. - The callback to invoke when progress updates are received. - The arguments - A task that represents when invocation returned. - - - - Executes a method on the server side hub asynchronously with progress updates. - - The type of result returned from the hub. - The type of progress update value. - The name of the method. - The callback to invoke when progress updates are received. - The arguments - A task that represents when invocation returned. - - - - Registers an event for the hub. - - The name of the event - A . + The name of the event. + An . - + - Gets or sets state on the hub. + The callback identifier - The name of the field. - The value of the field - + - Gets the serializer used by the connection. + The progress value @@ -644,157 +622,129 @@ Represents a subscription to a hub method. - - - Simplifies error recognition by unwrapping complex exceptions. - - The thrown exception. - An unwrapped exception in the form of a SignalRError. - - - - Represents errors that are thrown by the SignalR client - - - - - Create custom SignalR based error. - - The exception to unwrap - - - - Allow a SignalRError to be directly written to an output stream - - Exception error - - - - Dispose of the response - - - - - The status code of the error (if it was a WebException) - - - - - The response body of the error, if it was a WebException and the response is readable - - - - - The unwrapped underlying exception - - - - - Class to store all the Keep Alive properties - - - + - Initializes a new instance of the class. + Gets of sets proxy information for the connection. - The stream to read asynchronously payloads from. - + - Starts the reader. + A client side proxy for a server side hub. - + - Closes the connection and the underlying stream. + Gets or sets state on the hub. + The name of the field. + The value of the field - + - Invoked when the stream is open. + Executes a method on the server side hub asynchronously. + The name of the method. + The arguments + A task that represents when invocation returned. - + - Invoked when the reader is closed while in the Processing state. + Executes a method on the server side hub asynchronously. + The type of result returned from the hub. + The name of the method. + The arguments + A task that represents when invocation returned. - + - Invoked when there's a message if received in the stream. + Executes a method on the server side hub asynchronously with progress updates. + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. - + - Starts the Polling Request Handler. + Executes a method on the server side hub asynchronously with progress updates. + The type of result returned from the hub. + The type of progress update value. + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. - + - Aborts the currently active polling request thereby forcing a reconnect. - This will not trigger OnAbort. + Registers an event for the hub. + The name of the event + A . - + - Fully stops the Polling Request Handlers. + Gets the serializer used by the connection. - + - Aborts the currently active polling request, does not stop the Polling Request Handler. + Simplifies error recognition by unwrapping complex exceptions. + The thrown exception. + An unwrapped exception in the form of a SignalRError. - + - Used to generate the Url that is posted to for the poll. + Dispose off the timer - + - Allows modification of the IRequest parameter before using it in a poll. + Allows for thread safe invocation of a delegate. - + - Sends the string based message to the callback. + Represents errors that are thrown by the SignalR client - + - If the poll errors OnError gets triggered and passes the exception. + Create custom SignalR based error. + The exception to unwrap - + - Triggers when the polling request is in flight + The status code of the error (if it was a WebException) - + - Triggers before a new polling request is attempted. - Passes in an exception if the Poll errored, null otherwise. - Expects the return as a task in order to allow modification of timing for subsequent polls. + The response body of the error, if it was a WebException and the response is readable - + - Fired when the current poll request was aborted, passing in the soon to be aborted request. + The unwrapped underlying exception - + - Fired when the current poll request receives a keep alive. + Allow a SignalRError to be directly written to an output stream + Exception error - + - Helper class to manage disposing a resource at an arbirtary time + Dispose of the response - + - Allows for thread safe invocation of a delegate. + Class to store all the Keep Alive properties @@ -853,6 +803,26 @@ Looks up a localized string similar to You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.. + + + Looks up a localized string similar to Uri scheme '{0}' is not valid. The only valid uri schemes are 'http' and 'https'.. + + + + + Looks up a localized string similar to Negotiate redirection limit exceeded.. + + + + + Looks up a localized string similar to Possible deadlock detected. A callback registered with "HubProxy.On" or "Connection.Received" has been executing for at least {0} seconds.. + + + + + Looks up a localized string similar to The ProcessResponse method cannot be called before the transport is started.. + + Looks up a localized string similar to A HubProxy cannot be added after the connection has been started.. @@ -883,6 +853,11 @@ Looks up a localized string similar to Request failed - task cancelled.. + + + Looks up a localized string similar to The transport instance passed to the Negotiate method has already been used. Use a new transport instance each time you start a new connection.. + + Looks up a localized string similar to Transport failed trying to connect.. @@ -898,6 +873,11 @@ Looks up a localized string similar to Url cannot contain query string directly. Pass query string values in using available overload.. + + + Looks up a localized string similar to Error message received from the server: '{0}'.. + + Looks up a localized string similar to Connection was disconnected before invocation result was received.. @@ -908,6 +888,11 @@ Looks up a localized string similar to Connection started reconnecting before invocation result was received.. + + + Looks up a localized string similar to Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.. + + Represents a change in the connection state. @@ -930,14 +915,45 @@ Gets the new state of the connection. + + + Invoked when the stream is open. + + + + + Invoked when the reader is closed while in the Processing state. + + + + + Invoked when there's a message if received in the stream. + + + + + Initializes a new instance of the class. + + The stream to read asynchronously payloads from. + + + + Starts the reader. + + + + + Closes the connection and the underlying stream. + + Indicates whether or not the active transport supports keep alive - + - Indicates whether or not the transport supports keep alive + Gets transport name. @@ -955,70 +971,48 @@ Indicates whether or not the transport supports keep alive - - - Indicates whether or not the transport supports keep alive - - - - - The time to wait after a connection drops to try reconnecting. - - - + - Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's - server. + Starts the polling loop. - + - Initializes a new instance of the class. + Fully stops the polling loop. - The connection associated with this event source - The stream to read event source payloads from. - + - Invoked when there's a message if received in the stream. + Aborts the currently active polling request thereby forcing a reconnect. - + - The default implementation. + Indicates whether or not the transport supports keep alive - + - Initialize the Http Clients + The time to wait after a connection drops to try reconnecting. - Connection - + - Makes an asynchronous http GET request to the specified url. + Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's + server. - The url to send the request to. - A callback that initializes the request with default values. - Indicates whether the request is long running - A . - + - Makes an asynchronous http POST request to the specified url. + Invoked when there's a message if received in the stream. - The url to send the request to. - A callback that initializes the request with default values. - form url encoded data. - Indicates whether the request is long running - A . - + - Returns the appropriate client based on whether it is a long running request + Initializes a new instance of the class. - Indicates whether the request is long running - + The connection associated with this event source + The stream to read event source payloads from. @@ -1035,9 +1029,14 @@ Indicates whether or not the transport supports keep alive - + + + Helpers for encoding URI query components. + + + - The name of the transport. + Helper class to manage disposing a resource at an arbirtary time diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.dll new file mode 100644 index 0000000..919a238 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.pdb b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.pdb new file mode 100644 index 0000000..be353ee Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.pdb differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.XML b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.xml similarity index 87% rename from packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.XML rename to packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.xml index 3c3d88d..3c2f8cb 100644 --- a/packages/Microsoft.AspNet.SignalR.Client.2.1.1/lib/portable-net45+sl5+netcore45+wp8+wp81+wpa81/Microsoft.AspNet.SignalR.Client.XML +++ b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard1.3/Microsoft.AspNet.SignalR.Client.xml @@ -4,134 +4,170 @@ Microsoft.AspNet.SignalR.Client - + - The default implementation. + Provides client connections for SignalR services. - + - A client that can make http request. + Occurs when the has received data from the server. - + - Initializes the Http Clients + Occurs when the has encountered an error. - Connection - + - Makes an asynchronous http GET request to the specified url. + Occurs when the is stopped. - The url to send the request to. - A callback that initializes the request with default values. - Indicates whether it is a long running request - A . - + - Makes an asynchronous http POST request to the specified url. + Occurs when the starts reconnecting after an error. - The url to send the request to. - A callback that initializes the request with default values. - form url encoded data. - Indicates whether it is a long running request - A . - + - Initialize the Http Clients + Occurs when the successfully reconnects after a timeout. - Connection - + - Makes an asynchronous http GET request to the specified url. + Occurs when the state changes. - The url to send the request to. - A callback that initializes the request with default values. - Indicates whether the request is long running - A . - + - Makes an asynchronous http POST request to the specified url. + Occurs when the is about to timeout - The url to send the request to. - A callback that initializes the request with default values. - form url encoded data. - Indicates whether the request is long running - A . - + - Returns the appropriate client based on whether it is a long running request + Initializes a new instance of the class. - Indicates whether the request is long running - + The url to connect to. - + - The http request + Initializes a new instance of the class. + The url to connect to. + The query string data to pass to the server. - + - Aborts the request. + Initializes a new instance of the class. + The url to connect to. + The query string data to pass to the server. - + - Set Request Headers + The amount of time a transport will wait (while connecting) before failing. + This value is modified by adding the server's TransportConnectTimeout configuration value. - request headers - + - The user agent for this request. + Gets or sets the amount of time a callback registered with "HubProxy.On" or + "Connection.Received" may run before will be called + warning that a possible deadlock has been detected. - + - The accept header for this request. + The amount of time a transport will wait (while connecting) before failing. + This is the total vaue obtained by adding the server's configuration value and the timeout specified by the user - + - The http response. + Gets the last error encountered by the . - + - Gets the steam that represents the response body. + The maximum amount of time a connection will allow to try and reconnect. + This value is equivalent to the summation of the servers disconnect and keep alive timeout values. - - + - Provides client connections for SignalR services. + Object to store the various keep alive timeout values - + - Initializes a new instance of the class. + The timestamp of the last message received by the connection. - The url to connect to. - + - Initializes a new instance of the class. + Gets or sets the serializer used by the connection - The url to connect to. - The query string data to pass to the server. - + - Initializes a new instance of the class. + Gets or sets the cookies associated with the connection. + + + + + Gets or sets authentication information for the connection. + + + + + Gets and sets headers for the requests + + + + + Gets of sets proxy information for the connection. + + + + + Gets the url for the connection. + + + + + Gets or sets the last message id for the connection. + + + + + Gets or sets the connection id for the connection. + + + + + Gets or sets the connection token for the connection. + + + + + Gets or sets the groups token for the connection. + + + + + Gets a dictionary for storing state for a the connection. + + + + + Gets the querystring specified in the ctor. + + + + + Gets the current of the connection. - The url to connect to. - The query string data to pass to the server. @@ -197,6 +233,12 @@ The value to serialize. A task that represents when the data has been sent. + + + Adds a client certificate to the request + + Client Certificate + Sets LastMessageAt to the current time @@ -207,6 +249,11 @@ Sets LastActiveAt to the current time + + + Default text writer + + Stop the connection, equivalent to calling connection.stop @@ -218,173 +265,144 @@ Set this to true to perform the dispose, false to do nothing - - - Occurs when the has received data from the server. - - - - - Occurs when the has encountered an error. - - - - - Occurs when the is stopped. - - - - - Occurs when the starts reconnecting after an error. - - - - - Occurs when the successfully reconnects after a timeout. - - - - - Occurs when the state changes. - - - - - Occurs when the is about to timeout - - - - - The amount of time a transport will wait (while connecting) before failing. - This value is modified by adding the server's TransportConnectTimeout configuration value. - - - - - The amount of time a transport will wait (while connecting) before failing. - This is the total vaue obtained by adding the server's configuration value and the timeout specified by the user - - - - - Gets the last error encountered by the . - - - + - The maximum amount of time a connection will allow to try and reconnect. - This value is equivalent to the summation of the servers disconnect and keep alive timeout values. + Initializes a new instance of the HeartBeatMonitor Class + + + How often to check connection status - + - Object to store the various keep alive timeout values + Starts the timer that triggers heartbeats - + - The timestamp of the last message received by the connection. + Callback function for the timer which determines if we need to notify the user or attempt to reconnect - + - Gets or sets the serializer used by the connection + Logic to determine if we need to notify the user or attempt to reconnect + - + - Gets or sets the cookies associated with the connection. + Dispose off the timer - + - Gets or sets authentication information for the connection. + Dispose off the timer + - + - Gets and sets headers for the requests + The default implementation. - + - Gets the url for the connection. + Initialize the Http Clients + Connection - + - Gets or sets the last message id for the connection. + Makes an asynchronous http GET request to the specified url. + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether the request is long running + A . - + - Gets or sets the connection id for the connection. + Makes an asynchronous http POST request to the specified url. + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether the request is long running + A . - + - Gets or sets the connection token for the connection. + Returns the appropriate client based on whether it is a long running request + Indicates whether the request is long running + - + - Gets or sets the groups token for the connection. + A client that can make http request. - + - Gets a dictionary for storing state for a the connection. + Initializes the Http Clients + Connection - + - Gets the querystring specified in the ctor. + Makes an asynchronous http GET request to the specified url. + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether it is a long running request + A . - + - Gets the current of the connection. + Makes an asynchronous http POST request to the specified url. + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether it is a long running request + A . - + - Default text writer + The http request - + - Initializes a new instance of the HeartBeatMonitor Class + The user agent for this request. - - - How often to check connection status - + - Starts the timer that triggers heartbeats + The accept header for this request. - + - Callback function for the timer which determines if we need to notify the user or attempt to reconnect + Aborts the request. - + - Logic to determine if we need to notify the user or attempt to reconnect + Set Request Headers - + request headers - + - Dispose off the timer + The http response. - + - Dispose off the timer + Gets the steam that represents the response body. - + @@ -500,75 +518,58 @@ The callback An that represents this subscription. - - - The callback identifier - - - - - The progress value - - - - - A client side proxy for a server side hub. - - - + - Executes a method on the server side hub asynchronously. + Registers for an event with the specified name and callback - The name of the method. - The arguments - A task that represents when invocation returned. + The . + The name of the event. + The callback + An that represents this subscription. - + - Executes a method on the server side hub asynchronously. + Registers for an event with the specified name and callback - The type of result returned from the hub. - The name of the method. - The arguments - A task that represents when invocation returned. + The . + The name of the event. + The callback + An that represents this subscription. - + - Executes a method on the server side hub asynchronously with progress updates. + Registers for an event with the specified name and callback - The name of the method. - The callback to invoke when progress updates are received. - The arguments - A task that represents when invocation returned. + The . + The name of the event. + The callback + An that represents this subscription. - + - Executes a method on the server side hub asynchronously with progress updates. + Registers for an event with the specified name and callback - The type of result returned from the hub. - The type of progress update value. - The name of the method. - The callback to invoke when progress updates are received. - The arguments - A task that represents when invocation returned. + The . + The name of the event. + The callback + An that represents this subscription. - + - Registers an event for the hub. + Registers a event has an . - The name of the event - A . + The + The name of the event. + An . - + - Gets or sets state on the hub. + The callback identifier - The name of the field. - The value of the field - + - Gets the serializer used by the connection. + The progress value @@ -611,11 +612,82 @@ The caller state from this hub. + + + implementation of a hub event. + + Represents a subscription to a hub method. + + + Gets of sets proxy information for the connection. + + + + + A client side proxy for a server side hub. + + + + + Gets or sets state on the hub. + + The name of the field. + The value of the field + + + + Executes a method on the server side hub asynchronously. + + The name of the method. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously. + + The type of result returned from the hub. + The name of the method. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously with progress updates. + + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously with progress updates. + + The type of result returned from the hub. + The type of progress update value. + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. + + + + Registers an event for the hub. + + The name of the event + A . + + + + Gets the serializer used by the connection. + + Simplifies error recognition by unwrapping complex exceptions. @@ -623,27 +695,26 @@ The thrown exception. An unwrapped exception in the form of a SignalRError. - + - Represents errors that are thrown by the SignalR client + Dispose off the timer - + - Create custom SignalR based error. + Allows for thread safe invocation of a delegate. - The exception to unwrap - + - Allow a SignalRError to be directly written to an output stream + Represents errors that are thrown by the SignalR client - Exception error - + - Dispose of the response + Create custom SignalR based error. + The exception to unwrap @@ -660,9 +731,15 @@ The unwrapped underlying exception - + - Allows for thread safe invocation of a delegate. + Allow a SignalRError to be directly written to an output stream + + Exception error + + + + Dispose of the response @@ -726,6 +803,26 @@ Looks up a localized string similar to You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.. + + + Looks up a localized string similar to Uri scheme '{0}' is not valid. The only valid uri schemes are 'http' and 'https'.. + + + + + Looks up a localized string similar to Negotiate redirection limit exceeded.. + + + + + Looks up a localized string similar to Possible deadlock detected. A callback registered with "HubProxy.On" or "Connection.Received" has been executing for at least {0} seconds.. + + + + + Looks up a localized string similar to The ProcessResponse method cannot be called before the transport is started.. + + Looks up a localized string similar to A HubProxy cannot be added after the connection has been started.. @@ -756,6 +853,11 @@ Looks up a localized string similar to Request failed - task cancelled.. + + + Looks up a localized string similar to The transport instance passed to the Negotiate method has already been used. Use a new transport instance each time you start a new connection.. + + Looks up a localized string similar to Transport failed trying to connect.. @@ -771,6 +873,11 @@ Looks up a localized string similar to Url cannot contain query string directly. Pass query string values in using available overload.. + + + Looks up a localized string similar to Error message received from the server: '{0}'.. + + Looks up a localized string similar to Connection was disconnected before invocation result was received.. @@ -781,6 +888,11 @@ Looks up a localized string similar to Connection started reconnecting before invocation result was received.. + + + Looks up a localized string similar to Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.. + + Represents a change in the connection state. @@ -803,35 +915,35 @@ Gets the new state of the connection. - + - Initializes a new instance of the class. + Invoked when the stream is open. - The stream to read asynchronously payloads from. - + - Starts the reader. + Invoked when the reader is closed while in the Processing state. - + - Closes the connection and the underlying stream. + Invoked when there's a message if received in the stream. - + - Invoked when the stream is open. + Initializes a new instance of the class. + The stream to read asynchronously payloads from. - + - Invoked when the reader is closed while in the Processing state. + Starts the reader. - + - Invoked when there's a message if received in the stream. + Closes the connection and the underlying stream. @@ -839,9 +951,9 @@ Indicates whether or not the active transport supports keep alive - + - Indicates whether or not the transport supports keep alive + Gets transport name. @@ -859,67 +971,19 @@ Indicates whether or not the transport supports keep alive - - - Starts the Polling Request Handler. - - - - - Aborts the currently active polling request thereby forcing a reconnect. - This will not trigger OnAbort. - - - - - Fully stops the Polling Request Handlers. - - - - - Aborts the currently active polling request, does not stop the Polling Request Handler. - - - - - Used to generate the Url that is posted to for the poll. - - - - - Allows modification of the IRequest parameter before using it in a poll. - - - - - Sends the string based message to the callback. - - - - - If the poll errors OnError gets triggered and passes the exception. - - - - - Triggers when the polling request is in flight - - - + - Triggers before a new polling request is attempted. - Passes in an exception if the Poll errored, null otherwise. - Expects the return as a task in order to allow modification of timing for subsequent polls. + Starts the polling loop. - + - Fired when the current poll request was aborted, passing in the soon to be aborted request. + Fully stops the polling loop. - + - Fired when the current poll request receives a keep alive. + Aborts the currently active polling request thereby forcing a reconnect. @@ -938,6 +1002,11 @@ server. + + + Invoked when there's a message if received in the stream. + + Initializes a new instance of the class. @@ -945,9 +1014,9 @@ The connection associated with this event source The stream to read event source payloads from. - + - Invoked when there's a message if received in the stream. + Helpers for encoding URI query components. diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.dll b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.dll new file mode 100644 index 0000000..94e829c Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.pdb b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.pdb new file mode 100644 index 0000000..5990fc8 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.pdb differ diff --git a/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.xml b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.xml new file mode 100644 index 0000000..910ba51 --- /dev/null +++ b/packages/Microsoft.AspNet.SignalR.Client.2.4.1/lib/netstandard2.0/Microsoft.AspNet.SignalR.Client.xml @@ -0,0 +1,1043 @@ + + + + Microsoft.AspNet.SignalR.Client + + + + + Provides client connections for SignalR services. + + + + + Occurs when the has received data from the server. + + + + + Occurs when the has encountered an error. + + + + + Occurs when the is stopped. + + + + + Occurs when the starts reconnecting after an error. + + + + + Occurs when the successfully reconnects after a timeout. + + + + + Occurs when the state changes. + + + + + Occurs when the is about to timeout + + + + + Initializes a new instance of the class. + + The url to connect to. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + The amount of time a transport will wait (while connecting) before failing. + This value is modified by adding the server's TransportConnectTimeout configuration value. + + + + + Gets or sets the amount of time a callback registered with "HubProxy.On" or + "Connection.Received" may run before will be called + warning that a possible deadlock has been detected. + + + + + The amount of time a transport will wait (while connecting) before failing. + This is the total vaue obtained by adding the server's configuration value and the timeout specified by the user + + + + + Gets the last error encountered by the . + + + + + The maximum amount of time a connection will allow to try and reconnect. + This value is equivalent to the summation of the servers disconnect and keep alive timeout values. + + + + + Object to store the various keep alive timeout values + + + + + The timestamp of the last message received by the connection. + + + + + Gets or sets the serializer used by the connection + + + + + Gets or sets the cookies associated with the connection. + + + + + Gets or sets authentication information for the connection. + + + + + Gets and sets headers for the requests + + + + + Gets of sets proxy information for the connection. + + + + + Gets the url for the connection. + + + + + Gets or sets the last message id for the connection. + + + + + Gets or sets the connection id for the connection. + + + + + Gets or sets the connection token for the connection. + + + + + Gets or sets the groups token for the connection. + + + + + Gets a dictionary for storing state for a the connection. + + + + + Gets the querystring specified in the ctor. + + + + + Gets the current of the connection. + + + + + Starts the . + + A task that represents when the connection has started. + + + + Starts the . + + The http client + A task that represents when the connection has started. + + + + Starts the . + + The transport to use. + A task that represents when the connection has started. + + + + Stops the and sends an abort message to the server. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + + + + + Stops the and sends an abort message to the server. + The error due to which the connection is being stopped. + The timeout + + + + + Stops the and sends an abort message to the server. + The timeout + + + + + Stops the without sending an abort message to the server. + This function is called after we receive a disconnect message from the server. + + + + + Sends data asynchronously over the connection. + + The data to send. + A task that represents when the data has been sent. + + + + Sends an object that will be JSON serialized asynchronously over the connection. + + The value to serialize. + A task that represents when the data has been sent. + + + + Adds a client certificate to the request + + Client Certificate + + + + Sets LastMessageAt to the current time + + + + + Sets LastActiveAt to the current time + + + + + Default text writer + + + + + Stop the connection, equivalent to calling connection.stop + + + + + Stop the connection, equivalent to calling connection.stop + + Set this to true to perform the dispose, false to do nothing + + + + Initializes a new instance of the HeartBeatMonitor Class + + + + How often to check connection status + + + + Starts the timer that triggers heartbeats + + + + + Callback function for the timer which determines if we need to notify the user or attempt to reconnect + + + + + Logic to determine if we need to notify the user or attempt to reconnect + + + + + + Dispose off the timer + + + + + Dispose off the timer + + + + + + The default implementation. + + + + + Initialize the Http Clients + + Connection + + + + Makes an asynchronous http GET request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether the request is long running + A . + + + + Makes an asynchronous http POST request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether the request is long running + A . + + + + Returns the appropriate client based on whether it is a long running request + + Indicates whether the request is long running + + + + + A client that can make http request. + + + + + Initializes the Http Clients + + Connection + + + + Makes an asynchronous http GET request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + Indicates whether it is a long running request + A . + + + + Makes an asynchronous http POST request to the specified url. + + The url to send the request to. + A callback that initializes the request with default values. + form url encoded data. + Indicates whether it is a long running request + A . + + + + The http request + + + + + The user agent for this request. + + + + + The accept header for this request. + + + + + Aborts the request. + + + + + Set Request Headers + + request headers + + + + The http response. + + + + + Gets the steam that represents the response body. + + + + + + A for interacting with Hubs. + + + + + Initializes a new instance of the class. + + The url to connect to. + + + + Initializes a new instance of the class. + + The url to connect to. + Determines if the default "/signalr" path should be appended to the specified url. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + Determines if the default "/signalr" path should be appended to the specified url. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + + + + Initializes a new instance of the class. + + The url to connect to. + The query string data to pass to the server. + Determines if the default "/signalr" path should be appended to the specified url. + + + + Creates an for the hub with the specified name. + + The name of the hub. + A + + + + Extensions to the . + + + + + Gets the value of a state variable. + + The type of the state variable + The . + The name of the state variable. + The value of the state variable. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers for an event with the specified name and callback + + The . + The name of the event. + The callback + An that represents this subscription. + + + + Registers a event has an . + + The + The name of the event. + An . + + + + The callback identifier + + + + + The progress value + + + + + Represents the result of a hub invocation. + + + + + The callback identifier + + + + + The progress update of the invocation + + + + + The return value of the hub + + + + + Indicates whether the Error is a . + + + + + The error message returned from the hub invocation. + + + + + Extra error data + + + + + The caller state from this hub. + + + + + implementation of a hub event. + + + + + Represents a subscription to a hub method. + + + + + Gets of sets proxy information for the connection. + + + + + A client side proxy for a server side hub. + + + + + Gets or sets state on the hub. + + The name of the field. + The value of the field + + + + Executes a method on the server side hub asynchronously. + + The name of the method. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously. + + The type of result returned from the hub. + The name of the method. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously with progress updates. + + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. + + + + Executes a method on the server side hub asynchronously with progress updates. + + The type of result returned from the hub. + The type of progress update value. + The name of the method. + The callback to invoke when progress updates are received. + The arguments + A task that represents when invocation returned. + + + + Registers an event for the hub. + + The name of the event + A . + + + + Gets the serializer used by the connection. + + + + + Simplifies error recognition by unwrapping complex exceptions. + + The thrown exception. + An unwrapped exception in the form of a SignalRError. + + + + Dispose off the timer + + + + + Allows for thread safe invocation of a delegate. + + + + + Represents errors that are thrown by the SignalR client + + + + + Create custom SignalR based error. + + The exception to unwrap + + + + The status code of the error (if it was a WebException) + + + + + The response body of the error, if it was a WebException and the response is readable + + + + + The unwrapped underlying exception + + + + + Allow a SignalRError to be directly written to an output stream + + Exception error + + + + Dispose of the response + + + + + Class to store all the Keep Alive properties + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Client Certificates cannot be added after the connection has started.. + + + + + Looks up a localized string similar to A client callback for event {0} with {1} argument(s) was found, however an error occurred because {2}. + + + + + Looks up a localized string similar to A client callback for event {0} with {1} argument(s) could not be found. + + + + + Looks up a localized string similar to The connection was stopped before it could be started.. + + + + + Looks up a localized string similar to The connection has not been established.. + + + + + Looks up a localized string similar to Data cannot be sent because the connection is in the disconnected state. Call start before sending any data.. + + + + + Looks up a localized string similar to Data cannot be sent because the WebSocket connection is reconnecting.. + + + + + Looks up a localized string similar to You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.. + + + + + Looks up a localized string similar to Uri scheme '{0}' is not valid. The only valid uri schemes are 'http' and 'https'.. + + + + + Looks up a localized string similar to Negotiate redirection limit exceeded.. + + + + + Looks up a localized string similar to Possible deadlock detected. A callback registered with "HubProxy.On" or "Connection.Received" has been executing for at least {0} seconds.. + + + + + Looks up a localized string similar to The ProcessResponse method cannot be called before the transport is started.. + + + + + Looks up a localized string similar to A HubProxy cannot be added after the connection has been started.. + + + + + Looks up a localized string similar to Couldn't reconnect within the configured timeout of {0}, disconnecting.. + + + + + Looks up a localized string similar to The client has been inactive since {0} and it has exceeded the inactivity timeout of {1}. Stopping the connection.. + + + + + Looks up a localized string similar to Server negotiation failed.. + + + + + Looks up a localized string similar to Error during start request. Stopping the connection.. + + + + + Looks up a localized string similar to Request failed - task cancelled.. + + + + + Looks up a localized string similar to The transport instance passed to the Negotiate method has already been used. Use a new transport instance each time you start a new connection.. + + + + + Looks up a localized string similar to Transport failed trying to connect.. + + + + + Looks up a localized string similar to Transport timed out trying to connect. + + + + + Looks up a localized string similar to Url cannot contain query string directly. Pass query string values in using available overload.. + + + + + Looks up a localized string similar to Error message received from the server: '{0}'.. + + + + + Looks up a localized string similar to Connection was disconnected before invocation result was received.. + + + + + Looks up a localized string similar to Connection started reconnecting before invocation result was received.. + + + + + Looks up a localized string similar to Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.. + + + + + Represents a change in the connection state. + + + + + Creates a new stance of . + + The old state of the connection. + The new state of the connection. + + + + Gets the old state of the connection. + + + + + Gets the new state of the connection. + + + + + Invoked when the stream is open. + + + + + Invoked when the reader is closed while in the Processing state. + + + + + Invoked when there's a message if received in the stream. + + + + + Initializes a new instance of the class. + + The stream to read asynchronously payloads from. + + + + Starts the reader. + + + + + Closes the connection and the underlying stream. + + + + + Indicates whether or not the active transport supports keep alive + + + + + Gets transport name. + + + + + The time to wait after a connection drops to try reconnecting. + + + + + The time to wait after an error happens to continue polling. + + + + + Indicates whether or not the transport supports keep alive + + + + + Starts the polling loop. + + + + + Fully stops the polling loop. + + + + + Aborts the currently active polling request thereby forcing a reconnect. + + + + + Indicates whether or not the transport supports keep alive + + + + + The time to wait after a connection drops to try reconnecting. + + + + + Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's + server. + + + + + Invoked when there's a message if received in the stream. + + + + + Initializes a new instance of the class. + + The connection associated with this event source + The stream to read event source payloads from. + + + + Adds certificates, credentials, proxies and cookies to the request + + + + + The time to wait after a connection drops to try reconnecting. + + + + + Indicates whether or not the transport supports keep alive + + + + + Helpers for encoding URI query components. + + + + + Helper class to manage disposing a resource at an arbirtary time + + + + diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/Microsoft.AspNet.SignalR.Core.2.1.1.nupkg b/packages/Microsoft.AspNet.SignalR.Core.2.1.1/Microsoft.AspNet.SignalR.Core.2.1.1.nupkg deleted file mode 100644 index dec6ad6..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/Microsoft.AspNet.SignalR.Core.2.1.1.nupkg and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll b/packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll deleted file mode 100644 index f06b971..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.4.1/.signature.p7s b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/.signature.p7s new file mode 100644 index 0000000..f57496f Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/.signature.p7s differ diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll new file mode 100644 index 0000000..aa215f7 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.dll differ diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.pdb b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.pdb new file mode 100644 index 0000000..cd74586 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.pdb differ diff --git a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml similarity index 96% rename from packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml rename to packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml index aa5873d..421b848 100644 --- a/packages/Microsoft.AspNet.SignalR.Core.2.1.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml +++ b/packages/Microsoft.AspNet.SignalR.Core.2.4.1/lib/net45/Microsoft.AspNet.SignalR.Core.xml @@ -4,804 +4,988 @@ Microsoft.AspNet.SignalR.Core - + - The amount of time the client should wait without seeing a keep alive before trying to reconnect. + Apply to Hubs and Hub methods to authorize client connections to Hubs and authorize client invocations of Hub methods. - + - The interval between successively checking connection states. + Set to false to apply authorization only to the invocations of any of the Hub's server-side methods. + This property only affects attributes applied to the Hub class. + This property cannot be read. - + - The amount of time a Topic should stay in memory after its last subscriber is removed. + Gets or sets the user roles. - - - + - The dependency resolver to use for the hub connection. + Gets or sets the authorized users. - + - Gets of sets a boolean that determines if JSONP is enabled. + Determines whether client is authorized to connect to . + Description of the hub client is attempting to connect to. + The (re)connect request from the client. + true if the caller is authorized to connect to the hub; otherwise, false. - + - Represents a connection to the client. + Determines whether client is authorized to invoke the method. + An providing details regarding the method invocation. + Indicates whether the interface instance is an attribute applied directly to a method. + true if the caller is authorized to invoke the method; otherwise, false. - + - Writes buffered data. + When overridden, provides an entry point for custom authorization checks. + Called by and . - The data to write to the buffer. + The for the client being authorize + true if the user is authorized, otherwise, false - + - Flushes the buffered response to the client. + The amount of time the client should wait without seeing a keep alive before trying to reconnect. - A task that represents when the data has been flushed. - + - Gets a cancellation token that represents the client's lifetime. + The interval between successively checking connection states. - + - Gets or sets the status code of the response. + The amount of time a Topic should stay in memory after its last subscriber is removed. + + - + - Gets or sets the content type of the response. + Provides access to server configuration. - + - Encapsulates all information about a SignalR connection for an . + Gets or sets a representing the amount of time a client should allow to connect before falling + back to another transport or failing. + The default value is 5 seconds. - + - Encapsulates all information about an individual SignalR connection for an . + Gets or sets a representing the amount of time to leave a connection open before timing out. + The default value is 110 seconds. - + - Provides access to information about a . + Gets or sets a representing the amount of time to wait after a connection goes away before raising the disconnect event. + The default value is 30 seconds. - + - Encapsulates all information about a SignalR connection for an . + Gets or sets a representing the amount of time between send keep alive messages. + If enabled, this value must be at least two seconds. Set to null to disable. + The default value is 10 seconds. - + - Gets the the hub. + Gets or sets the number of messages to buffer for a specific signal. + The default value is 1000. - + - Provides methods that communicate with SignalR connections that connected to a . + Gets or sets the maximum size in bytes of messages sent from client to the server via WebSockets. + Set to null to disable this limit. + The default value is 65536 or 64 KB. - + - Provides methods that communicate with SignalR connections that connected to a . + Gets or sets a representing tell the client to wait before restablishing a + long poll connection after data is sent from the server. + The default value is 0. - + - Called when a new connection is made to the . + Gets or sets the maximum number of scaleout mappings per scaleout stream stored on the server. + The default value is 65535 - + - Called when a connection reconnects to the after a timeout. + The dependency resolver to use for the hub connection. - + - Called when a connection disconnects from the gracefully or due to a timeout. + Gets of sets a boolean that determines if JSONP is enabled. - - true, if stop was called on the client closing the connection gracefully; - false, if the connection has been lost for longer than the - . - Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. - - + - Gets a . Which contains information about the calling client. + Sends a message to all connections subscribed to the specified signal. An example of signal may be a + specific connection id. + The connection + The connectionId to send to. + The value to publish. + A task that represents when the broadcast is complete. - + - Gets a dynamic object that represents all clients connected to this hub (not hub instance). + Sends a message to all connections subscribed to the specified signal. An example of signal may be a + specific connection id. + The connection + The connection ids to send to. + The value to publish. + A task that represents when the broadcast is complete. - + - Gets the the hub instance. + Broadcasts a value to all connections, excluding the connection ids specified. + The connection + The value to broadcast. + The list of connection ids to exclude + A task that represents when the broadcast is complete. - + - Called when a connection disconnects from this hub gracefully or due to a timeout. + A message sent to one more connections. - - true, if stop was called on the client closing the connection gracefully; - false, if the connection has been lost for longer than the - . - Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. - - A - + - Called when the connection connects to this hub instance. + The signal to this message should be sent to. Connections subscribed to this signal + will receive the message payload. - A - + - Called when the connection reconnects to this hub instance. + A list of signals this message should be delivered to. If this is used + the Signal cannot be used. - A - + - + The payload of the message. - + - Provides information about the calling client. + Represents a list of signals that should be used to filter what connections + receive this message. - + - The group manager for this hub instance. + Initializes a new instance of the class. + The signal + The payload of the message + The signals to exclude. - + - + Provides access to default host information. - + - Determines whether JavaScript proxies for the server-side hubs should be auto generated at {Path}/hubs or {Path}/js. - Defaults to true. + Gets or sets the the default - + - Determines whether detailed exceptions thrown in Hub methods get reported back the invoking client. - Defaults to false. + Gets the default - + - A server side proxy for the client side hub. + Gets the default - + - Invokes a method on the connection(s) represented by the instance. + Gets the default - name of the method to invoke - argumetns to pass to the client - A task that represents when the data has been sent to the client. - + - Returns a dynamic representation of all clients except the calling client ones specified. + - The list of connection ids to exclude - A dynamic representation of all clients except the calling client ones specified. - + - Returns a dynamic representation of the connection with the specified connectionid. + The default implementation. - The connection id - A dynamic representation of the specified client. - + - Returns a dynamic representation of the connections with the specified connectionids. + Initializes a new instance of the class. - The connection ids. - A dynamic representation of the specified clients. + The this group resides on. + The prefix for this group. Either a name or type name. - + - Returns a dynamic representation of the specified group. + Sends a value to the specified group. - The name of the group + The name of the group. + The value to send. The list of connection ids to exclude - A dynamic representation of the specified group. + A task that represents when send is complete. - + - Returns a dynamic representation of the specified groups. + Sends a value to the specified group. The names of the groups. + The value to send. The list of connection ids to exclude - A dynamic representation of the specified groups. + A task that represents when send is complete. - + - Holds information about a single hub method. + Adds a connection to the specified group. + The connection id to add to the group. + The name of the group + A task that represents the connection id being added to the group. - + - Name of Descriptor. + Removes a connection from the specified group. + The connection id to remove from the group. + The name of the group + A task that represents the connection id being removed from the group. - + - Flags whether the name was specified. + Represents a connection to the client. - + - The return type of this method. + Gets a cancellation token that represents the client's lifetime. - + - Hub descriptor object, target to this method. + Gets or sets the status code of the response. - + - Available method parameters. + Gets or sets the content type of the response. - + - Method invocation delegate. - Takes a target hub and an array of invocation arguments as it's arguments. + Writes buffered data. + The data to write to the buffer. - + - Attributes attached to this method. + Flushes the buffered response to the client. + A task that represents when the data has been flushed. - + - The exception to be sent to the calling client. - This will be overridden by a generic Exception unless Error is a - or is set to true. + Represents a web socket. - + - The value to return in lieu of throwing Error. Whenever Result is set, Error will be set to null. + Invoked when data is sent over the websocket - + - Provides access to information about a . + Invoked when the websocket closes - + - Encapsulates all information about a SignalR connection for an . + Invoked when there is an error - + - Gets the the hub. + Sends data over the websocket. + The value to send. + A that represents the send is complete. - + - Provides access to server configuration. + Responsible for creating instances. - + - Gets or sets a representing the amount of time a client should allow to connect before falling - back to another transport or failing. - The default value is 5 seconds. + Creates a new instance of the class. + The dependency resolver to use for when creating the . - + - Gets or sets a representing the amount of time to leave a connection open before timing out. - The default value is 110 seconds. + Creates an instance of the specified type using the dependency resolver or the type's default constructor. + The type of to create. + An instance of a . - + - Gets or sets a representing the amount of time to wait after a connection goes away before raising the disconnect event. - The default value is 30 seconds. + Extension methods for . - + - Gets or sets a representing the amount of time between send keep alive messages. - If enabled, this value must be at least two seconds. Set to null to disable. - The default value is 10 seconds. + Closes the connection to a client with optional data. + The . + The data to write to the connection. + A task that represents when the connection is closed. - + - Gets or sets the number of messages to buffer for a specific signal. - The default value is 1000. + Provides methods that communicate with SignalR connections that connected to a . - + - Gets or sets the maximum size in bytes of messages sent from client to the server via WebSockets. - Set to null to disable this limit. - The default value is 65536 or 64 KB. + Determines whether JavaScript proxies for the server-side hubs should be auto generated at {Path}/hubs or {Path}/js. + Defaults to true. - + - Gets or sets a representing tell the client to wait before restablishing a - long poll connection after data is sent from the server. - The default value is 0. + Determines whether detailed exceptions thrown in Hub methods get reported back the invoking client. + Defaults to false. - + - A buffering text writer that supports writing binary directly as well + A description of a client-side hub method invocation. - + - TextWriter implementation over a write delegate optimized for writing in small chunks - we don't need to write to a long lived buffer. This saves massive amounts of memory - as the number of connections grows. + The name of the hub that the method being invoked belongs to. - + - Implemented on anything that has the ability to write raw binary data + The name of the client-side hub method be invoked. - + - Default implementation. + The argument list the client-side hub method will be called with. - + - Provides access to hubs and persistent connections references. + A key-value store representing the hub state on the server that has changed since the last time the hub + state was sent to the client. - + - Returns a for the specified . + Provides methods that communicate with SignalR connections that connected to a . - Type of the - a for the specified - + - Returns a for the specified hub. + Gets a dynamic object that represents all clients connected to this hub (not hub instance). - Name of the hub - a for the specified hub - + - Returns a for the specified . + Provides information about the calling client. - Type of the - Interface implemented by the client proxy - a for the specified - + - Returns a for the specified hub. + The group manager for this hub instance. - Name of the hub - Interface implemented by the client proxy - a for the specified hub - + - Returns a for the . + Called when a connection disconnects from this hub gracefully or due to a timeout. - Type of the - A for the . + + true, if stop was called on the client closing the connection gracefully; + false, if the connection has been lost for longer than the + . + Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. + + A - + - Initializes a new instance of the class. + Called when the connection connects to this hub instance. - The . + A - + - Returns a for the . + Called when the connection reconnects to this hub instance. - Type of the - A for the . + A - + - Returns a for the . + Gets the connection id of the calling client. - Type of the - A for the . - + - Returns a for the specified . + Gets the cookies for the request. - Type of the - a for the specified - + - Returns a for the specified hub. + Gets the headers for the request. - Name of the hub - a for the specified hub - + - Returns a for the specified . + Gets the querystring for the request. - Type of the - Interface implemented by the client proxy - a for the specified - + - Returns a for the specified hub. + Gets the for the request. - Name of the hub - Interface implemented by the client proxy - a for the specified hub - + - A message sent to one more connections. + Gets the for the current HTTP request. - + - Initializes a new instance of the class. + This constructor is only intended to enable mocking of the class. Use of this constructor + for other purposes may result in unexpected behavior. - The signal - The payload of the message - The signals to exclude. - + - The signal to this message should be sent to. Connections subscribed to this signal - will receive the message payload. + Encapsulates all information about an individual SignalR connection for an . - + - A list of signals this message should be delivered to. If this is used - the Signal cannot be used. + Initializes a new instance of the . - + - The payload of the message. + Initializes a new instance of the . + The pipeline invoker. + The connection. + The hub name. + The connection id. + The connection hub state. - + - Represents a list of signals that should be used to filter what connections - receive this message. + All connected clients except the calling client. - + - Provides access to default host information. + Represents the calling client. - + - Gets or sets the the default + Represents the calling client's state. This should be used when the state is innaccessible + via the property (such as in VB.NET or in typed Hubs). - + - Gets the default + Returns a dynamic representation of all clients in a group except the calling client. + The name of the group + A dynamic representation of all clients in a group except the calling client. - + - Gets the default + Returns a dynamic representation of all clients in the specified groups except the calling client. + The name of the groups + A dynamic representation of all clients in a group except the calling client. - + - Gets the default + Returns a dynamic representation of all clients except the calling client ones specified. + The list of connection ids to exclude + A dynamic representation of all clients except the calling client ones specified. - + - + Returns a dynamic representation of the connection with the specified connectionid. + The connection id + A dynamic representation of the specified client. - + - Represents a SignalR request + Returns a dynamic representation of the connections with the specified connectionids. + The connection ids. + A dynamic representation of the specified clients. - + - Reads the form of the http request + Returns a dynamic representation of the specified group. - + The name of the group + The list of connection ids to exclude + A dynamic representation of the specified group. - + - Gets the url for this request. + Returns a dynamic representation of the specified groups. + The names of the groups. + The list of connection ids to exclude + A dynamic representation of the specified groups. - + - The local path part of the url + Handles all communication over the hubs persistent connection. - + - Gets the querystring for this request. + Initializes an instance of the class. + Configuration settings determining whether to enable JS proxies and provide clients with detailed hub errors. - + - Gets the headers for this request. + Processes the hub's incoming method calls. - + - Gets the cookies for this request. + The response returned from an incoming hub request. - + - Gets security information for the current HTTP request. + The changes made the the round tripped state. - + - Gets the owin enviornment + The result of the invocation. - + - A converter for dictionaries that uses a SipHash comparer + The id of the operation. - + - Represents a web socket. + The progress update of the invocation. - + - Sends data over the websocket. + Indicates whether the Error is a see . - The value to send. - A that represents the send is complete. - + - Sends a chunk of data over the websocket ("endOfMessage" flag set to false.) + The exception that occurs as a result of invoking the hub method. - - A that represents the send is complete. - + - Sends a zero byte data chunk with the "endOfMessage" flag set to true. + The stack trace of the exception that occurs as a result of invoking the hub method. - A that represents the flush is complete. - + - Invoked when data is sent over the websocket + Extra error data contained in the - + - Invoked when the websocket closes + A server side proxy for the client side hub. - + - Invoked when there is an error + Invokes a method on the connection(s) represented by the instance. + name of the method to invoke + arguments to pass to the client + A task that represents when the data has been sent to the client. - + - Extension methods for . + Gets a . Which contains information about the calling client. - + - Closes the connection to a client with optional data. + Gets a dynamic object that represents all clients connected to this hub (not hub instance). - The . - The data to write to the connection. - A task that represents when the connection is closed. - + - Encapsulates all information about an individual SignalR connection for an . + Gets the the hub instance. - + - Initializes a new instance of the . + Called when a new connection is made to the . - + - Initializes a new instance of the . + Called when a connection reconnects to the after a timeout. - The pipeline invoker. - The connection. - The hub name. - The connection id. - The connection hub state. - + - Returns a dynamic representation of all clients in a group except the calling client. + Called when a connection disconnects from the gracefully or due to a timeout. - The name of the group - A dynamic representation of all clients in a group except the calling client. + + true, if stop was called on the client closing the connection gracefully; + false, if the connection has been lost for longer than the + . + Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. + - + - Returns a dynamic representation of all clients in the specified groups except the calling client. + Encapsulates all information about an individual SignalR connection for an . - The name of the groups - A dynamic representation of all clients in a group except the calling client. - + - All connected clients except the calling client. + Encapsulates all information about a SignalR connection for an . - + - Represents the calling client. + Handles parsing incoming requests through the . - + - Represents the calling client's state. This should be used when the state is innaccessible - via the property (such as in VB.NET or in typed Hubs). + Parses the incoming hub payload into a . + The raw hub payload. + The JsonSerializer used to parse the data. + The resulting . - - - This module is added the the HubPipeline by default. - - Hub level attributes that implement such as are applied to determine - whether to allow potential clients to receive messages sent from that hub using a or a - All applicable hub attributes must allow hub connection for the connection to be authorized. - - Hub and method level attributes that implement such as are applied - to determine whether to allow callers to invoke hub methods. - All applicable hub level AND method level attributes must allow hub method invocation for the invocation to be authorized. - - Optionally, this module may be instantiated with and - authorizers that will be applied globally to all hubs and hub methods. - - - + - Common base class to simplify the implementation of IHubPipelineModules. - A module can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, - invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. - A module can be activated by calling . - The combined modules added to the are invoked via the - interface. + Resolves a parameter value based on the provided object. + Parameter descriptor. + Value to resolve the parameter value from. + The parameter value. - + - An can intercept and customize various stages of hub processing such as connecting, - reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub - clients and rejoining hub groups. - Modules can be be activated by calling . - The combined modules added to the are invoked via the - interface. + Resolves method parameter values based on provided objects. + Method descriptor. + List of values to resolve parameter values from. + Array of parameter values. - + - Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect - to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in - by not executing the invoke parameter. + Name of Descriptor. - A function that invokes a server-side hub method. - A wrapped function that invokes a server-side hub method. - + - Wraps a function that invokes a client-side hub method. + Flags whether the name was specified. - A function that invokes a client-side hub method. - A wrapped function that invokes a client-side hub method. - + - Wraps a function that is called when a client connects to the for each - the client connects to. By default, this results in the 's - OnConnected method being invoked. + Holds information about a single hub. - A function to be called when a client connects to a hub. - A wrapped function to be called when a client connects to a hub. - + - Wraps a function that is called when a client reconnects to the for each - the client connects to. By default, this results in the 's - OnReconnected method being invoked. + Hub type. - A function to be called when a client reconnects to a hub. - A wrapped function to be called when a client reconnects to a hub. - + - Wraps a function that is called when a client disconnects from the for each - the client was connected to. By default, this results in the 's - OnDisconnected method being invoked. + Holds information about a single hub method. - - A task-returning function to be called when a client disconnects from a hub. - This function takes two parameters: - 1. The is being disconnected from. - 2. A boolean, stopCalled, that is true if stop was called on the client and false if the client timed out. - Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. - - A wrapped function to be called when a client disconnects from a hub. - + - Wraps a function to be called before a client subscribes to signals belonging to the hub described by the - . By default, the will look for attributes on the - to help determine if the client is authorized to subscribe to method invocations for the - described hub. - The function returns true if the client is authorized to subscribe to client-side hub method - invocations; false, otherwise. + The return type of this method. - - A function that dictates whether or not the client is authorized to connect to the described Hub. - - - A wrapped function that dictates whether or not the client is authorized to connect to the described Hub. - - + - Wraps a function that determines which of the groups belonging to the hub described by the - the client should be allowed to rejoin. - By default, clients will rejoin all the groups they were in prior to reconnecting. + Hub descriptor object, target to this method. + + + + + Available method parameters. + + + + + Method invocation delegate. + Takes a target hub and an array of invocation arguments as it's arguments. + + + + + Attributes attached to this method. + + + + + Holds information about a single hub method parameter. + + + + + Parameter name. + + + + + Parameter type. + + + + + Describes hub descriptor provider, which provides information about available hubs. + + + + + Retrieve all avaiable hubs. + + Collection of hub descriptors. + + + + Tries to retrieve hub with a given name. + + Name of the hub. + Retrieved descriptor object. + True, if hub has been found + + + + Describes a hub manager - main point in the whole hub and method lookup process. + + + + + Retrieves a single hub descriptor. + + Name of the hub. + Hub descriptor, if found. Null, otherwise. + + + + Retrieves all available hubs matching the given predicate. + + List of hub descriptors. + + + + Resolves a given hub name to a concrete object. + + Name of the hub. + Hub implementation instance, if found. Null otherwise. + + + + Resolves all available hubs to their concrete objects. + + List of hub instances. + + + + Retrieves a method with a given name on a given hub. + + Name of the hub. + Name of the method to find. + Method parameters to match. + Descriptor of the method, if found. Null otherwise. + + + + Gets all methods available to call on a given hub. + + Name of the hub, + Optional predicate for filtering results. + List of available methods. + + + + Describes a hub method provider that builds a collection of available methods on a given hub. + + + + + Retrieve all methods on a given hub. + + Hub descriptor object. + Available methods. + + + + Tries to retrieve a method. + + Hub descriptor object + Name of the method. + Descriptor of the method, if found. Null otherwise. + Method parameters to match. + True, if a method has been found. + + + + Describes a parameter resolver for resolving parameter-matching values based on provided information. + + + + + Resolves method parameter values based on provided objects. + + Method descriptor. + List of values to resolve parameter values from. + Array of parameter values. + + + + Retrieves an existing dictionary of all available methods for a given hub from cache. + If cache entry does not exist - it is created automatically by BuildMethodCacheFor. + + + + + + + Builds a dictionary of all possible methods on a given hub. + Single entry contains a collection of available overloads for a given method name (key). + This dictionary is being cached afterwards. + + Hub to build cache for + Dictionary of available methods + + + + Searches the specified Hub for the specified . + + + In the case that there are multiple overloads of the specified , the parameter set helps determine exactly which instance of the overload should be resolved. + If there are multiple overloads found with the same number of matching parameters, none of the methods will be returned because it is not possible to determine which overload of the method was intended to be resolved. + + Hub to search for the specified on. + The method name to search for. + If successful, the that was resolved. + The set of parameters that will be used to help locate a specific overload of the specified . + True if the method matching the name/parameter set is found on the hub, otherwise false. + + + + This module is added the the HubPipeline by default. + + Hub level attributes that implement such as are applied to determine + whether to allow potential clients to receive messages sent from that hub using a or a + All applicable hub attributes must allow hub connection for the connection to be authorized. + + Hub and method level attributes that implement such as are applied + to determine whether to allow callers to invoke hub methods. + All applicable hub level AND method level attributes must allow hub method invocation for the invocation to be authorized. + + Optionally, this module may be instantiated with and + authorizers that will be applied globally to all hubs and hub methods. + + + + + Interface to be implemented by s that can authorize client to connect to a . + + + + + Given a , determine whether client is authorized to connect to . + + Description of the hub client is attempting to connect to. + The connection request from the client. + true if the caller is authorized to connect to the hub; otherwise, false. + + + + Interface to be implemented by s that can authorize the invocation of methods. + + + + + Given a , determine whether client is authorized to invoke the method. + + An providing details regarding the method invocation. + Indicates whether the interface instance is an attribute applied directly to a method. + true if the caller is authorized to invoke the method; otherwise, false. + + + + The exception to be sent to the calling client. + This will be overridden by a generic Exception unless Error is a + or is set to true. + + + + + The value to return in lieu of throwing Error. Whenever Result is set, Error will be set to null. + + + + + Common base class to simplify the implementation of IHubPipelineModules. + A module can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, + invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups. + A module can be activated by calling . + The combined modules added to the are invoked via the + interface. - A function that determines which groups the client should be allowed to rejoin. - A wrapped function that determines which groups the client should be allowed to rejoin. @@ -1007,374 +1191,490 @@ A description of the server-side hub method invocation. - + - Apply to Hubs and Hub methods to authorize client connections to Hubs and authorize client invocations of Hub methods. + A description of a server-side hub method invocation originating from a client. - + - Interface to be implemented by s that can authorize client to connect to a . + A hub instance that contains the invoked method as a member. - + - Given a , determine whether client is authorized to connect to . + A description of the method being invoked by the client. - Description of the hub client is attempting to connect to. - The connection request from the client. - true if the caller is authorized to connect to the hub; otherwise, false. - + - Interface to be implemented by s that can authorize the invocation of methods. + The arguments to be passed to the invoked method. - + - Given a , determine whether client is authorized to invoke the method. + A key-value store representing the hub state on the client at the time of the invocation. - An providing details regarding the method invocation. - Indicates whether the interface instance is an attribute applied directly to a method. - true if the caller is authorized to invoke the method; otherwise, false. - + - Determines whether client is authorized to connect to . + A description of a client-side hub method invocation originating from the server. - Description of the hub client is attempting to connect to. - The (re)connect request from the client. - true if the caller is authorized to connect to the hub; otherwise, false. - + - Determines whether client is authorized to invoke the method. + The , if any, corresponding to the client that invoked the server-side hub method + that is invoking the client-side hub method. - An providing details regarding the method invocation. - Indicates whether the interface instance is an attribute applied directly to a method. - true if the caller is authorized to invoke the method; otherwise, false. - + - When overridden, provides an entry point for custom authorization checks. - Called by and . + A description of the method call to be made on the client. - The for the client being authorize - true if the user is authorized, otherwise, false - + - Set to false to apply authorization only to the invocations of any of the Hub's server-side methods. - This property only affects attributes applied to the Hub class. - This property cannot be read. + The signal (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that + receive the method invocation. - + - Gets or sets the user roles. + The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that + receive the method invocation. - + - Gets or sets the authorized users. + The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that should + not receive the method invocation regardless of the . - + - A description of a client-side hub method invocation originating from the server. + A collection of modules that can intercept and customize various stages of hub processing such as connecting, + reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing + hub clients and rejoining hub groups. - + - The , if any, corresponding to the client that invoked the server-side hub method - that is invoking the client-side hub method. + Adds an to the hub pipeline. Modules added to the pipeline first will wrap + modules that are added to the pipeline later. All modules must be added to the pipeline before any methods + on the are invoked. + + A module that may intercept and customize various stages of hub processing such as connecting, + reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing + hub clients and rejoining hub groups. + + + The itself with the newly added module allowing + calls to be chained. + This method mutates the pipeline it is invoked on so it is not necessary to store its result. + - + - A description of the method call to be made on the client. + Implementations of this interface are responsible for executing operation required to complete various stages + hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking + client-side hub methods, authorizing hub clients and rejoining hub groups. - + - The signal (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that - receive the method invocation. + Invokes a server-side hub method. + A description of the server-side hub method invocation. + An asynchronous operation giving the return value of the server-side hub method invocation. - + - The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that - receive the method invocation. + Invokes a client-side hub method. + A description of the client-side hub method invocation. - + - The signals (ConnectionId, hub type name or hub type name + "." + group name) belonging to clients that should - not receive the method invocation regardless of the . + To be called when a client connects to the for each the client + connects to. By default, this results in the 's OnConnected method being invoked. + A the client is connected to. - + - A description of a client-side hub method invocation. + To be called when a client reconnects to the for each the client + connects to. By default, this results in the 's OnReconnected method being invoked. + A the client is reconnected to. - + - The name of the hub that the method being invoked belongs to. + To be called when a client disconnects from the for each the client + was connected to. By default, this results in the 's OnDisconnected method being invoked. + A the client was disconnected from. + + true, if stop was called on the client closing the connection gracefully; + false, if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. + - + - The name of the client-side hub method be invoked. + To be called before a client subscribes to signals belonging to the hub described by the . + By default, the will look for attributes on the to help determine if + the client is authorized to subscribe to method invocations for the described hub. + A description of the hub the client is attempting to connect to. + + The connect request being made by the client which should include the client's + User. + + true, if the client is authorized to subscribe to client-side hub method invocations; false, otherwise. - + - The argument list the client-side hub method will be called with. + This method determines which of the groups belonging to the hub described by the the client should be + allowed to rejoin. + By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, + because untrusted clients may claim to be a member of groups they were never authorized to join. + A description of the hub for which the client is attempting to rejoin groups. + The reconnect request being made by the client that is attempting to rejoin groups. + + The list of groups belonging to the relevant hub that the client claims to have been a member of before the reconnect. + + A list of groups the client is allowed to rejoin. - + - A key-value store representing the hub state on the server that has changed since the last time the hub - state was sent to the client. + An can intercept and customize various stages of hub processing such as connecting, + reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub + clients and rejoining hub groups. + Modules can be be activated by calling . + The combined modules added to the are invoked via the + interface. + + + + + Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect + to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in + by not executing the invoke parameter. + + A function that invokes a server-side hub method. + A wrapped function that invokes a server-side hub method. + + + + Wraps a function that invokes a client-side hub method. + + A function that invokes a client-side hub method. + A wrapped function that invokes a client-side hub method. + + + + Wraps a function that is called when a client connects to the for each + the client connects to. By default, this results in the 's + OnConnected method being invoked. + + A function to be called when a client connects to a hub. + A wrapped function to be called when a client connects to a hub. + + + + Wraps a function that is called when a client reconnects to the for each + the client connects to. By default, this results in the 's + OnReconnected method being invoked. + + A function to be called when a client reconnects to a hub. + A wrapped function to be called when a client reconnects to a hub. + + + + Wraps a function that is called when a client disconnects from the for each + the client was connected to. By default, this results in the 's + OnDisconnected method being invoked. + + + A task-returning function to be called when a client disconnects from a hub. + This function takes two parameters: + 1. The is being disconnected from. + 2. A boolean, stopCalled, that is true if stop was called on the client and false if the client timed out. + Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. + + A wrapped function to be called when a client disconnects from a hub. + + + + Wraps a function to be called before a client subscribes to signals belonging to the hub described by the + . By default, the will look for attributes on the + to help determine if the client is authorized to subscribe to method invocations for the + described hub. + The function returns true if the client is authorized to subscribe to client-side hub method + invocations; false, otherwise. + + + A function that dictates whether or not the client is authorized to connect to the described Hub. + + + A wrapped function that dictates whether or not the client is authorized to connect to the described Hub. + + + + + Wraps a function that determines which of the groups belonging to the hub described by the + the client should be allowed to rejoin. + By default, clients will rejoin all the groups they were in prior to reconnecting. + + A function that determines which groups the client should be allowed to rejoin. + A wrapped function that determines which groups the client should be allowed to rejoin. + + + + A change tracking dictionary. + + + + + Requiring Authentication adds an to the with + and authorizers that will be applied globally to all hubs and hub methods. + These authorizers require that the 's + IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations. + + The to which the will be added. + + + + Provides methods that communicate with SignalR connections that connected to a . + + + + + Gets a dynamic object that represents all clients connected to this hub (not hub instance). - + - Requiring Authentication adds an to the with - and authorizers that will be applied globally to all hubs and hub methods. - These authorizers require that the 's - IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations. + A communication channel for a and its connections. - The to which the will be added. - + - Implementations of this interface are responsible for executing operation required to complete various stages - hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking - client-side hub methods, authorizing hub clients and rejoining hub groups. + The main signal for this connection. This is the main signalr for a . - + - Invokes a server-side hub method. + Sends a message to connections subscribed to the signal. - A description of the server-side hub method invocation. - An asynchronous operation giving the return value of the server-side hub method invocation. + The message to send. + A task that returns when the message has be sent. - + - Invokes a client-side hub method. + Manages groups for a connection and allows sending messages to the group. - A description of the client-side hub method invocation. - + - To be called when a client connects to the for each the client - connects to. By default, this results in the 's OnConnected method being invoked. + Sends a value to the specified group. - A the client is connected to. + The name of the group. + The value to send. + The list of connection ids to exclude + A task that represents when send is complete. - + - To be called when a client reconnects to the for each the client - connects to. By default, this results in the 's OnReconnected method being invoked. + Sends a value to the specified groups. - A the client is reconnected to. + The names of the groups. + The value to send. + The list of connection ids to exclude + A task that represents when send is complete. - + - To be called when a client disconnects from the for each the client - was connected to. By default, this results in the 's OnDisconnected method being invoked. + Manages groups for a connection. - A the client was disconnected from. - - true, if stop was called on the client closing the connection gracefully; - false, if the client timed out. Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. - - + - To be called before a client subscribes to signals belonging to the hub described by the . - By default, the will look for attributes on the to help determine if - the client is authorized to subscribe to method invocations for the described hub. + Adds a connection to the specified group. - A description of the hub the client is attempting to connect to. - - The connect request being made by the client which should include the client's - User. - - true, if the client is authorized to subscribe to client-side hub method invocations; false, otherwise. + The connection id to add to the group. + The name of the group + A task that represents the connection id being added to the group. - + - This method determines which of the groups belonging to the hub described by the the client should be - allowed to rejoin. - By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, - because untrusted clients may claim to be a member of groups they were never authorized to join. + Removes a connection from the specified group. - A description of the hub for which the client is attempting to rejoin groups. - The reconnect request being made by the client that is attempting to rejoin groups. - - The list of groups belonging to the relevant hub that the client claims to have been a member of before the reconnect. - - A list of groups the client is allowed to rejoin. + The connection id to remove from the group. + The name of the group + A task that represents the connection id being removed from the group. - + - A description of a server-side hub method invocation originating from a client. + Provides access to information about a . - + - A hub instance that contains the invoked method as a member. + Encapsulates all information about a SignalR connection for an . - + - A description of the method being invoked by the client. + Gets the the hub. - + - The arguments to be passed to the invoked method. + Provides access to information about a . - + - A key-value store representing the hub state on the client at the time of the invocation. + Encapsulates all information about a SignalR connection for an . - + - Handles parsing incoming requests through the . + Gets the the hub. - + - Parses the incoming hub payload into a . + A singleton that subscribes to all ACKs sent over the + and + triggers any corresponding ACKs on the . - The raw hub payload. - The JsonSerializer used to parse the data. - The resulting . - + - The response returned from an incoming hub request. + Default implementation. - + - The changes made the the round tripped state. + Initializes a new instance of the class. + The . - + - The result of the invocation. + Returns a for the . + Type of the + A for the . - + - The id of the operation. + Returns a for the . + Type of the + A for the . - + - The progress update of the invocation. + Returns a for the specified . + Type of the + a for the specified - + - Indicates whether the Error is a see . + Returns a for the specified hub. + Name of the hub + a for the specified hub - + - The exception that occurs as a result of invoking the hub method. + Returns a for the specified . + Type of the + Interface implemented by the client proxy + a for the specified - + - The stack trace of the exception that occurs as a result of invoking the hub method. + Returns a for the specified hub. + Name of the hub + Interface implemented by the client proxy + a for the specified hub - + - Extra error data contained in the + Helper class to manage disposing a resource at an arbirtary time - + - A change tracking dictionary. + Implemented on anything that has the ability to write raw binary data - + - A collection of modules that can intercept and customize various stages of hub processing such as connecting, - reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing - hub clients and rejoining hub groups. + Provides access to hubs and persistent connections references. - + - Adds an to the hub pipeline. Modules added to the pipeline first will wrap - modules that are added to the pipeline later. All modules must be added to the pipeline before any methods - on the are invoked. + Returns a for the specified . - - A module that may intercept and customize various stages of hub processing such as connecting, - reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing - hub clients and rejoining hub groups. - - - The itself with the newly added module allowing - calls to be chained. - This method mutates the pipeline it is invoked on so it is not necessary to store its result. - + Type of the + a for the specified - + - Manages groups for a connection and allows sending messages to the group. + Returns a for the specified hub. + Name of the hub + a for the specified hub - + - Manages groups for a connection. + Returns a for the specified . + Type of the + Interface implemented by the client proxy + a for the specified - + - Adds a connection to the specified group. + Returns a for the specified hub. - The connection id to add to the group. - The name of the group - A task that represents the connection id being added to the group. + Name of the hub + Interface implemented by the client proxy + a for the specified hub - + - Removes a connection from the specified group. + Returns a for the . - The connection id to remove from the group. - The name of the group - A task that represents the connection id being removed from the group. + Type of the + A for the . - + - Sends a value to the specified group. + Acquires a sub-segment of a larger memory allocation. Used for async sends of write-behind + buffers to reduce number of array segments pinned - The name of the group. - The value to send. - The list of connection ids to exclude - A task that represents when send is complete. + The smallest length of the ArraySegment.Count that may be returned + An array segment which is a sub-block of a larger allocation - + - Sends a value to the specified groups. + Frees a sub-segment of a larger memory allocation produced by AllocSegment. The original ArraySegment + must be frees exactly once and must have the same offset and count that was returned by the Alloc. + If a segment is not freed it won't be re-used and has the same effect as a memory leak, so callers must be + implemented exactly correctly. - The names of the groups. - The value to send. - The list of connection ids to exclude - A task that represents when send is complete. + The sub-block that was originally returned by a call to AllocSegment. @@ -1397,19 +1697,39 @@ The instance name. Whether the counter is read-only. - + + + Gets the performance counter representing the total number of connection Connect events since the application was started. + + + + + Gets the performance counter representing the total number of connection Reconnect events since the application was started. + + + + + Gets the performance counter representing the total number of connection Disconnect events since the application was started. + + + + + Gets the performance counter representing the number of connections currently connected using ForeverFrame transport. + + + - Gets the performance counter representing the total number of connection Connect events since the application was started. + Gets the performance counter representing the number of connections currently connected using LongPolling transport. - + - Gets the performance counter representing the total number of connection Reconnect events since the application was started. + Gets the performance counter representing the number of connections currently connected using ServerSentEvents transport. - + - Gets the performance counter representing the total number of connection Disconnect events since the application was started. + Gets the performance counter representing the number of connections currently connected using WebSockets transport. @@ -1562,6 +1882,38 @@ Gets the performance counter representing the current scaleout send queue length. + + + Minifies a string in a way that can be reversed by this instance of . + + The string to be minified + A minified representation of the without the following characters:,|\ + + + + Reverses a call that was executed at least once previously on this instance of + without any subsequent calls to sharing the + same argument as the call that returned . + + + A minified string that was returned by a previous call to . + + + The argument of all previous calls to that returned . + If every call to on this instance of has never + returned or if the most recent call to that did + return was followed by a call to sharing + the same argument, may return null but must not throw. + + + + + A call to this function indicates that any future attempt to unminify strings that were previously minified + from may be met with a null return value. This provides an opportunity clean up + any internal data structures that reference . + + The string that may have previously have been minified. + Manages performance counters using Windows performance counters. @@ -1577,13 +1929,6 @@ Creates a new instance. - - - Initializes the performance counters. - - The host instance name. - The CancellationToken representing the host shutdown. - Gets the performance counter representing the total number of connection Connect events since the application was started. @@ -1599,6 +1944,26 @@ Gets the performance counter representing the total number of connection Disconnect events since the application was started. + + + Gets the performance counter representing the number of connections currently connected using the ForeverFrame transport. + + + + + Gets the performance counter representing the number of connections currently connected using the LongPolling transport. + + + + + Gets the performance counter representing the number of connections currently connected using the ServerSentEvents transport. + + + + + Gets the performance counter representing the number of connections currently connected using the WebSockets transport. + + Gets the performance counter representing the number of connections currently connected. @@ -1749,10 +2114,12 @@ Gets the performance counter representing the current scaleout send queue length. - + - Helper class to manage disposing a resource at an arbirtary time + Initializes the performance counters. + The host instance name. + The CancellationToken representing the host shutdown. @@ -1761,238 +2128,113 @@ - Dispose may be called after Cancel. - - - Represents a JSON value. - - - - - Converts the parameter value to the specified . - - The to convert the parameter to. - The converted parameter value. - - - - Determines if the parameter can be converted to the specified . - - The to check. - True if the parameter can be converted to the specified , false otherwise. - - - - Implementations handle their own serialization to JSON. - - - - - Serializes itself to JSON via a . - - The that receives the JSON serialized object. - - - - An implementation of IJsonValue over JSON.NET - - - - - Sends a message to all connections subscribed to the specified signal. An example of signal may be a - specific connection id. - - The connection - The connectionId to send to. - The value to publish. - A task that represents when the broadcast is complete. - - + - Sends a message to all connections subscribed to the specified signal. An example of signal may be a - specific connection id. + Helpers for decoding URI query components. - The connection - The connection ids to send to. - The value to publish. - A task that represents when the broadcast is complete. - + - Broadcasts a value to all connections, excluding the connection ids specified. + Provides access to information about a . - The connection - The value to broadcast. - The list of connection ids to exclude - A task that represents when the broadcast is complete. - + - Describes a parameter resolver for resolving parameter-matching values based on provided information. + Gets the for the . - + - Resolves method parameter values based on provided objects. + Gets the for the . - Method descriptor. - List of values to resolve parameter values from. - Array of parameter values. - + - Resolves a parameter value based on the provided object. + Represents a SignalR request - Parameter descriptor. - Value to resolve the parameter value from. - The parameter value. - + - Resolves method parameter values based on provided objects. + Gets the url for this request. - Method descriptor. - List of values to resolve parameter values from. - Array of parameter values. - + - Holds information about a single hub method parameter. + The local path part of the url - + - Parameter name. + Gets the querystring for this request. - + - Parameter type. + Gets the headers for this request. - + - Describes a hub method provider that builds a collection of available methods on a given hub. + Gets the cookies for this request. - + - Retrieve all methods on a given hub. + Gets security information for the current HTTP request. - Hub descriptor object. - Available methods. - + - Tries to retrieve a method. + Gets the owin environment - Hub descriptor object - Name of the method. - Descriptor of the method, if found. Null otherwise. - Method parameters to match. - True, if a method has been found. - + - Retrieves an existing dictionary of all available methods for a given hub from cache. - If cache entry does not exist - it is created automatically by BuildMethodCacheFor. + Reads the form of the http request - - - - Builds a dictionary of all possible methods on a given hub. - Single entry contains a collection of available overloads for a given method name (key). - This dictionary is being cached afterwards. - - Hub to build cache for - Dictionary of available methods - - - - Searches the specified Hub for the specified . - - - In the case that there are multiple overloads of the specified , the parameter set helps determine exactly which instance of the overload should be resolved. - If there are multiple overloads found with the same number of matching parameters, none of the methods will be returned because it is not possible to determine which overload of the method was intended to be resolved. - - Hub to search for the specified on. - The method name to search for. - If successful, the that was resolved. - The set of parameters that will be used to help locate a specific overload of the specified . - True if the method matching the name/parameter set is found on the hub, otherwise false. - - - - Holds information about a single hub. - - - - - Hub type. - - - - - Describes a hub manager - main point in the whole hub and method lookup process. - - - - - Retrieves a single hub descriptor. - - Name of the hub. - Hub descriptor, if found. Null, otherwise. - - - - Retrieves all available hubs matching the given predicate. - - List of hub descriptors. - - + - Resolves a given hub name to a concrete object. + This marker interface can be used in lieu of IDisposable in order to indicate to the dependency resolver that + it should not retain/track references nor invoke Dispose on instances of the resolved type. + This is useful for transient types that are created by the dependency resolver, but are short-lived and will + be Disposed by some other means outside of the resolver. - Name of the hub. - Hub implementation instance, if found. Null otherwise. - + - Resolves all available hubs to their concrete objects. + Represents a JSON value. - List of hub instances. - + - Retrieves a method with a given name on a given hub. + Converts the parameter value to the specified . - Name of the hub. - Name of the method to find. - Method parameters to match. - Descriptor of the method, if found. Null otherwise. + The to convert the parameter to. + The converted parameter value. - + - Gets all methods available to call on a given hub. + Determines if the parameter can be converted to the specified . - Name of the hub, - Optional predicate for filtering results. - List of available methods. + The to check. + True if the parameter can be converted to the specified , false otherwise. - + - Provides access to information about a . + Implementations handle their own serialization to JSON. - + - Gets the for the . + Serializes itself to JSON via a . + The that receives the JSON serialized object. - + - Gets the for the . + An implementation of IJsonValue over JSON.NET @@ -2035,67 +2277,43 @@ The object to serailize. A JSON string representation of the object. - - - Minifies a string in a way that can be reversed by this instance of . - - The string to be minified - A minified representation of the without the following characters:,|\ - - - - Reverses a call that was executed at least once previously on this instance of - without any subsequent calls to sharing the - same argument as the call that returned . - - - A minified string that was returned by a previous call to . - - - The argument of all previous calls to that returned . - If every call to on this instance of has never - returned or if the most recent call to that did - return was followed by a call to sharing - the same argument, may return null but must not throw. - - - + - A call to this function indicates that any future attempt to unminify strings that were previously minified - from may be met with a null return value. This provides an opportunity clean up - any internal data structures that reference . + Helper class for common JSON operations. - The string that may have previously have been minified. - + - This class is the main coordinator. - It schedules work to be done for a particular subscription. + Converts the specified name to camel case. + The name to convert. + A camel cased version of the specified name. - + - Represents a message to the scaleout backplane + Gets a string that returns JSON mime type "application/json; charset=UTF-8". - + - The messages from SignalR + Gets a string that returns JSONP mime type "application/javascript; charset=UTF-8". - + - The time the message was created on the origin server + Creates a default instance. + The newly created . - + - Common base class for scaleout message bus implementations. + Creates a instance with the default setting. + The newly created . - + - + A converter for dictionaries that uses a SipHash comparer @@ -2116,310 +2334,219 @@ - + - + Which connection the message originated from - - + - + The signal for the message (connection id, group, etc) - - - - - - + - Publishes a new message to the specified event on the bus. + The message payload - The message to publish. - + - + The command id if this message is a command - - - - - - - + - Creates a topic for the specified key. + Determines if the caller should wait for acknowledgement for this message - The key to create the topic for. - A for the specified key. - + - Opens the specified queue for sending messages. - The index of the stream to open. + Determines if this message is itself an ACK - + - Closes the specified queue. - The index of the stream to close. + A list of connection ids to filter out - + - Closes the specified queue for sending messages making all sends fail asynchronously. + The encoding of the message - The index of the stream to close. - The error that occurred. - + - Sends messages to the backplane + The payload id. Only used in scaleout scenarios - The list of messages to send - - + - Invoked when a payload is received from the backplane. There should only be one active call at any time. + The stream index this message came from. Only used the scaleout scenarios. - id of the stream. - id of the payload within that stream. - The scaleout message. - - + - The number of streams can't change for the lifetime of this instance. + This class is the main coordinator. + It schedules work to be done for a particular subscription. - + - - - Initializes a new instance of the struct. - - The array of messages associated with this . - The amount of messages populated in the messages array. - - - - Gets an associated with the result. - - - - - Common settings for scale-out message bus implementations. - - - - - Gets or sets a value that represents the queuing behavior for scale-out messages. - Defaults to QueuingBehavior.InitialOnly - - - - - The maximum length of the outgoing send queue. Messages being sent to the backplane are queued - up to this length. After the max length is reached, further sends will throw an InvalidOperationException. - - - - - Responsible for creating instances. - - - - - Creates a new instance of the class. - - The dependency resolver to use for when creating the . - - - - Creates an instance of the specified type using the dependency resolver or the type's default constructor. - - The type of to create. - An instance of a . - - - - Helpers for decoding URI query components. - - - - - Standard keys and values for use within the OWIN interfaces - - - + - Maps SignalR hubs to the app builder pipeline at "/signalr". + - The app builder + - + - Maps SignalR hubs to the app builder pipeline at "/signalr". + - The app builder - The to use + + + + + - + - Maps SignalR hubs to the app builder pipeline at the specified path. + Publishes a new message to the specified event on the bus. - The app builder - The path to map signalr hubs - The to use + The message to publish. - + - Adds SignalR hubs to the app builder pipeline. + - The app builder + + + + + + - + - Adds SignalR hubs to the app builder pipeline. + Creates a topic for the specified key. - The app builder - The to use + The key to create the topic for. + A for the specified key. - - - Maps the specified SignalR to the app builder pipeline at - the specified path. + + + - The type of - The app builder - The path to map the - + - Maps the specified SignalR to the app builder pipeline at - the specified path. + Gets an associated with the result. - The type of - The app builder - The path to map the persistent connection - The to use - - + - Maps the specified SignalR to the app builder pipeline at - the specified path. + Initializes a new instance of the struct. - The app builder - The path to map the persistent connection - The type of - The to use + The array of messages associated with this . + The amount of messages populated in the messages array. - + - Adds the specified SignalR to the app builder. + Common settings for scale-out message bus implementations. - The type of - The app builder - + - Adds the specified SignalR to the app builder. + Gets or sets a value that represents the queuing behavior for scale-out messages. + Defaults to QueuingBehavior.InitialOnly - The type of - The app builder - The to use - - + - Adds the specified SignalR to the app builder. + The maximum length of the outgoing send queue. Messages being sent to the backplane are queued + up to this length. After the max length is reached, further sends will throw an InvalidOperationException. - The app builder - The type of - The to use - - + - Describes hub descriptor provider, which provides information about available hubs. + Represents a message to the scaleout backplane - + - Retrieve all avaiable hubs. + The messages from SignalR - Collection of hub descriptors. - + - Tries to retrieve hub with a given name. + The time the message was created on the origin server - Name of the hub. - Retrieved descriptor object. - True, if hub has been found - + - Provides methods that communicate with SignalR connections that connected to a . + Common base class for scaleout message bus implementations. - + - + The number of streams can't change for the lifetime of this instance. - + - This constructor is only intended to enable mocking of the class. Use of this constructor - for other purposes may result in unexpected behavior. + Opens the specified queue for sending messages. + The index of the stream to open. - + - Gets the connection id of the calling client. + Closes the specified queue. + The index of the stream to close. - + - Gets the cookies for the request. + Closes the specified queue for sending messages making all sends fail asynchronously. + The index of the stream to close. + The error that occurred. - + - Gets the headers for the request. + Sends messages to the backplane + The list of messages to send + - + - Gets the querystring for the request. + Invoked when a payload is received from the backplane. There should only be one active call at any time. + id of the stream. + id of the payload within that stream. + The scaleout message. + - + - Gets the for the request. + Standard keys and values for use within the OWIN interfaces - + - Gets the for the current HTTP request. + Represents a connection between client and server. - + - Handles all communication over the hubs persistent connection. + Gets the for the . - + - Represents a connection between client and server. + Gets the for the . @@ -2441,6 +2568,17 @@ Thrown if the connection id wasn't specified. + + + Validates the connection token and extracts the connection ID from it. + + The representing the request. + The connection token to validate. + If this method returns true, this output parameter receives the connection ID contained within the token. + If this method returns false, this output parameter receives an error message to report. + If this method returns false, this output parameter receives an HTTP status code to report. + A boolean indicating if the connection token was valid. + Returns the signals used in the . @@ -2504,107 +2642,6 @@ A that completes when the disconnect operation is complete. - - - Gets the for the . - - - - - Gets the for the . - - - - - Initializes an instance of the class. - - Configuration settings determining whether to enable JS proxies and provide clients with detailed hub errors. - - - - Processes the hub's incoming method calls. - - - - - Helper class for common JSON operations. - - - - - Converts the specified name to camel case. - - The name to convert. - A camel cased version of the specified name. - - - - Creates a default instance. - - The newly created . - - - - Creates a instance with the default setting. - - The newly created . - - - - Gets a string that returns JSON mime type "application/json; charset=UTF-8". - - - - - Gets a string that returns JSONP mime type "application/javascript; charset=UTF-8". - - - - - The default implementation. - - - - - Initializes a new instance of the class. - - The this group resides on. - The prefix for this group. Either a name or type name. - - - - Sends a value to the specified group. - - The name of the group. - The value to send. - The list of connection ids to exclude - A task that represents when send is complete. - - - - Sends a value to the specified group. - - The names of the groups. - The value to send. - The list of connection ids to exclude - A task that represents when send is complete. - - - - Adds a connection to the specified group. - - The connection id to add to the group. - The name of the group - A task that represents the connection id being added to the group. - - - - Removes a connection from the specified group. - - The connection id to remove from the group. - The name of the group - A task that represents the connection id being removed from the group. - A strongly-typed resource class, for looking up localized strings, etc. @@ -2691,11 +2728,6 @@ Looks up a localized string similar to Duplicate payload id detected for stream '{0}'.. - - - Looks up a localized string similar to Error creating Hub {0}. . - - Looks up a localized string similar to The ExceptionContext has already been modified once and cannot be modified again.. @@ -2746,6 +2778,11 @@ Looks up a localized string similar to KeepAlive value must be no more than a third of the DisconnectTimeout.. + + + Looks up a localized string similar to The value of the MaxScaleoutMappingsPerStream property must be greater or equal to zero.. + + Looks up a localized string similar to '{0}' method could not be resolved. No method found with that name.. @@ -2863,57 +2900,27 @@ - Looks up a localized string similar to Using a Hub instance not created by the HubPipeline is unsupported.. - - - - - Looks up a localized string similar to WebSockets is not supported.. - - - - - Looks up a localized string similar to Forbidden: JSONP is disabled.. - - - - - Looks up a localized string similar to None of the classes from assembly "{0}" could be loaded when searching for Hubs. [{1}] - - Original exception type: {2} - Original exception message: {3} - - . - - - - - Represents a connection that can be tracked by an . - - - - - Applies a new state to the connection. + Looks up a localized string similar to Using a Hub instance not created by the HubPipeline is unsupported.. - + - Causes the connection to disconnect. + Looks up a localized string similar to WebSockets is not supported.. - + - Causes the connection to timeout. + Looks up a localized string similar to Forbidden: JSONP is disabled.. - + - Sends a keep alive ping over the connection. + Looks up a localized string similar to The hub name '{0}' is invalid.. - + - Kills the connection. + Represents a connection that can be tracked by an . @@ -2961,24 +2968,45 @@ Gets the uri of the connection. - + - Represents a transport that communicates + Applies a new state to the connection. - + - Processes the specified for this transport. + Causes the connection to disconnect. - The to process. - A that completes when the transport has finished processing the connection. - + - Sends data over the transport. + Causes the connection to timeout. + + + + + Sends a keep alive ping over the connection. + + + + + Increments performance counter for current connections. + + + + + Decrements performance counter for current connections. + + + + + Kills the connection. + + + + + Represents a transport that communicates - The value to be sent. - A that completes when the send is complete. @@ -3005,10 +3033,25 @@ Gets or sets the connection id for the transport. - + + + Get groupsToken in request over the transport. + + groupsToken in request + + + + Processes the specified for this transport. + + The to process. + A that completes when the transport has finished processing the connection. + + - Pointed to the HTMLOutputWriter to wrap output stream with an HTML friendly one + Sends data over the transport. + The value to be sent. + A that completes when the send is complete. @@ -3059,35 +3102,6 @@ The name of the transport to test. True if the transport is supported, otherwise False. - - - Default implementation of . - - - - - Initializes and instance of the class. - - The . - - - - Adds a new connection to the list of tracked connections. - - The connection to be added. - - - - Removes a connection from the list of tracked connections. - - The connection to remove. - - - - Marks an existing connection as active. - - The connection to mark. - Represents a response to a connection. @@ -3100,13 +3114,6 @@ A filter that determines whether messages should be written to the client. The cursor writer. - - - Serializes only the necessary components of the to JSON - using Json.NET's JsonTextWriter to improve performance. - - The that receives the JSON serialization. - The list of messages to be sent to the receiving connection. @@ -3142,110 +3149,168 @@ The time the long polling client should wait before reestablishing a connection if no data is received. - + - A communication channel for a and its connections. + Serializes only the necessary components of the to JSON + using Json.NET's JsonTextWriter to improve performance. + The that receives the JSON serialization. - + - Sends a message to connections subscribed to the signal. + Default implementation of . - The message to send. - A task that returns when the message has be sent. - + - The main signal for this connection. This is the main signalr for a . + Initializes and instance of the class. + The . - + - Which connection the message originated from + Adds a new connection to the list of tracked connections. + The connection to be added. - + - The signal for the message (connection id, group, etc) + Removes a connection from the list of tracked connections. + The connection to remove. - + - The message payload + Marks an existing connection as active. + The connection to mark. - + - The command id if this message is a command + The default implementation. - + - Determines if the caller should wait for acknowledgement for this message + Initializes a new instance of class. + The default . - + - Determines if this message is itself an ACK + Adds a new transport to the list of supported transports. + The specified transport. + The factory method for the specified transport. - + - A list of connection ids to filter out + Removes a transport from the list of supported transports. + The specified transport. - + - The encoding of the message + Gets the specified transport for the specified . + The for the current request. + The for the specified . - + - The payload id. Only used in scaleout scenarios + Determines whether the specified transport is supported. + The name of the transport to test. + True if the transport is supported, otherwise False. - + - The stream index this message came from. Only used the scaleout scenarios. + Maps SignalR hubs to the app builder pipeline at "/signalr". + The app builder - + - The default implementation. + Maps SignalR hubs to the app builder pipeline at "/signalr". + The app builder + The to use - + - Initializes a new instance of class. + Maps SignalR hubs to the app builder pipeline at the specified path. - The default . + The app builder + The path to map signalr hubs + The to use - + - Adds a new transport to the list of supported transports. + Adds SignalR hubs to the app builder pipeline. - The specified transport. - The factory method for the specified transport. + The app builder - + - Removes a transport from the list of supported transports. + Adds SignalR hubs to the app builder pipeline. - The specified transport. + The app builder + The to use - + - Gets the specified transport for the specified . + Maps the specified SignalR to the app builder pipeline at + the specified path. - The for the current request. - The for the specified . + The type of + The app builder + The path to map the - + - Determines whether the specified transport is supported. + Maps the specified SignalR to the app builder pipeline at + the specified path. - The name of the transport to test. - True if the transport is supported, otherwise False. + The type of + The app builder + The path to map the persistent connection + The to use + + + + + Maps the specified SignalR to the app builder pipeline at + the specified path. + + The app builder + The path to map the persistent connection + The type of + The to use + + + + Adds the specified SignalR to the app builder. + + The type of + The app builder + + + + Adds the specified SignalR to the app builder. + + The type of + The app builder + The to use + + + + + Adds the specified SignalR to the app builder. + + The app builder + The type of + The to use + diff --git a/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/Microsoft.AspNet.SignalR.SelfHost.2.1.1.nupkg b/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/Microsoft.AspNet.SignalR.SelfHost.2.1.1.nupkg deleted file mode 100644 index 543d8d4..0000000 Binary files a/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/Microsoft.AspNet.SignalR.SelfHost.2.1.1.nupkg and /dev/null differ diff --git a/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/readme.txt b/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/readme.txt deleted file mode 100644 index 509557e..0000000 --- a/packages/Microsoft.AspNet.SignalR.SelfHost.2.1.1/readme.txt +++ /dev/null @@ -1,94 +0,0 @@ -Please see http://go.microsoft.com/fwlink/?LinkId=272764 for more information on using SignalR. - -Upgrading from 1.x to 2.0 -------------------------- -Please see http://go.microsoft.com/fwlink/?LinkId=320578 for more information on how to -upgrade your SignalR 1.x application to 2.0. - -Mapping the Hubs connection ----------------------------------------- -SignalR Hubs will not work without a Hub route being configured. To register the default Hubs route, create a class called Startup -with the signature below and call app.MapSignalR() in your application's Configuration method. e.g.: - -using Microsoft.AspNet.SignalR; -using Owin; - -namespace MyWebApplication -{ - public class Startup - { - public void Configuration(IAppBuilder app) - { - app.MapSignalR(); - } - } -} - -Enabling cross-domain requests ---------------------------------------- -To enable CORS requests, Install-Package Microsoft.Owin.Cors and change the startup class to look like the following: - -using Microsoft.AspNet.SignalR; -using Microsoft.Owin.Cors; -using Owin; - -namespace MyWebApplication -{ - public class Startup - { - public void Configuration(IAppBuilder app) - { - app.Map("/signalr", map => - { - // Setup the cors middleware to run before SignalR. - // By default this will allow all origins. You can - // configure the set of origins and/or http verbs by - // providing a cors options with a different policy. - map.UseCors(CorsOptions.AllowAll); - - var hubConfiguration = new HubConfiguration - { - // You can enable JSONP by uncommenting line below. - // JSONP requests are insecure but some older browsers (and some - // versions of IE) require JSONP to work cross domain - // EnableJSONP = true - }; - - // Run the SignalR pipeline. We're not using MapSignalR - // since this branch is already runs under the "/signalr" - // path. - map.RunSignalR(hubConfiguration); - }); - } - } -} - - - -Starting the Web server --------------------------------- -To start the web server, call WebApp.Start(endpoint). You should now be able to navigate to endpoint/signalr/hubs in your browser. - -using System; -using Microsoft.Owin.Hosting; - -namespace MyWebApplication -{ - public class Program - { - static void Main(string[] args) - { - // This will *ONLY* bind to localhost, if you want to bind to all addresses - // use http://*:8080 or http://+:8080 to bind to all addresses. - // See http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx - // for more information. - - using (WebApp.Start("http://localhost:8080/")) - { - Console.WriteLine("Server running at http://localhost:8080/"); - Console.ReadLine(); - } - } - } -} - diff --git a/packages/Microsoft.AspNet.SignalR.SelfHost.2.4.1/.signature.p7s b/packages/Microsoft.AspNet.SignalR.SelfHost.2.4.1/.signature.p7s new file mode 100644 index 0000000..0c93542 Binary files /dev/null and b/packages/Microsoft.AspNet.SignalR.SelfHost.2.4.1/.signature.p7s differ diff --git a/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf b/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Bcl.1.1.9/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg b/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg deleted file mode 100644 index 7825d24..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/Microsoft.Bcl.1.1.9.nupkg and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/content/monoandroid/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/content/monotouch/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/net45/_._ b/packages/Microsoft.Bcl.1.1.9/content/net45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wp8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wp8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net45+win8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-net451+win81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/portable-win81+wp81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/portable-win81+wp81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl4/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl4/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/sl5/_._ b/packages/Microsoft.Bcl.1.1.9/content/sl5/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/win8/_._ b/packages/Microsoft.Bcl.1.1.9/content/win8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/content/wp8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/content/wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monoandroid/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._ b/packages/Microsoft.Bcl.1.1.9/lib/monotouch/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll deleted file mode 100644 index 578c237..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml deleted file mode 100644 index 865aa1a..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.IO.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.IO - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/net40/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net40/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/net40/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/net45/_._ b/packages/Microsoft.Bcl.1.1.9/lib/net45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll deleted file mode 100644 index 88e07e2..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml deleted file mode 100644 index 53f5bef..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Runtime.xml +++ /dev/null @@ -1,860 +0,0 @@ - - - - System.Runtime - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Argument must be of type {0}.. - - - - - Looks up a localized string similar to The last element of an eight element tuple must be a Tuple.. - - - - - Defines methods to support the comparison of objects for structural equality. - - - - - Determines whether an object is structurally equal to the current instance. - - The object to compare with the current instance. - An object that determines whether the current instance and other are equal. - true if the two objects are equal; otherwise, false. - - - - Returns a hash code for the current instance. - - An object that computes the hash code of the current object. - The hash code for the current instance. - - - - Supports the structural comparison of collection objects. - - - - - Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order. - - The object to compare with the current instance. - An object that compares members of the current collection object with the corresponding members of other. - An integer that indicates the relationship of the current collection object to other. - - This instance and other are not the same type. - - - - - Encapsulates a method that has five parameters and returns a value of the type specified by the TResult parameter. - - The type of the first parameter of the method that this delegate encapsulates. - The type of the second parameter of the method that this delegate encapsulates. - The type of the third parameter of the method that this delegate encapsulates. - The type of the fourth parameter of the method that this delegate encapsulates. - The type of the fifth parameter of the method that this delegate encapsulates. - The type of the return value of the method that this delegate encapsulates. - The first parameter of the method that this delegate encapsulates. - The second parameter of the method that this delegate encapsulates. - The third parameter of the method that this delegate encapsulates. - The fourth parameter of the method that this delegate encapsulates. - The fifth parameter of the method that this delegate encapsulates. - The return value of the method that this delegate encapsulates. - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - - Helper so we can call some tuple methods recursively without knowing the underlying types. - - - - - Provides static methods for creating tuple objects. - - - - - Creates a new 1-tuple, or singleton. - - The type of the only component of the tuple. - The value of the only component of the tuple. - A tuple whose value is (item1). - - - - Creates a new 3-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - An 2-tuple (pair) whose value is (item1, item2). - - - - Creates a new 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - An 3-tuple (triple) whose value is (item1, item2, item3). - - - - Creates a new 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - An 4-tuple (quadruple) whose value is (item1, item2, item3, item4). - - - - Creates a new 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - An 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). - - - - Creates a new 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - An 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). - - - - Creates a new 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - An 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). - - - - Creates a new 8-tuple, or octuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The type of the eighth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - The value of the eighth component of the tuple. - An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). - - - - Represents a 1-tuple, or singleton. - - The type of the tuple's only component. - - - - Initializes a new instance of the class. - - The value of the current tuple object's single component. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the tuple object's single component. - - - The value of the current tuple object's single component. - - - - - Represents an 2-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Represents an 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Represents an 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Represents an 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Represents an 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Represents an 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Represents an n-tuple, where n is 8 or greater. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - Any generic Tuple object that defines the types of the tuple's remaining components. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - Any generic Tuple object that contains the values of the tuple's remaining components. - - rest is not a generic Tuple object. - - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Gets the current tuple object's remaining components. - - - The value of the current tuple object's remaining components. - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - 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. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - 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. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - 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 using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current 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. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp71+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - 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. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - 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. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - 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 using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current 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. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - 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. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - 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. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - 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 using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current 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. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl4+win8/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+sl5+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8+wp8+wpa81/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll deleted file mode 100644 index 578c237..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml deleted file mode 100644 index 865aa1a..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.IO.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - System.IO - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/portable-net40+win8/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wp8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wp8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net45+win8+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-net451+win81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/portable-win81+wp81+wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/portable-win81+wp81+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll deleted file mode 100644 index 88e07e2..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml deleted file mode 100644 index 53f5bef..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Runtime.xml +++ /dev/null @@ -1,860 +0,0 @@ - - - - System.Runtime - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Argument must be of type {0}.. - - - - - Looks up a localized string similar to The last element of an eight element tuple must be a Tuple.. - - - - - Defines methods to support the comparison of objects for structural equality. - - - - - Determines whether an object is structurally equal to the current instance. - - The object to compare with the current instance. - An object that determines whether the current instance and other are equal. - true if the two objects are equal; otherwise, false. - - - - Returns a hash code for the current instance. - - An object that computes the hash code of the current object. - The hash code for the current instance. - - - - Supports the structural comparison of collection objects. - - - - - Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order. - - The object to compare with the current instance. - An object that compares members of the current collection object with the corresponding members of other. - An integer that indicates the relationship of the current collection object to other. - - This instance and other are not the same type. - - - - - Encapsulates a method that has five parameters and returns a value of the type specified by the TResult parameter. - - The type of the first parameter of the method that this delegate encapsulates. - The type of the second parameter of the method that this delegate encapsulates. - The type of the third parameter of the method that this delegate encapsulates. - The type of the fourth parameter of the method that this delegate encapsulates. - The type of the fifth parameter of the method that this delegate encapsulates. - The type of the return value of the method that this delegate encapsulates. - The first parameter of the method that this delegate encapsulates. - The second parameter of the method that this delegate encapsulates. - The third parameter of the method that this delegate encapsulates. - The fourth parameter of the method that this delegate encapsulates. - The fifth parameter of the method that this delegate encapsulates. - The return value of the method that this delegate encapsulates. - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - - Helper so we can call some tuple methods recursively without knowing the underlying types. - - - - - Provides static methods for creating tuple objects. - - - - - Creates a new 1-tuple, or singleton. - - The type of the only component of the tuple. - The value of the only component of the tuple. - A tuple whose value is (item1). - - - - Creates a new 3-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - An 2-tuple (pair) whose value is (item1, item2). - - - - Creates a new 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - An 3-tuple (triple) whose value is (item1, item2, item3). - - - - Creates a new 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - An 4-tuple (quadruple) whose value is (item1, item2, item3, item4). - - - - Creates a new 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - An 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). - - - - Creates a new 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - An 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). - - - - Creates a new 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - An 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). - - - - Creates a new 8-tuple, or octuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - The type of the eighth component of the tuple. - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - The value of the eighth component of the tuple. - An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). - - - - Represents a 1-tuple, or singleton. - - The type of the tuple's only component. - - - - Initializes a new instance of the class. - - The value of the current tuple object's single component. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the tuple object's single component. - - - The value of the current tuple object's single component. - - - - - Represents an 2-tuple, or pair. - - The type of the first component of the tuple. - The type of the second component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Represents an 3-tuple, or triple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Represents an 4-tuple, or quadruple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Represents an 5-tuple, or quintuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Represents an 6-tuple, or sextuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Represents an 7-tuple, or septuple. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Represents an n-tuple, where n is 8 or greater. - - The type of the first component of the tuple. - The type of the second component of the tuple. - The type of the third component of the tuple. - The type of the fourth component of the tuple. - The type of the fifth component of the tuple. - The type of the sixth component of the tuple. - The type of the seventh component of the tuple. - Any generic Tuple object that defines the types of the tuple's remaining components. - - - - Initializes a new instance of the class. - - The value of the first component of the tuple. - The value of the second component of the tuple. - The value of the third component of the tuple. - The value of the fourth component of the tuple. - The value of the fifth component of the tuple. - The value of the sixth component of the tuple. - The value of the seventh component of the tuple. - Any generic Tuple object that contains the values of the tuple's remaining components. - - rest is not a generic Tuple object. - - - - - Returns a value that indicates whether the current tuple object is equal to a specified object. - - The object to compare with this instance. - true if the current instance is equal to the specified object; otherwise, false. - - - - Calculates the hash code for the current tuple object. - - A 32-bit signed integer hash code. - - - - Returns a string that represents the value of this tuple instance. - - The string representation of this tuple object. - - - - Gets the value of the current tuple object's first component. - - - The value of the current tuple object's first component. - - - - - Gets the value of the current tuple object's second component. - - - The value of the current tuple object's second component. - - - - - Gets the value of the current tuple object's third component. - - - The value of the current tuple object's third component. - - - - - Gets the value of the current tuple object's fourth component. - - - The value of the current tuple object's fourth component. - - - - - Gets the value of the current tuple object's fifth component. - - - The value of the current tuple object's fifth component. - - - - - Gets the value of the current tuple object's sixth component. - - - The value of the current tuple object's sixth component. - - - - - Gets the value of the current tuple object's seventh component. - - - The value of the current tuple object's seventh component. - - - - - Gets the current tuple object's remaining components. - - - The value of the current tuple object's remaining components. - - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - 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. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - 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. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - 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 using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current 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. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/ensureRedirect.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4-windowsphone71/ensureRedirect.xml deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll deleted file mode 100644 index 23d6d1a..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml deleted file mode 100644 index 6c77012..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl4/System.Threading.Tasks.xml +++ /dev/null @@ -1,8969 +0,0 @@ - - - - System.Threading.Tasks - - - - Represents one or more errors that occur during application execution. - - is used to consolidate multiple failures into a single, throwable - exception object. - - - - - 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. - The argument - is null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with - references to the inner exceptions that are the cause of this exception. - - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Initializes a new instance of the class with a specified error - message and references to the inner exceptions that are the cause of this exception. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Allocates a new aggregate exception with the specified message and list of inner exceptions. - - The error message that explains the reason for the exception. - The exceptions that are the cause of the current exception. - The argument - is null. - An element of is - null. - - - - Returns the that is the root cause of this exception. - - - - - Invokes a handler on each contained by this . - - The predicate to execute for each exception. The predicate accepts as an - argument the to be processed and returns a Boolean to indicate - whether the exception was handled. - - Each invocation of the returns true or false to indicate whether the - was handled. After all invocations, if any exceptions went - unhandled, all unhandled exceptions will be put into a new - which will be thrown. Otherwise, the method simply returns. If any - invocations of the throws an exception, it will halt the processing - of any more exceptions and immediately propagate the thrown exception as-is. - - An exception contained by this was not handled. - The argument is - null. - - - - Flattens an instances into a single, new instance. - - A new, flattened . - - If any inner exceptions are themselves instances of - , this method will recursively flatten all of them. The - inner exceptions returned in the new - will be the union of all of the the inner exceptions from exception tree rooted at the provided - instance. - - - - - Creates and returns a string representation of the current . - - A string representation of the current exception. - - - - Gets a read-only collection of the instances that caused the - current exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to One or more errors occurred.. - - - - - Looks up a localized string similar to An element of innerExceptions was null.. - - - - - Looks up a localized string similar to {0}{1}---> (Inner Exception #{2}) {3}{4}{5}. - - - - - Looks up a localized string similar to No tokens were supplied.. - - - - - Looks up a localized string similar to The CancellationTokenSource associated with this CancellationToken has been disposed.. - - - - - Looks up a localized string similar to The CancellationTokenSource has been disposed.. - - - - - Looks up a localized string similar to The SyncRoot property may not be used for the synchronization of concurrent collections.. - - - - - Looks up a localized string similar to The array is multidimensional, or the type parameter for the set cannot be cast automatically to the type of the destination array.. - - - - - Looks up a localized string similar to The index is equal to or greater than the length of the array, or the number of elements in the dictionary is greater than the available space from index to the end of the destination array.. - - - - - Looks up a localized string similar to The capacity argument must be greater than or equal to zero.. - - - - - Looks up a localized string similar to The concurrencyLevel argument must be positive.. - - - - - Looks up a localized string similar to The index argument is less than zero.. - - - - - Looks up a localized string similar to TKey is a reference type and item.Key is null.. - - - - - Looks up a localized string similar to The key already existed in the dictionary.. - - - - - Looks up a localized string similar to The source argument contains duplicate keys.. - - - - - Looks up a localized string similar to The key was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The value was of an incorrect type for this dictionary.. - - - - - Looks up a localized string similar to The lazily-initialized type does not have a public, parameterless constructor.. - - - - - Looks up a localized string similar to ValueFactory returned null.. - - - - - Looks up a localized string similar to The spinCount argument must be in the range 0 to {0}, inclusive.. - - - - - Looks up a localized string similar to There are too many threads currently waiting on the event. A maximum of {0} waiting threads are supported.. - - - - - Looks up a localized string similar to The event has been disposed.. - - - - - Looks up a localized string similar to The operation was canceled.. - - - - - Looks up a localized string similar to The condition argument is null.. - - - - - Looks up a localized string similar to The timeout must represent a value between -1 and Int32.MaxValue, inclusive.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running.. - - - - - Looks up a localized string similar to The specified TaskContinuationOptions excluded all continuation kinds.. - - - - - Looks up a localized string similar to (Internal)An attempt was made to create a LongRunning SelfReplicating task.. - - - - - Looks up a localized string similar to The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue.. - - - - - Looks up a localized string similar to The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.. - - - - - Looks up a localized string similar to A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync.. - - - - - Looks up a localized string similar to FromAsync was called with a TaskManager that had already shut down.. - - - - - Looks up a localized string similar to The tasks argument contains no tasks.. - - - - - Looks up a localized string similar to It is invalid to exclude specific continuation kinds for continuations off of multiple tasks.. - - - - - Looks up a localized string similar to The tasks argument included a null value.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that was already started.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a continuation task.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.. - - - - - Looks up a localized string similar to RunSynchronously may not be called on a task that has already completed.. - - - - - Looks up a localized string similar to Start may not be called on a task that was already started.. - - - - - Looks up a localized string similar to Start may not be called on a continuation task.. - - - - - Looks up a localized string similar to Start may not be called on a task with null action.. - - - - - Looks up a localized string similar to Start may not be called on a promise-style task.. - - - - - Looks up a localized string similar to Start may not be called on a task that has completed.. - - - - - Looks up a localized string similar to The task has been disposed.. - - - - - Looks up a localized string similar to The tasks array included at least one null element.. - - - - - Looks up a localized string similar to The awaited task has not yet completed.. - - - - - Looks up a localized string similar to A task was canceled.. - - - - - Looks up a localized string similar to The exceptions collection was empty.. - - - - - Looks up a localized string similar to The exceptions collection included at least one null element.. - - - - - Looks up a localized string similar to A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.. - - - - - Looks up a localized string similar to (Internal)Expected an Exception or an IEnumerable<Exception>. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was already executed.. - - - - - Looks up a localized string similar to ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler.. - - - - - Looks up a localized string similar to The current SynchronizationContext may not be used as a TaskScheduler.. - - - - - Looks up a localized string similar to The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked.. - - - - - Looks up a localized string similar to An exception was thrown by a TaskScheduler.. - - - - - Looks up a localized string similar to It is invalid to specify TaskCreationOptions.SelfReplicating for a Task<TResult>.. - - - - - Looks up a localized string similar to {Not yet computed}. - - - - - Looks up a localized string similar to A task's Exception may only be set directly if the task was created without a function.. - - - - - Looks up a localized string similar to An attempt was made to transition a task to a final state when it had already completed.. - - - - - Represents a thread-safe collection of keys and values. - - The type of the keys in the dictionary. - The type of the values in the dictionary. - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads. - - - - - Initializes a new instance of the - class that is empty, has the default concurrency level, has the default initial capacity, and - uses the default comparer for the key type. - - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the default - comparer for the key type. - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - is - less than 1. - is less than - 0. - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency - level, has the default initial capacity, and uses the default comparer for the key type. - - The whose elements are copied to - the new - . - is a null reference - (Nothing in Visual Basic). - contains one or more - duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level and capacity, and uses the specified - . - - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). - - - - Initializes a new instance of the - class that contains elements copied from the specified , has the default concurrency level, has the default - initial capacity, and uses the specified - . - - The whose elements are copied to - the new - . - The - implementation to use when comparing keys. - is a null reference - (Nothing in Visual Basic). -or- - is a null reference (Nothing in Visual Basic). - - - - - Initializes a new instance of the - class that contains elements copied from the specified , - has the specified concurrency level, has the specified initial capacity, and uses the specified - . - - The estimated number of threads that will update the - concurrently. - The whose elements are copied to the new - . - The implementation to use - when comparing keys. - - is a null reference (Nothing in Visual Basic). - -or- - is a null reference (Nothing in Visual Basic). - - - is less than 1. - - contains one or more duplicate keys. - - - - Initializes a new instance of the - class that is empty, has the specified concurrency level, has the specified initial capacity, and - uses the specified . - - The estimated number of threads that will update the - concurrently. - The initial number of elements that the - can contain. - The - implementation to use when comparing keys. - - is less than 1. -or- - is less than 0. - - is a null reference - (Nothing in Visual Basic). - - - - Attempts to add the specified key and value to the . - - The key of the element to add. - The value of the element to add. The value can be a null reference (Nothing - in Visual Basic) for reference types. - true if the key/value pair was added to the - successfully; otherwise, false. - is null reference - (Nothing in Visual Basic). - The - contains too many elements. - - - - Determines whether the contains the specified - key. - - The key to locate in the . - true if the contains an element with - the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Attempts to remove and return the the value with the specified key from the - . - - The key of the element to remove and return. - When this method returns, contains the object removed from the - or the default value of - if the operation failed. - true if an object was removed successfully; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Removes the specified key from the dictionary if it exists and returns its associated value. - If matchValue flag is set, the key will be removed only if is associated with a particular - value. - - The key to search for and remove if it exists. - The variable into which the removed value, if found, is stored. - Whether removal of the key is conditional on its value. - The conditional value to compare against if is true - - - - - Attempts to get the value associated with the specified key from the . - - The key of the value to get. - When this method returns, contains the object from - the - with the spedified key or the default value of - , if the operation failed. - true if the key was found in the ; - otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - - Compares the existing value for the specified key with a specified value, and if they’re equal, - updates the key with a third value. - - The key whose value is compared with and - possibly replaced. - The value that replaces the value of the element with if the comparison results in equality. - The value that is compared to the value of the element with - . - true if the value with was equal to and replaced with ; otherwise, - false. - is a null - reference. - - - - Removes all keys and values from the . - - - - - Copies the elements of the to an array of - type , starting at the - specified array index. - - The one-dimensional array of type - that is the destination of the elements copied from the . The array must have zero-based indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Copies the key and value pairs stored in the to a - new array. - - A new array containing a snapshot of key and value pairs copied from the . - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToPairs. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToEntries. - - - - - Copy dictionary contents to an array - shared implementation between ToArray and CopyTo. - - Important: the caller must hold all locks in m_locks before calling CopyToObjects. - - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Shared internal implementation for inserts and updates. - If key exists, we always return false; and if updateIfExists == true we force update with value; - If key doesn't exist, we always add value and return true; - - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - The function used to generate a value for the key - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value for the key as returned by valueFactory - if the key was not in the dictionary. - - - - Adds a key/value pair to the - if the key does not already exist. - - The key of the element to add. - the value to be added, if the key does not already exist - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The value for the key. This will be either the existing value for the key if the - key is already in the dictionary, or the new value if the key was not in the dictionary. - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The function used to generate a value for an absent key - The function used to generate a new value for an existing key - based on the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds a key/value pair to the if the key does not already - exist, or updates a key/value pair in the if the key - already exists. - - The key to be added or whose value should be updated - The value to be added for an absent key - The function used to generate a new value for an existing key based on - the key's existing value - is a null reference - (Nothing in Visual Basic). - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - The new value for the key. This will be either be the result of addValueFactory (if the key was - absent) or the result of updateValueFactory (if the key was present). - - - - Adds the specified key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - An element with the same key already exists in the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - true if the element is successfully remove; otherwise false. This method also returns - false if - was not found in the original . - - is a null reference - (Nothing in Visual Basic). - - - - Adds the specified value to the - with the specified key. - - The - structure representing the key and value to add to the . - The of is null. - The - contains too many elements. - An element with the same key already exists in the - - - - - Determines whether the - contains a specific key and value. - - The - structure to locate in the . - true if the is found in the ; otherwise, false. - - - - Removes a key and value from the dictionary. - - The - structure representing the key and value to remove from the . - true if the key and value represented by is successfully - found and removed; otherwise, false. - The Key property of is a null reference (Nothing in Visual Basic). - - - Returns an enumerator that iterates through the . - An enumerator for the . - - The enumerator returned from the dictionary is safe to use concurrently with - reads and writes to the dictionary, however it does not represent a moment-in-time snapshot - of the dictionary. The contents exposed through the enumerator may contain modifications - made to the dictionary after was called. - - - - - Adds the specified key and value to the dictionary. - - The object to use as the key. - The object to use as the value. - is a null reference - (Nothing in Visual Basic). - The dictionary contains too many - elements. - - is of a type that is not assignable to the key type of the . -or- - is of a type that is not assignable to , - the type of values in the . - -or- A value with the same key already exists in the . - - - - - Gets whether the contains an - element with the specified key. - - The key to locate in the . - true if the contains - an element with the specified key; otherwise, false. - is a null reference - (Nothing in Visual Basic). - - - Provides an for the - . - An for the . - - - - Removes the element with the specified key from the . - - The key of the element to remove. - is a null reference - (Nothing in Visual Basic). - - - - Copies the elements of the to an array, starting - at the specified array index. - - The one-dimensional array that is the destination of the elements copied from - the . The array must have zero-based - indexing. - The zero-based index in at which copying - begins. - is a null reference - (Nothing in Visual Basic). - is less than - 0. - is equal to or greater than - the length of the . -or- The number of elements in the source - is greater than the available space from to the end of the destination - . - - - - Replaces the internal table with a larger one. To prevent multiple threads from resizing the - table as a result of races, the table of buckets that was deemed too small is passed in as - an argument to GrowTable(). GrowTable() obtains a lock, and then checks whether the bucket - table has been replaced in the meantime or not. - - Reference to the bucket table that was deemed too small. - - - - Computes the bucket and lock number for a particular key. - - - - - Acquires all locks for this hash table, and increments locksAcquired by the number - of locks that were successfully acquired. The locks are acquired in an increasing - order. - - - - - Acquires a contiguous range of locks for this hash table, and increments locksAcquired - by the number of locks that were successfully acquired. The locks are acquired in an - increasing order. - - - - - Releases a contiguous range of locks. - - - - - Gets a collection containing the keys in the dictionary. - - - - - Gets a collection containing the values in the dictionary. - - - - - A helper method for asserts. - - - - - Get the data array to be serialized - - - - - Construct the dictionary from a previously seiralized one - - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key. If the specified key is not found, a get - operation throws a - , and a set operation creates a new - element with the specified key. - is a null reference - (Nothing in Visual Basic). - The property is retrieved and - - does not exist in the collection. - - - - Gets the number of key/value pairs contained in the . - - The dictionary contains too many - elements. - The number of key/value paris contained in the . - Count has snapshot semantics and represents the number of items in the - at the moment when Count was accessed. - - - - Gets a value that indicates whether the is empty. - - true if the is empty; otherwise, - false. - - - - Gets a collection containing the keys in the . - - An containing the keys in the - . - - - - Gets a collection containing the values in the . - - An containing the values in - the - . - - - - Gets a value indicating whether the dictionary is read-only. - - true if the is - read-only; otherwise, false. For , this property always returns - false. - - - - Gets a value indicating whether the has a fixed size. - - true if the has a - fixed size; otherwise, false. For , this property always - returns false. - - - - Gets a value indicating whether the is read-only. - - true if the is - read-only; otherwise, false. For , this property always - returns false. - - - - Gets an containing the keys of the . - - An containing the keys of the . - - - - Gets an containing the values in the . - - An containing the values in the . - - - - Gets or sets the value associated with the specified key. - - The key of the value to get or set. - The value associated with the specified key, or a null reference (Nothing in Visual Basic) - if is not in the dictionary or is of a type that is - not assignable to the key type of the . - is a null reference - (Nothing in Visual Basic). - - A value is being assigned, and is of a type that is not assignable to the - key type of the . -or- A value is being - assigned, and is of a type that is not assignable to the value type - of the - - - - - Gets a value indicating whether access to the is - synchronized with the SyncRoot. - - true if access to the is synchronized - (thread safe); otherwise, false. For , this property always - returns false. - - - - Gets an object that can be used to synchronize access to the . This property is not supported. - - The SyncRoot property is not supported. - - - - The number of concurrent writes for which to optimize by default. - - - - - A node in a singly-linked list representing a particular hash table bucket. - - - - - A private class to represent enumeration over the dictionary that implements the - IDictionaryEnumerator interface. - - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - - An interface similar to the one added in .NET 4.0. - - - - The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. - - - Initializes the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - - - Initializes the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - A cancellation token associated with the operation that was canceled. - - - Initializes the exception. - The error message that explains the reason for the exception. - The exception that is the cause of the current exception. - A cancellation token associated with the operation that was canceled. - - - Gets a token associated with the operation that was canceled. - - - - A dummy replacement for the .NET internal class StackCrawlMark. - - - - - Propogates notification that operations should be canceled. - - - - A may be created directly in an unchangeable canceled or non-canceled state - using the CancellationToken's constructors. However, to have a CancellationToken that can change - from a non-canceled to a canceled state, - CancellationTokenSource must be used. - CancellationTokenSource exposes the associated CancellationToken that may be canceled by the source through its - Token property. - - - Once canceled, a token may not transition to a non-canceled state, and a token whose - is false will never change to one that can be canceled. - - - All members of this struct are thread-safe and may be used concurrently from multiple threads. - - - - - - Internal constructor only a CancellationTokenSource should create a CancellationToken - - - - - Initializes the CancellationToken. - - - The canceled state for the token. - - - Tokens created with this constructor will remain in the canceled state specified - by the parameter. If is false, - both and will be false. - If is true, - both and will be true. - - - - - Registers a delegate that will be called when this CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Registers a delegate that will be called when this - CancellationToken is canceled. - - - - If this token is already in the canceled state, the - delegate will be run immediately and synchronously. Any exception the delegate generates will be - propogated out of this method call. - - - The delegate to be executed when the CancellationToken is canceled. - The state to pass to the when the delegate is invoked. This may be null. - A Boolean value that indicates whether to capture - the current SynchronizationContext and use it - when invoking the . - The instance that can - be used to deregister the callback. - is null. - The associated CancellationTokenSource has been disposed. - - - - Determines whether the current CancellationToken instance is equal to the - specified token. - - The other CancellationToken to which to compare this - instance. - True if the instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other object to which to compare this instance. - True if is a CancellationToken - and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated - with the same CancellationTokenSource or if they were both constructed - from public CancellationToken constructors and their values are equal. - An associated CancellationTokenSource has been disposed. - - - - Serves as a hash function for a CancellationToken. - - A hash code for the current CancellationToken instance. - - - - Determines whether two CancellationToken instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Determines whether two CancellationToken instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - An associated CancellationTokenSource has been disposed. - - - - Throws a OperationCanceledException if - this token has had cancellation requested. - - - This method provides functionality equivalent to: - - if (token.IsCancellationRequested) - throw new OperationCanceledException(token); - - - The token has had cancellation requested. - The associated CancellationTokenSource has been disposed. - - - - Returns an empty CancellationToken value. - - - The value returned by this property will be non-cancelable by default. - - - - - Gets whether cancellation has been requested for this token. - - Whether cancellation has been requested for this token. - - - This property indicates whether cancellation has been requested for this token, - either through the token initially being construted in a canceled state, or through - calling Cancel - on the token's associated . - - - If this property is true, it only guarantees that cancellation has been requested. - It does not guarantee that every registered handler - has finished executing, nor that cancellation requests have finished propagating - to all registered handlers. Additional synchronization may be required, - particularly in situations where related objects are being canceled concurrently. - - - - - - Gets whether this token is capable of being in the canceled state. - - - If CanBeCanceled returns false, it is guaranteed that the token will never transition - into a canceled state, meaning that will never - return true. - - - - - Gets a that is signaled when the token is canceled. - - Accessing this property causes a WaitHandle - to be instantiated. It is preferable to only use this property when necessary, and to then - dispose the associated instance at the earliest opportunity (disposing - the source will dispose of this allocated handle). The handle should not be closed or disposed directly. - - The associated CancellationTokenSource has been disposed. - - - - Represents a callback delegate that has been registered with a CancellationToken. - - - To unregister a callback, dispose the corresponding Registration instance. - - - - - Attempts to deregister the item. If it's already being run, this may fail. - Entails a full memory fence. - - True if the callback was found and deregistered, false otherwise. - - - - Disposes of the registration and unregisters the target callback from the associated - CancellationToken. - If the target callback is currently executing this method will wait until it completes, except - in the degenerate cases where a callback method deregisters itself. - - - - - Determines whether two CancellationTokenRegistration - instances are equal. - - The first instance. - The second instance. - True if the instances are equal; otherwise, false. - - - - Determines whether two CancellationTokenRegistration instances are not equal. - - The first instance. - The second instance. - True if the instances are not equal; otherwise, false. - - - - Determines whether the current CancellationTokenRegistration instance is equal to the - specified . - - The other object to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Determines whether the current CancellationToken instance is equal to the - specified . - - The other CancellationTokenRegistration to which to compare this instance. - True, if both this and are equal. False, otherwise. - Two CancellationTokenRegistration instances are equal if - they both refer to the output of a single call to the same Register method of a - CancellationToken. - - - - - Serves as a hash function for a CancellationTokenRegistration.. - - A hash code for the current CancellationTokenRegistration instance. - - - - Signals to a that it should be canceled. - - - - is used to instantiate a - (via the source's Token property) - that can be handed to operations that wish to be notified of cancellation or that can be used to - register asynchronous operations for cancellation. That token may have cancellation requested by - calling to the source's Cancel - method. - - - All members of this class, except Dispose, are thread-safe and may be used - concurrently from multiple threads. - - - - - The ID of the thread currently executing the main body of CTS.Cancel() - this helps us to know if a call to ctr.Dispose() is running 'within' a cancellation callback. - This is updated as we move between the main thread calling cts.Cancel() and any syncContexts that are used to - actually run the callbacks. - - - - Initializes the . - - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - However, this overload of Cancel will aggregate any exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Communicates a request for cancellation. - - - - The associated will be - notified of the cancellation and will transition to a state where - IsCancellationRequested returns true. - Any callbacks or cancelable operations - registered with the will be executed. - - - Cancelable operations and callbacks registered with the token should not throw exceptions. - If is true, an exception will immediately propagate out of the - call to Cancel, preventing the remaining callbacks and cancelable operations from being processed. - If is false, this overload will aggregate any - exceptions thrown into a , - such that one callback throwing an exception will not prevent other registered callbacks from being executed. - - - The that was captured when each callback was registered - will be reestablished when the callback is invoked. - - - Specifies whether exceptions should immediately propagate. - An aggregate exception containing all the exceptions thrown - by the registered callbacks on the associated . - This has been disposed. - - - - Releases the resources used by this . - - - This method is not thread-safe for any other concurrent calls. - - - - - Throws an exception if the source has been disposed. - - - - - InternalGetStaticSource() - - Whether the source should be set. - A static source to be shared among multiple tokens. - - - - Registers a callback object. If cancellation has already occurred, the - callback will have been run by the time this method returns. - - - - - - - - - - Invoke the Canceled event. - - - The handlers are invoked synchronously in LIFO order. - - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The first CancellationToken to observe. - The second CancellationToken to observe. - A CancellationTokenSource that is linked - to the source tokens. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Creates a CancellationTokenSource that will be in the canceled state - when any of the source tokens are in the canceled state. - - The CancellationToken instances to observe. - A CancellationTokenSource that is linked - to the source tokens. - is null. - A CancellationTokenSource associated with - one of the source tokens has been disposed. - - - - Gets whether cancellation has been requested for this CancellationTokenSource. - - Whether cancellation has been requested for this CancellationTokenSource. - - - This property indicates whether cancellation has been requested for this token source, such as - due to a call to its - Cancel method. - - - If this property returns true, it only guarantees that cancellation has been requested. It does not - guarantee that every handler registered with the corresponding token has finished executing, nor - that cancellation requests have finished propagating to all registered handlers. Additional - synchronization may be required, particularly in situations where related objects are being - canceled concurrently. - - - - - - A simple helper to determine whether cancellation has finished. - - - - - A simple helper to determine whether disposal has occured. - - - - - The ID of the thread that is running callbacks. - - - - - Gets the CancellationToken - associated with this . - - The CancellationToken - associated with this . - The token source has been - disposed. - - - - - - - - - - - - - - The currently executing callback - - - - - A helper class for collating the various bits of information required to execute - cancellation callbacks. - - - - - InternalExecuteCallbackSynchronously_GeneralPath - This will be called on the target synchronization context, however, we still need to restore the required execution context - - - - - A sparsely populated array. Elements can be sparse and some null, but this allows for - lock-free additions and growth, and also for constant time removal (by nulling out). - - The kind of elements contained within. - - - - Allocates a new array with the given initial size. - - How many array slots to pre-allocate. - - - - Adds an element in the first available slot, beginning the search from the tail-to-head. - If no slots are available, the array is grown. The method doesn't return until successful. - - The element to add. - Information about where the add happened, to enable O(1) deregistration. - - - - The tail of the doubly linked list. - - - - - A struct to hold a link to the exact spot in an array an element was inserted, enabling - constant time removal later on. - - - - - A fragment of a sparsely populated array, doubly linked. - - The kind of elements contained within. - - - - Provides lazy initialization routines. - - - These routines avoid needing to allocate a dedicated, lazy-initialization instance, instead using - references to ensure targets have been initialized as they are accessed. - - - - - Initializes a target reference type with the type's default constructor if the target has not - already been initialized. - - The refence type of the reference to be initialized. - A reference of type to initialize if it has not - already been initialized. - The initialized reference of type . - Type does not have a default - constructor. - - Permissions to access the constructor of type were missing. - - - - This method may only be used on reference types. To ensure initialization of value - types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initializes a target reference type using the specified function if it has not already been - initialized. - - The reference type of the reference to be initialized. - The reference of type to initialize if it has not - already been initialized. - The invoked to initialize the - reference. - The initialized reference of type . - Type does not have a - default constructor. - returned - null. - - - This method may only be used on reference types, and may - not return a null reference (Nothing in Visual Basic). To ensure initialization of value types or - to allow null reference types, see other overloads of EnsureInitialized. - - - This method may be used concurrently by multiple threads to initialize . - In the event that multiple threads access this method concurrently, multiple instances of - may be created, but only one will be stored into . In such an occurrence, this method will not dispose of the - objects that were not stored. If such objects must be disposed, it is up to the caller to determine - if an object was not used and to then dispose of the object appropriately. - - - - - - Initialize the target using the given delegate (slow path). - - The reference type of the reference to be initialized. - The variable that need to be initialized - The delegate that will be executed to initialize the target - The initialized variable - - - - Initializes a target reference or value type with its default constructor if it has not already - been initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The initialized value of type . - - - - Initializes a target reference or value type with a specified function if it has not already been - initialized. - - The type of the reference to be initialized. - A reference or value of type to initialize if it - has not already been initialized. - A reference to a boolean that determines whether the target has already - been initialized. - A reference to an object used as the mutually exclusive lock for initializing - . - The invoked to initialize the - reference or value. - The initialized value of type . - - - - Ensure the target is initialized and return the value (slow path). This overload permits nulls - and also works for value type targets. Uses the supplied function to create the value. - - The type of target. - A reference to the target to be initialized. - A reference to a location tracking whether the target has been initialized. - A reference to a location containing a mutual exclusive lock. - - The to invoke in order to produce the lazily-initialized value. - - The initialized object. - - - - Provides a slimmed down version of . - - - All public and protected members of are thread-safe and may be used - concurrently from multiple threads, with the exception of Dispose, which - must only be used when all other operations on the have - completed, and Reset, which should only be used when no other threads are - accessing the event. - - - - - Initializes a new instance of the - class with an initial state of nonsignaled. - - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled. - - true to set the initial state signaled; false to set the initial state - to nonsignaled. - - - - Initializes a new instance of the - class with a Boolen value indicating whether to set the intial state to signaled and a specified - spin count. - - true to set the initial state to signaled; false to set the initial state - to nonsignaled. - The number of spin waits that will occur before falling back to a true - wait. - is less than - 0 or greater than the maximum allowed value. - - - - Initializes the internal state of the event. - - Whether the event is set initially or not. - The spin count that decides when the event will block. - - - - Helper to ensure the lock object is created before first use. - - - - - This method lazily initializes the event object. It uses CAS to guarantee that - many threads racing to call this at once don't result in more than one event - being stored and used. The event will be signaled or unsignaled depending on - the state of the thin-event itself, with synchronization taken into account. - - True if a new event was created and stored, false otherwise. - - - - Sets the state of the event to signaled, which allows one or more threads waiting on the event to - proceed. - - - - - Private helper to actually perform the Set. - - Indicates whether we are calling Set() during cancellation. - The object has been canceled. - - - - Sets the state of the event to nonsignaled, which causes threads to block. - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Blocks the current thread until the current is set. - - - The maximum number of waiters has been exceeded. - - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current receives a signal, - while observing a . - - The to - observe. - - The maximum number of waiters has been exceeded. - - was - canceled. - - The caller of this method blocks indefinitely until the current instance is set. The caller will - return immediately if the event is currently in a set state. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval. - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - to measure the time interval, while observing a . - - A that represents the number of milliseconds - to wait, or a that represents -1 milliseconds to wait indefinitely. - - The to - observe. - true if the was set; otherwise, - false. - is a negative - number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater - than . - was canceled. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval. - - The number of milliseconds to wait, or (-1) to wait indefinitely. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - - - - Blocks the current thread until the current is set, using a - 32-bit signed integer to measure the time interval, while observing a . - - The number of milliseconds to wait, or (-1) to wait indefinitely. - The to - observe. - true if the was set; otherwise, - false. - is a - negative number other than -1, which represents an infinite time-out. - - The maximum number of waiters has been exceeded. - - was canceled. - - - - Releases all resources used by the current instance of . - - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - When overridden in a derived class, releases the unmanaged resources used by the - , and optionally releases the managed resources. - - true to release both managed and unmanaged resources; - false to release only unmanaged resources. - - Unlike most of the members of , is not - thread-safe and may not be used concurrently with other members of this instance. - - - - - Throw ObjectDisposedException if the MRES is disposed - - - - - Private helper method to wake up waiters when a cancellationToken gets canceled. - - - - - Private helper method for updating parts of a bit-string state value. - Mainly called from the IsSet and Waiters properties setters - - - Note: the parameter types must be int as CompareExchange cannot take a Uint - - The new value - The mask used to set the bits - - - - Private helper method - performs Mask and shift, particular helpful to extract a field from a packed word. - eg ExtractStatePortionAndShiftRight(0x12345678, 0xFF000000, 24) => 0x12, ie extracting the top 8-bits as a simple integer - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - - - Performs a Mask operation, but does not perform the shift. - This is acceptable for boolean values for which the shift is unnecessary - eg (val & Mask) != 0 is an appropriate way to extract a boolean rather than using - ((val & Mask) >> shiftAmount) == 1 - - ?? is there a common place to put this rather than being private to MRES? - - - - - - - Helper function to measure and update the wait time - - The first time (in Ticks) observed when the wait started. - The orginal wait timeoutout in milliseconds. - The new wait time in milliseconds, -1 if the time expired, -2 if overflow in counters - has occurred. - - - - Gets the underlying object for this . - - The underlying event object fore this . - - Accessing this property forces initialization of an underlying event object if one hasn't - already been created. To simply wait on this , - the public Wait methods should be preferred. - - - - - Gets whether the event is set. - - true if the event has is set; otherwise, false. - - - - Gets the number of spin waits that will be occur before falling back to a true wait. - - - - - How many threads are waiting. - - - - - Provides support for spin-based waiting. - - - - encapsulates common spinning logic. On single-processor machines, yields are - always used instead of busy waits, and on computers with Intel™ processors employing Hyper-Threading™ - technology, it helps to prevent hardware thread starvation. SpinWait encapsulates a good mixture of - spinning and true yielding. - - - is a value type, which means that low-level code can utilize SpinWait without - fear of unnecessary allocation overheads. SpinWait is not generally useful for ordinary applications. - In most cases, you should use the synchronization classes provided by the .NET Framework, such as - . For most purposes where spin waiting is required, however, - the type should be preferred over the System.Threading.Thread.SpinWait method. - - - While SpinWait is designed to be used in concurrent applications, it is not designed to be - used from multiple threads concurrently. SpinWait's members are not thread-safe. If multiple - threads must spin, each should use its own instance of SpinWait. - - - - - - Performs a single spin. - - - This is typically called in a loop, and may change in behavior based on the number of times a - has been called thus far on this instance. - - - - - Resets the spin counter. - - - This makes and behave as though no calls - to had been issued on this instance. If a instance - is reused many times, it may be useful to reset it to avoid yielding too soon. - - - - - Spins until the specified condition is satisfied. - - A delegate to be executed over and over until it returns true. - The argument is null. - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - - A that represents the number of milliseconds to wait, - or a TimeSpan that represents -1 milliseconds to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a negative number - other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than - . - - - - Spins until the specified condition is satisfied or until the specified timeout is expired. - - A delegate to be executed over and over until it returns true. - The number of milliseconds to wait, or (-1) to wait indefinitely. - True if the condition is satisfied within the timeout; otherwise, false - The argument is null. - is a - negative number other than -1, which represents an infinite time-out. - - - - Gets the number of times has been called on this instance. - - - - - Gets whether the next call to will yield the processor, triggering a - forced context switch. - - Whether the next call to will yield the processor, triggering a - forced context switch. - - On a single-CPU machine, always yields the processor. On machines with - multiple CPUs, may yield after an unspecified number of calls. - - - - - A helper class to get the number of preocessors, it updates the numbers of processors every sampling interval - - - - - Gets the number of available processors - - - - - Gets whether the current machine has only a single processor. - - - - - Represents an asynchronous operation that produces a result at some time in the future. - - - The type of the result produced by this . - - - - instances may be created in a variety of ways. The most common approach is by - using the task's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs a function, the factory's StartNew - method may be used: - - // C# - var t = Task<int>.Factory.StartNew(() => GenerateResult()); - - or - - var t = Task.Factory.StartNew(() => GenerateResult()); - - ' Visual Basic - Dim t = Task<int>.Factory.StartNew(Function() GenerateResult()) - - or - - Dim t = Task.Factory.StartNew(Function() GenerateResult()) - - - - The class also provides constructors that initialize the task but that do not - schedule it for execution. For performance reasons, the StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - Start - method may then be used to schedule the task for execution at a later time. - - - All members of , except for - Dispose, are thread-safe - and may be used from multiple threads concurrently. - - - - - - Represents an asynchronous operation. - - - - instances may be created in a variety of ways. The most common approach is by - using the Task type's property to retrieve a instance that can be used to create tasks for several - purposes. For example, to create a that runs an action, the factory's StartNew - method may be used: - - // C# - var t = Task.Factory.StartNew(() => DoAction()); - - ' Visual Basic - Dim t = Task.Factory.StartNew(Function() DoAction()) - - - - The class also provides constructors that initialize the Task but that do not - schedule it for execution. For performance reasons, TaskFactory's StartNew method should be the - preferred mechanism for creating and scheduling computational tasks, but for scenarios where creation - and scheduling must be separated, the constructors may be used, and the task's - method may then be used to schedule the task for execution at a later time. - - - All members of , except for , are thread-safe - and may be used from multiple threads concurrently. - - - For operations that return values, the class - should be used. - - - For developers implementing custom debuggers, several internal and private members of Task may be - useful (these may change from release to release). The Int32 m_taskId field serves as the backing - store for the property, however accessing this field directly from a debugger may be - more efficient than accessing the same value through the property's getter method (the - s_taskIdCounter Int32 counter is used to retrieve the next available ID for a Task). Similarly, the - Int32 m_stateFlags field stores information about the current lifecycle stage of the Task, - information also accessible through the property. The m_action System.Object - field stores a reference to the Task's delegate, and the m_stateObject System.Object field stores the - async state passed to the Task by the developer. Finally, for debuggers that parse stack frames, the - InternalWait method serves a potential marker for when a Task is entering a wait operation. - - - - - - A type initializer that runs with the appropriate permissions. - - - - - Initializes a new with the specified action. - - The delegate that represents the code to execute in the Task. - The argument is null. - - - - Initializes a new with the specified action and CancellationToken. - - The delegate that represents the code to execute in the Task. - The CancellationToken - that will be assigned to the new Task. - The argument is null. - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action and creation options. - - The delegate that represents the code to execute in the task. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action and state. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, snd options. - - The delegate that represents the code to execute in the task. - An object representing data to be used by the action. - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the Task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - An internal constructor used by the factory methods on task and its descendent(s). - This variant does not capture the ExecutionContext; it is up to the caller to do that. - - An action to execute. - Optional state to pass to the action. - Parent of Task. - A CancellationToken for the task. - A task scheduler under which the task will run. - Options to control its execution. - Internal options to control its execution - - - - Common logic used by the following internal ctors: - Task() - Task(object action, object state, Task parent, TaskCreationOptions options, TaskScheduler taskScheduler) - - ASSUMES THAT m_creatingTask IS ALREADY SET. - - - Action for task to execute. - Object to which to pass to action (may be null) - Task scheduler on which to run thread (only used by continuation tasks). - A CancellationToken for the Task. - Options to customize behavior of Task. - Internal options to customize behavior of Task. - - - - Checks if we registered a CT callback during construction, and deregisters it. - This should be called when we know the registration isn't useful anymore. Specifically from Finish() if the task has completed - successfully or with an exception. - - - - - Captures the ExecutionContext so long as flow isn't suppressed. - - A stack crawl mark pointing to the frame of the caller. - - - - Internal function that will be called by a new child task to add itself to - the children list of the parent (this). - - Since a child task can only be created from the thread executing the action delegate - of this task, reentrancy is neither required nor supported. This should not be called from - anywhere other than the task construction/initialization codepaths. - - - - - Starts the , scheduling it for execution to the current TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time - will result in an exception. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Starts the , scheduling it for execution to the specified TaskScheduler. - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - The TaskScheduler with which to associate - and execute this task. - - - The argument is null. - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the current TaskScheduler. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - Tasks executed with will be associated with the current TaskScheduler. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - - - - Runs the synchronously on the scheduler provided. - - - - A task may only be started and run only once. Any attempts to schedule a task a second time will - result in an exception. - - - If the target scheduler does not support running this Task on the current thread, the Task will - be scheduled for execution on the scheduler, and the current thread will block until the - Task has completed execution. - - - - The is not in a valid state to be started. It may have already been started, - executed, or canceled, or it may have been created in a manner that doesn't support direct - scheduling. - - - The instance has been disposed. - - The parameter - is null. - The scheduler on which to attempt to run this task inline. - - - - Throws an exception if the task has been disposed, and hence can no longer be accessed. - - The task has been disposed. - - - - Sets the internal completion event. - - - - - Disposes the , releasing all of its unmanaged resources. - - - Unlike most of the members of , this method is not thread-safe. - Also, may only be called on a that is in one of - the final states: RanToCompletion, - Faulted, or - Canceled. - - - The exception that is thrown if the is not in - one of the final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Disposes the , releasing all of its unmanaged resources. - - - A Boolean value that indicates whether this method is being called due to a call to . - - - Unlike most of the members of , this method is not thread-safe. - - - - - Schedules the task for execution. - - If true, TASK_STATE_STARTED bit is turned on in - an atomic fashion, making sure that TASK_STATE_CANCELED does not get set - underneath us. If false, TASK_STATE_STARTED bit is OR-ed right in. This - allows us to streamline things a bit for StartNew(), where competing cancellations - are not a problem. - - - - Adds an exception to the list of exceptions this task has thrown. - - An object representing either an Exception or a collection of Exceptions. - - - - Returns a list of exceptions by aggregating the holder's contents. Or null if - no exceptions have been thrown. - - Whether to include a TCE if cancelled. - An aggregate exception, or null if no exceptions have been caught. - - - - Throws an aggregate exception if the task contains exceptions. - - - - - Checks whether this is an attached task, and whether we are being called by the parent task. - And sets the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag based on that. - - This is meant to be used internally when throwing an exception, and when WaitAll is gathering - exceptions for tasks it waited on. If this flag gets set, the implicit wait on children - will skip exceptions to prevent duplication. - - This should only be called when this task has completed with an exception - - - - - - Signals completion of this particular task. - - The bUserDelegateExecuted parameter indicates whether this Finish() call comes following the - full execution of the user delegate. - - If bUserDelegateExecuted is false, it mean user delegate wasn't invoked at all (either due to - a cancellation request, or because this task is a promise style Task). In this case, the steps - involving child tasks (i.e. WaitForChildren) will be skipped. - - - - - - FinishStageTwo is to be executed as soon as we known there are no more children to complete. - It can happen i) either on the thread that originally executed this task (if no children were spawned, or they all completed by the time this task's delegate quit) - ii) or on the thread that executed the last child. - - - - - Final stage of the task completion code path. Notifies the parent (if any) that another of its childre are done, and runs continuations. - This function is only separated out from FinishStageTwo because these two operations are also needed to be called from CancellationCleanupLogic() - - - - - This is called by children of this task when they are completed. - - - - - This is to be called just before the task does its final state transition. - It traverses the list of exceptional children, and appends their aggregate exceptions into this one's exception list - - - - - Special purpose Finish() entry point to be used when the task delegate throws a ThreadAbortedException - This makes a note in the state flags so that we avoid any costly synchronous operations in the finish codepath - such as inlined continuations - - - Indicates whether the ThreadAbortException was added to this task's exception holder. - This should always be true except for the case of non-root self replicating task copies. - - Whether the delegate was executed. - - - - Executes the task. This method will only be called once, and handles bookeeping associated with - self-replicating tasks, in addition to performing necessary exception marshaling. - - The task has already been disposed. - - - - IThreadPoolWorkItem override, which is the entry function for this task when the TP scheduler decides to run it. - - - - - - Outermost entry function to execute this task. Handles all aspects of executing a task on the caller thread. - Currently this is called by IThreadPoolWorkItem.ExecuteWorkItem(), and TaskManager.TryExecuteInline. - - - Performs atomic updates to prevent double execution. Should only be set to true - in codepaths servicing user provided TaskSchedulers. The ConcRT or ThreadPool schedulers don't need this. - - - - The actual code which invokes the body of the task. This can be overriden in derived types. - - - - - Alternate InnerInvoke prototype to be called from ExecuteSelfReplicating() so that - the Parallel Debugger can discover the actual task being invoked. - Details: Here, InnerInvoke is actually being called on the rootTask object while we are actually executing the - childTask. And the debugger needs to discover the childTask, so we pass that down as an argument. - The NoOptimization and NoInlining flags ensure that the childTask pointer is retained, and that this - function appears on the callstack. - - - - - - Performs whatever handling is necessary for an unhandled exception. Normally - this just entails adding the exception to the holder object. - - The exception that went unhandled. - - - - Waits for the to complete execution. - - - The was canceled -or- an exception was thrown during - the execution of the . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for the to complete execution. - - - A to observe while waiting for the task to complete. - - - The was canceled. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - true if the completed execution within the allotted time; otherwise, - false. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - - - Waits for the to complete execution. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the task to complete. - - - true if the completed execution within the allotted time; otherwise, false. - - - The was canceled -or- an exception was thrown during the execution of the . - - - The - has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - The core wait function, which is only accesible internally. It's meant to be used in places in TPL code where - the current context is known or cached. - - - - - Cancels the . - - Indiactes whether we should only cancel non-invoked tasks. - For the default scheduler this option will only be serviced through TryDequeue. - For custom schedulers we also attempt an atomic state transition. - true if the task was successfully canceled; otherwise, false. - The - has been disposed. - - - - Sets the task's cancellation acknowledged flag. - - - - - Runs all of the continuations, as appropriate. - - - - - Helper function to determine whether the current task is in the state desired by the - continuation kind under evaluation. Three possibilities exist: the task failed with - an unhandled exception (OnFailed), the task was canceled before running (OnAborted), - or the task completed successfully (OnCompletedSuccessfully). Note that the last - one includes completing due to cancellation. - - The continuation options under evaluation. - True if the continuation should be run given the task's current state. - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - The that will be assigned to the new continuation task. - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Converts TaskContinuationOptions to TaskCreationOptions, and also does - some validity checking along the way. - - Incoming TaskContinuationOptions - Outgoing TaskCreationOptions - Outgoing InternalTaskOptions - - - - Registers the continuation and possibly runs it (if the task is already finished). - - The continuation task itself. - TaskScheduler with which to associate continuation task. - Restrictions on when the continuation becomes active. - - - - Waits for all of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - An array of instances on which to wait. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The was canceled. - - - The has been disposed. - - - - - Waits for all of the provided objects to complete execution. - - - true if all of the instances completed execution within the allotted time; - otherwise, false. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for the tasks to complete. - - - The argument is null. - - - The argument contains a null element. - - - At least one of the instances was canceled -or- an exception was thrown during - the execution of at least one of the instances. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Waits for a set of handles in a STA-aware way. In other words, it will wait for each - of the events individually if we're on a STA thread, because MsgWaitForMultipleObjectsEx - can't do a true wait-all due to its hidden message queue event. This is not atomic, - of course, but we only wait on one-way (MRE) events anyway so this is OK. - - An array of wait handles to wait on. - The timeout to use during waits. - The cancellationToken that enables a wait to be canceled. - True if all waits succeeded, false if a timeout occurred. - - - - Internal WaitAll implementation which is meant to be used with small number of tasks, - optimized for Parallel.Invoke and other structured primitives. - - - - - This internal function is only meant to be called by WaitAll() - If the completed task is canceled or it has other exceptions, here we will add those - into the passed in exception list (which will be lazily initialized here). - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - The index of the completed task in the array argument. - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1 milliseconds, which represents an - infinite time-out -or- timeout is greater than - . - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - The was canceled. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - - - Waits for any of the provided objects to complete execution. - - - An array of instances on which to wait. - - - The number of milliseconds to wait, or (-1) to - wait indefinitely. - - - A to observe while waiting for a task to complete. - - - The index of the completed task in the array argument, or -1 if the - timeout occurred. - - - The argument is null. - - - The argument contains a null element. - - - The has been disposed. - - - is a negative number other than -1, which represents an - infinite time-out. - - - The was canceled. - - - - - Gets a unique ID for this Task instance. - - - Task IDs are assigned on-demand and do not necessarily represent the order in the which Task - instances were created. - - - - - Returns the unique ID of the currently executing Task. - - - - - Gets the Task instance currently executing, or - null if none exists. - - - - - Gets the Exception that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any - exceptions, this will return null. - - - Tasks that throw unhandled exceptions store the resulting exception and propagate it wrapped in a - in calls to Wait - or in accesses to the property. Any exceptions not observed by the time - the Task instance is garbage collected will be propagated on the finalizer thread. - - - The Task - has been disposed. - - - - - Gets the TaskStatus of this Task. - - - - - Gets whether this Task instance has completed - execution due to being canceled. - - - A Task will complete in Canceled state either if its CancellationToken - was marked for cancellation before the task started executing, or if the task acknowledged the cancellation request on - its already signaled CancellationToken by throwing an - OperationCanceledException2 that bears the same - CancellationToken. - - - - - Returns true if this task has a cancellation token and it was signaled. - To be used internally in execute entry codepaths. - - - - - This internal property provides access to the CancellationToken that was set on the task - when it was constructed. - - - - - Gets whether this threw an OperationCanceledException2 while its CancellationToken was signaled. - - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Checks whether this task has been disposed. - - - - - Gets the TaskCreationOptions used - to create this task. - - - - - Gets a that can be used to wait for the task to - complete. - - - Using the wait functionality provided by - should be preferred over using for similar - functionality. - - - The has been disposed. - - - - - Gets the state object supplied when the Task was created, - or null if none was supplied. - - - - - Gets an indication of whether the asynchronous operation completed synchronously. - - true if the asynchronous operation completed synchronously; otherwise, false. - - - - Provides access to the TaskScheduler responsible for executing this Task. - - - - - Provides access to factory methods for creating and instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on TaskFactory. - - - - - Provides an event that can be used to wait for completion. - Only called by Wait*(), which means that we really do need to instantiate a completion event. - - - - - Determines whether this is the root task of a self replicating group. - - - - - Determines whether the task is a replica itself. - - - - - The property formerly known as IsFaulted. - - - - - Gets whether the completed due to an unhandled exception. - - - If is true, the Task's will be equal to - TaskStatus.Faulted, and its - property will be non-null. - - - - - Checks whether the TASK_STATE_EXCEPTIONOBSERVEDBYPARENT status flag is set, - This will only be used by the implicit wait to prevent double throws - - - - - - Checks whether the body was ever invoked. Used by task scheduler code to verify custom schedulers actually ran the task. - - - - - A structure to hold continuation information. - - - - - Constructs a new continuation structure. - - The task to be activated. - The continuation options. - The scheduler to use for the continuation. - - - - Invokes the continuation for the target completion task. - - The completed task. - Whether the continuation can be inlined. - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The argument is null. - - - - - Initializes a new with the specified function. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The to be assigned to this task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified function and creation options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - The that will be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified function and state. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the action. - - The argument is null. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The argument is null. - - The provided CancellationToken - has already been disposed. - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - - - - Initializes a new with the specified action, state, and options. - - - The delegate that represents the code to execute in the task. When the function has completed, - the task's property will be set to return the result value of the function. - - An object representing data to be used by the function. - The to be assigned to the new task. - - The TaskCreationOptions used to - customize the task's behavior. - - - The argument is null. - - - The argument specifies an invalid value for . - - The provided CancellationToken - has already been disposed. - - - - - Creates a new future object. - - The parent task for this future. - A function that yields the future value. - The task scheduler which will be used to execute the future. - The CancellationToken for the task. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Creates a new future object. - - The parent task for this future. - An object containing data to be used by the action; may be null. - A function that yields the future value. - The CancellationToken for the task. - The task scheduler which will be used to execute the future. - Options to control the future's behavior. - Internal options to control the future's behavior. - The argument specifies - a SelfReplicating , which is illegal."/>. - - - - Evaluates the value selector of the Task which is passed in as an object and stores the result. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the continuation criteria specified through the parameter are not met, the continuation task will be canceled - instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - An action to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new continuation task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed. If the criteria specified through the parameter - are not met, the continuation task will be canceled instead of scheduled. - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - The that will be assigned to the new task. - A new continuation . - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - The to associate with the continuation task and to use for its execution. - - A new continuation . - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The argument is null. - - - The argument is null. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be - passed the completed task as an argument. - - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - A new continuation . - - - The returned will not be scheduled for execution until the current - task has completed, whether it completes due to running to completion successfully, faulting due - to an unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . This task's completion state will be transferred to the task returned - from the ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The has been disposed. - - - - - Creates a continuation that executes when the target completes. - - - The type of the result produced by the continuation. - - - A function to run when the completes. When run, the delegate will be passed as - an argument this completed task. - - The that will be assigned to the new task. - - Options for when the continuation is scheduled and how it behaves. This includes criteria, such - as OnlyOnCanceled, as - well as execution options, such as ExecuteSynchronously. - - - The to associate with the continuation task and to use for its - execution. - - A new continuation . - - - The returned will not be scheduled for execution until the current task has - completed, whether it completes due to running to completion successfully, faulting due to an - unhandled exception, or exiting out early due to being canceled. - - - The , when executed, should return a . - This task's completion state will be transferred to the task returned from the - ContinueWith call. - - - - The argument is null. - - - The argument specifies an invalid value for TaskContinuationOptions. - - - The argument is null. - - - The has been disposed. - - The provided CancellationToken - has already been disposed. - - - - - Gets the result value of this . - - - The get accessor for this property ensures that the asynchronous operation is complete before - returning. Once the result of the computation is available, it is stored and will be returned - immediately on later calls to . - - - - - Provides access to factory methods for creating instances. - - - The factory returned from is a default instance - of , as would result from using - the default constructor on the factory type. - - - - - Provides support for creating and scheduling - Task{TResult} objects. - - The type of the results that are available though - the Task{TResult} objects that are associated with - the methods in this class. - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task{TResult}.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the default configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory{TResult}. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory{TResult}. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory{TResult}. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory{TResult}. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The that will be assigned to the new task. - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The function delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory{TResult}. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory{TResult}. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory{TResult}. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents the current stage in the lifecycle of a . - - - - - The task has been initialized but has not yet been scheduled. - - - - - The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure. - - - - - The task has been scheduled for execution but has not yet begun executing. - - - - - The task is running but has not yet completed. - - - - - The task has finished executing and is implicitly waiting for - attached child tasks to complete. - - - - - The task completed execution successfully. - - - - - The task acknowledged cancellation by throwing an OperationCanceledException2 with its own CancellationToken - while the token was in signaled state, or the task's CancellationToken was already signaled before the - task started executing. - - - - - The task completed due to an unhandled exception. - - - - - Specifies flags that control optional behavior for the creation and execution of tasks. - - - - - Specifies that the default behavior should be used. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides a hint to the - TaskScheduler that oversubscription may be - warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Task creation flags which are only used internally. - - - - Specifies "No internal task options" - - - Used to filter out internal vs. public task creation options. - - - Specifies that the task will be queued by the runtime before handing it over to the user. - This flag will be used to skip the cancellationtoken registration step, which is only meant for unstarted tasks. - - - - Specifies flags that control optional behavior for the creation and execution of continuation tasks. - - - - - Default = "Continue on any, no task options, run asynchronously" - Specifies that the default behavior should be used. Continuations, by default, will - be scheduled when the antecedent task completes, regardless of the task's final TaskStatus. - - - - - A hint to a TaskScheduler to schedule a - task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to - be run sooner, and tasks scheduled later will be more likely to be run later. - - - - - Specifies that a task will be a long-running, course-grained operation. It provides - a hint to the TaskScheduler that - oversubscription may be warranted. - - - - - Specifies that a task is attached to a parent in the task hierarchy. - - - - - Specifies that the continuation task should not be scheduled if its antecedent ran to completion. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled - exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should not be scheduled if its antecedent was canceled. This - option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent ran to - completion. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent threw an - unhandled exception. This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be scheduled only if its antecedent was canceled. - This option is not valid for multi-task continuations. - - - - - Specifies that the continuation task should be executed synchronously. With this option - specified, the continuation will be run on the same thread that causes the antecedent task to - transition into its final state. If the antecedent is already complete when the continuation is - created, the continuation will run on the thread creating the continuation. Only very - short-running continuations should be executed synchronously. - - - - - Represents an exception used to communicate task cancellation. - - - - - 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. - - - - Initializes a new instance of the class - with a reference to the that has been canceled. - - A task that has been canceled. - - - - Gets the task associated with this exception. - - - It is permissible for no Task to be associated with a - , in which case - this property will return null. - - - - - Represents the producer side of a unbound to a - delegate, providing access to the consumer side through the property. - - - - It is often the case that a is desired to - represent another asynchronous operation. - TaskCompletionSource is provided for this purpose. It enables - the creation of a task that can be handed out to consumers, and those consumers can use the members - of the task as they would any other. However, unlike most tasks, the state of a task created by a - TaskCompletionSource is controlled explicitly by the methods on TaskCompletionSource. This enables the - completion of the external asynchronous operation to be propagated to the underlying Task. The - separation also ensures that consumers are not able to transition the state without access to the - corresponding TaskCompletionSource. - - - All members of are thread-safe - and may be used from multiple threads concurrently. - - - The type of the result value assocatied with this . - - - - Creates a . - - - - - Creates a - with the specified options. - - - The created - by this instance and accessible through its property - will be instantiated using the specified . - - The options to use when creating the underlying - . - - The represent options invalid for use - with a . - - - - - Creates a - with the specified state. - - The state to use as the underlying - 's AsyncState. - - - - Creates a with - the specified state and options. - - The options to use when creating the underlying - . - The state to use as the underlying - 's AsyncState. - - The represent options invalid for use - with a . - - - - - Attempts to transition the underlying - into the - Faulted - state. - - The exception to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - The was disposed. - - - - Attempts to transition the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The argument is null. - There are one or more null elements in . - The collection is empty. - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The exception to bind to this . - The argument is null. - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Faulted - state. - - The collection of exceptions to bind to this . - The argument is null. - There are one or more null elements in . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - RanToCompletion - state. - - The result value to bind to this . - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Transitions the underlying - into the - Canceled - state. - - - The underlying is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Attempts to transition the underlying - into the - Canceled - state. - - True if the operation was successful; otherwise, false. - This operation will return false if the - is already in one - of the three final states: - RanToCompletion, - Faulted, or - Canceled. - - The was disposed. - - - - Gets the created - by this . - - - This property enables a consumer access to the that is controlled by this instance. - The , , - , and - methods (and their "Try" variants) on this instance all result in the relevant state - transitions on this underlying Task. - - - - - An exception holder manages a list of exceptions for one particular task. - It offers the ability to aggregate, but more importantly, also offers intrinsic - support for propagating unhandled exceptions that are never observed. It does - this by aggregating and throwing if the holder is ever GC'd without the holder's - contents ever having been requested (e.g. by a Task.Wait, Task.get_Exception, etc). - - - - - Creates a new holder; it will be registered for finalization. - - The task this holder belongs to. - - - - A finalizer that repropagates unhandled exceptions. - - - - - Add an exception to the internal list. This will ensure the holder is - in the proper state (handled/unhandled) depending on the list's contents. - - An exception object (either an Exception or an - IEnumerable{Exception}) to add to the list. - - - - A private helper method that ensures the holder is considered - unhandled, i.e. it is registered for finalization. - - - - - A private helper method that ensures the holder is considered - handled, i.e. it is not registered for finalization. - - Whether this is called from the finalizer thread. - - - - Allocates a new aggregate exception and adds the contents of the list to - it. By calling this method, the holder assumes exceptions to have been - "observed", such that the finalization check will be subsequently skipped. - - Whether this is being called from a finalizer. - An extra exception to be included (optionally). - The aggregate exception to throw. - - - - Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of - instances. - - - - - Creates a proxy Task that represents the - asynchronous operation of a Task{Task}. - - - It is often useful to be able to return a Task from a - Task{TResult}, where the inner Task represents work done as part of the outer Task{TResult}. However, - doing so results in a Task{Task}, which, if not dealt with carefully, could produce unexpected behavior. Unwrap - solves this problem by creating a proxy Task that represents the entire asynchronous operation of such a Task{Task}. - - The Task{Task} to unwrap. - The exception that is thrown if the - argument is null. - A Task that represents the asynchronous operation of the provided Task{Task}. - - - - Creates a proxy Task{TResult} that represents the - asynchronous operation of a Task{Task{TResult}}. - - - It is often useful to be able to return a Task{TResult} from a Task{TResult}, where the inner Task{TResult} - represents work done as part of the outer Task{TResult}. However, doing so results in a Task{Task{TResult}}, - which, if not dealt with carefully, could produce unexpected behavior. Unwrap solves this problem by - creating a proxy Task{TResult} that represents the entire asynchronous operation of such a Task{Task{TResult}}. - - The Task{Task{TResult}} to unwrap. - The exception that is thrown if the - argument is null. - A Task{TResult} that represents the asynchronous operation of the provided Task{Task{TResult}}. /// Unwraps a Task that returns another Task. - - - - Provides support for creating and scheduling - Tasks. - - - - There are many common patterns for which tasks are relevant. The - class encodes some of these patterns into methods that pick up default settings, which are - configurable through its constructors. - - - A default instance of is available through the - Task.Factory property. - - - - - - Initializes a instance with the default configuration. - - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - This constructor creates a instance with a default configuration. The - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The - TaskScheduler to use to schedule any tasks created with this TaskFactory. A null value - indicates that the current TaskScheduler should be used. - - - With this constructor, the - property is initialized to - TaskCreationOptions.None, the - property is initialized to TaskContinuationOptions.None, - and the TaskScheduler property is - initialized to , unless it's null, in which case the property is - initialized to the current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The exception that is thrown when the - argument or the - argument specifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Initializes a instance with the specified configuration. - - The default that will be assigned - to tasks created by this unless another CancellationToken is explicitly specified - while calling the factory methods. - - The default - TaskCreationOptions to use when creating tasks with this TaskFactory. - - - The default - TaskContinuationOptions to use when creating continuation tasks with this TaskFactory. - - - The default - TaskScheduler to use to schedule any Tasks created with this TaskFactory. A null value - indicates that TaskScheduler.Current should be used. - - - The exception that is thrown when the - argument or the - argumentspecifies an invalid value. - - - With this constructor, the - property is initialized to , - the - property is initialized to , and the TaskScheduler property is initialized to - , unless it's null, in which case the property is initialized to the - current scheduler (see TaskScheduler.Current). - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new task. - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors - and then calling - Start to schedule it for execution. However, - unless creation and scheduling must be separated, StartNew is the recommended - approach for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - The that will be assigned to the new - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The started Task. - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started Task. - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a Task. - - The action delegate to execute asynchronously. - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - Task. - The TaskScheduler - that is used to schedule the created Task. - The started Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a Task using one of its constructors and - then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The started . - The exception that is thrown when the - argument is null. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new - The started . - The exception that is thrown when the - argument is null. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - A TaskCreationOptions value that controls the behavior of the - created - . - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates and starts a . - - The type of the result available through the - Task. - - A function delegate that returns the future result to be available through - the . - An object containing data to be used by the - delegate. - The that will be assigned to the new task. - A TaskCreationOptions value that controls the behavior of the - created - . - The TaskScheduler - that is used to schedule the created - Task{TResult}. - The started . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The provided CancellationToken - has already been disposed. - - - Calling StartNew is functionally equivalent to creating a using one - of its constructors and then calling - Start to schedule it for execution. - However, unless creation and scheduling must be separated, StartNew is the recommended approach - for both simplicity and performance. - - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that executes an end method action - when a specified IAsyncResult completes. - - The IAsyncResult whose completion should trigger the processing of the - . - The action delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the asynchronous - operation. - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of begin - and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the - delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that represents the - asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that executes an end - method function when a specified IAsyncResult completes. - - The type of the result available through the - Task. - - The IAsyncResult whose completion should trigger the processing of the - . - The function delegate that processes the completed . - The TaskScheduler - that is used to schedule the task that executes the end method. - The TaskCreationOptions value that controls the behavior of the - created Task. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - A Task that represents the - asynchronous operation. - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Creates a Task that represents a pair of - begin and end methods that conform to the Asynchronous Programming Model pattern. - - The type of the first argument passed to the delegate. - The type of the second argument passed to - delegate. - The type of the third argument passed to - delegate. - The type of the result available through the - Task. - - The delegate that begins the asynchronous operation. - The delegate that ends the asynchronous operation. - The first argument passed to the - delegate. - The second argument passed to the - delegate. - The third argument passed to the - delegate. - The TaskCreationOptions value that controls the behavior of the - created Task. - An object containing data to be used by the - delegate. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument specifies an invalid TaskCreationOptions - value. - The created Task that - represents the asynchronous operation. - - This method throws any exceptions thrown by the . - - - - - Check validity of options passed to FromAsync method - - The options to be validated. - determines type of FromAsync method that called this method - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in - the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result of the antecedent . - The array of tasks from which to continue. - The action delegate to execute when all tasks in the array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of a set of provided Tasks. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue. - The function delegate to execute when all tasks in the - array have completed. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAll. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation Task. - The new continuation Task. - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result that is returned by the - delegate and associated with the created . - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The function delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Creates a continuation Task - that will be started upon the completion of any Task in the provided set. - - The type of the result of the antecedent . - The array of tasks from which to continue when one task completes. - The action delegate to execute when one task in the - array completes. - The CancellationToken - that will be assigned to the new continuation task. - The - TaskContinuationOptions value that controls the behavior of - the created continuation Task. - The TaskScheduler - that is used to schedule the created continuation . - The new continuation . - The exception that is thrown when the - array is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - argument is null. - The exception that is thrown when the - array contains a null value. - The exception that is thrown when the - array is empty. - The exception that is thrown when the - argument specifies an invalid TaskContinuationOptions - value. - The exception that is thrown when one - of the elements in the array has been disposed. - The provided CancellationToken - has already been disposed. - - - The NotOn* and OnlyOn* TaskContinuationOptions, - which constrain for which TaskStatus states a continuation - will be executed, are illegal with ContinueWhenAny. - - - - - Gets the default CancellationToken of this - TaskFactory. - - - This property returns the default that will be assigned to all - tasks created by this factory unless another CancellationToken value is explicitly specified - during the call to the factory methods. - - - - - Gets the TaskScheduler of this - TaskFactory. - - - This property returns the default scheduler for this factory. It will be used to schedule all - tasks unless another scheduler is explicitly specified during calls to this factory's methods. - If null, TaskScheduler.Current - will be used. - - - - - Gets the TaskCreationOptions - value of this TaskFactory. - - - This property returns the default creation options for this factory. They will be used to create all - tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Gets the TaskContinuationOptions - value of this TaskFactory. - - - This property returns the default continuation options for this factory. They will be used to create - all continuation tasks unless other options are explicitly specified during calls to this factory's methods. - - - - - Represents an abstract scheduler for tasks. - - - - TaskScheduler acts as the extension point for all - pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and - how scheduled tasks should be exposed to debuggers. - - - All members of the abstract type are thread-safe - and may be used from multiple threads concurrently. - - - - - - Queues a Task to the scheduler. - - - - A class derived from TaskScheduler - implements this method to accept tasks being scheduled on the scheduler. - A typical implementation would store the task in an internal data structure, which would - be serviced by threads that would execute those tasks at some time in the future. - - - This method is only meant to be called by the .NET Framework and - should not be called directly by the derived class. This is necessary - for maintaining the consistency of the system. - - - The Task to be queued. - The argument is null. - - - - Determines whether the provided Task - can be executed synchronously in this call, and if it can, executes it. - - - - A class derived from TaskScheduler implements this function to - support inline execution of a task on a thread that initiates a wait on that task object. Inline - execution is optional, and the request may be rejected by returning false. However, better - scalability typically results the more tasks that can be inlined, and in fact a scheduler that - inlines too little may be prone to deadlocks. A proper implementation should ensure that a - request executing under the policies guaranteed by the scheduler can successfully inline. For - example, if a scheduler uses a dedicated thread to execute tasks, any inlining requests from that - thread should succeed. - - - If a scheduler decides to perform the inline execution, it should do so by calling to the base - TaskScheduler's - TryExecuteTask method with the provided task object, propagating - the return value. It may also be appropriate for the scheduler to remove an inlined task from its - internal data structures if it decides to honor the inlining request. Note, however, that under - some circumstances a scheduler may be asked to inline a task that was not previously provided to - it with the method. - - - The derived scheduler is responsible for making sure that the calling thread is suitable for - executing the given task as far as its own scheduling and execution policies are concerned. - - - The Task to be - executed. - A Boolean denoting whether or not task has previously been - queued. If this parameter is True, then the task may have been previously queued (scheduled); if - False, then the task is known not to have been queued, and this call is being made in order to - execute the task inline without queueing it. - A Boolean value indicating whether the task was executed inline. - The argument is - null. - The was already - executed. - - - - Generates an enumerable of Task instances - currently queued to the scheduler waiting to be executed. - - - - A class derived from implements this method in order to support - integration with debuggers. This method will only be invoked by the .NET Framework when the - debugger requests access to the data. The enumerable returned will be traversed by debugging - utilities to access the tasks currently queued to this scheduler, enabling the debugger to - provide a representation of this information in the user interface. - - - It is important to note that, when this method is called, all other threads in the process will - be frozen. Therefore, it's important to avoid synchronization with other threads that may lead to - blocking. If synchronization is necessary, the method should prefer to throw a - than to block, which could cause a debugger to experience delays. Additionally, this method and - the enumerable returned must not modify any globally visible state. - - - The returned enumerable should never be null. If there are currently no queued tasks, an empty - enumerable should be returned instead. - - - For developers implementing a custom debugger, this method shouldn't be called directly, but - rather this functionality should be accessed through the internal wrapper method - GetScheduledTasksForDebugger: - internal Task[] GetScheduledTasksForDebugger(). This method returns an array of tasks, - rather than an enumerable. In order to retrieve a list of active schedulers, a debugger may use - another internal method: internal static TaskScheduler[] GetTaskSchedulersForDebugger(). - This static method returns an array of all active TaskScheduler instances. - GetScheduledTasksForDebugger then may be used on each of these scheduler instances to retrieve - the list of scheduled tasks for each. - - - An enumerable that allows traversal of tasks currently queued to this scheduler. - - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Retrieves some thread static state that can be cached and passed to multiple - TryRunInline calls, avoiding superflous TLS fetches. - - A bag of TLS state (or null if none exists). - - - - Attempts to execute the target task synchronously. - - The task to run. - True if the task may have been previously queued, - false if the task was absolutely not previously queued. - The state retrieved from GetThreadStatics - True if it ran, false otherwise. - - - - Attempts to dequeue a Task that was previously queued to - this scheduler. - - The Task to be dequeued. - A Boolean denoting whether the argument was successfully dequeued. - The argument is null. - - - - Notifies the scheduler that a work item has made progress. - - - - - Initializes the . - - - - - Frees all resources associated with this scheduler. - - - - - Creates a - associated with the current . - - - All Task instances queued to - the returned scheduler will be executed through a call to the - Post method - on that context. - - - A associated with - the current SynchronizationContext, as - determined by SynchronizationContext.Current. - - - The current SynchronizationContext may not be used as a TaskScheduler. - - - - - Attempts to execute the provided Task - on this scheduler. - - - - Scheduler implementations are provided with Task - instances to be executed through either the method or the - method. When the scheduler deems it appropriate to run the - provided task, should be used to do so. TryExecuteTask handles all - aspects of executing a task, including action invocation, exception handling, state management, - and lifecycle control. - - - must only be used for tasks provided to this scheduler by the .NET - Framework infrastructure. It should not be used to execute arbitrary tasks obtained through - custom mechanisms. - - - - A Task object to be executed. - - The is not associated with this scheduler. - - A Boolean that is true if was successfully executed, false if it - was not. A common reason for execution failure is that the task had previously been executed or - is in the process of being executed by another thread. - - - - Provides an array of all queued Task instances - for the debugger. - - - The returned array is populated through a call to . - Note that this function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of Task instances. - - This scheduler is unable to generate a list of queued tasks at this time. - - - - - Provides an array of all active TaskScheduler - instances for the debugger. - - - This function is only meant to be invoked by a debugger remotely. - It should not be called by any other codepaths. - - An array of TaskScheduler instances. - - - - Registers a new TaskScheduler instance in the global collection of schedulers. - - - - - Removes a TaskScheduler instance from the global collection of schedulers. - - - - - Indicates the maximum concurrency level this - is able to support. - - - - - Indicates whether this is a custom scheduler, in which case the safe code paths will be taken upon task entry - using a CAS to transition from queued state to executing. - - - - - Gets the default TaskScheduler instance. - - - - - Gets the TaskScheduler - associated with the currently executing task. - - - When not called from within a task, will return the scheduler. - - - - - Gets the unique ID for this . - - - - - Occurs when a faulted 's unobserved exception is about to trigger exception escalation - policy, which, by default, would terminate the process. - - - This AppDomain-wide event provides a mechanism to prevent exception - escalation policy (which, by default, terminates the process) from triggering. - Each handler is passed a - instance, which may be used to examine the exception and to mark it as observed. - - - - - Nested class that provides debugger view for TaskScheduler - - - - Default thread pool scheduler. - - - - A TaskScheduler implementation that executes all tasks queued to it through a call to - on the - that its associated with. The default constructor for this class binds to the current - - - - - Constructs a SynchronizationContextTaskScheduler associated with - - This constructor expects to be set. - - - - Implemetation of for this scheduler class. - - Simply posts the tasks to be executed on the associated . - - - - - - Implementation of for this scheduler class. - - The task will be executed inline only if the call happens within - the associated . - - - - - - - Implementes the property for - this scheduler class. - - By default it returns 1, because a based - scheduler only supports execution on a single thread. - - - - - Provides data for the event that is raised when a faulted 's - exception goes unobserved. - - - The Exception property is used to examine the exception without marking it - as observed, whereas the method is used to mark the exception - as observed. Marking the exception as observed prevents it from triggering exception escalation policy - which, by default, terminates the process. - - - - - Initializes a new instance of the class - with the unobserved exception. - - The Exception that has gone unobserved. - - - - Marks the as "observed," thus preventing it - from triggering exception escalation policy which, by default, terminates the process. - - - - - Gets whether this exception has been marked as "observed." - - - - - The Exception that went unobserved. - - - - - Represents an exception used to communicate an invalid operation by a - . - - - - - 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 using the default error message and a reference to the inner exception that is the cause of - this exception. - - The exception that is the cause of the current 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. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll deleted file mode 100644 index db436e6..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml deleted file mode 100644 index e832734..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.IO.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - System.IO - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Found invalid data while decoding.. - - - - - The exception that is thrown when a data stream is in an invalid format. - - - - - 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 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. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll deleted file mode 100644 index f46c958..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml deleted file mode 100644 index 93cb00d..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Runtime.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - System.Runtime - - - - Defines a provider for progress updates. - The type of progress update value. - - - Reports a progress update. - The value of the updated progress. - - - Identities the async state machine type for this method. - - - Identities the state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - Gets the type that implements the state machine. - - - Initializes the attribute. - The type that implements the state machine. - - - - Allows you to obtain the method or property name of the caller to the method. - - - - - Allows you to obtain the line number in the source file at which the method is called. - - - - - Allows you to obtain the full path of the source file that contains the caller. - This is the file path at the time of compile. - - - - Identities the iterator state machine type for this method. - - - Initializes the attribute. - The type that implements the state machine. - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll deleted file mode 100644 index 4a865fc..0000000 Binary files a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml b/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml deleted file mode 100644 index b47921e..0000000 --- a/packages/Microsoft.Bcl.1.1.9/lib/sl5/System.Threading.Tasks.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - System.Threading.Tasks - - - - Holds state related to the builder's IAsyncStateMachine. - This is a mutable struct. Be very delicate with it. - - - A reference to the heap-allocated state machine object associated with this builder. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument is null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - - Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. - On first invocation, the supplied state machine will be boxed. - - Specifies the type of the method builder used. - Specifies the type of the state machine used. - The builder. - The state machine. - An Action to provide to the awaiter. - - - Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext. - - - The context with which to run MoveNext. - - - The state machine whose MoveNext method should be invoked. - - - Initializes the runner. - The context with which to run MoveNext. - - - Invokes MoveNext under the provided context. - - - Cached delegate used with ExecutionContext.Run. - - - Invokes the MoveNext method on the supplied IAsyncStateMachine. - The IAsyncStateMachine machine instance. - - - Provides a base class used to cache tasks of a specific return type. - Specifies the type of results the cached tasks return. - - - - A singleton cache for this result type. - This may be null if there are no cached tasks for this TResult. - - - - Creates a non-disposable task. - The result for the task. - The cacheable task. - - - Creates a cache. - A task cache for this result type. - - - Gets a cached task if one exists. - The result for which we want a cached task. - A cached task if one exists; otherwise, null. - - - Provides a cache for Boolean tasks. - - - A true task. - - - A false task. - - - Gets a cached task for the Boolean result. - true or false - A cached task for the Boolean result. - - - Provides a cache for zero Int32 tasks. - - - The minimum value, inclusive, for which we want a cached task. - - - The maximum value, exclusive, for which we want a cached task. - - - The cache of Task{Int32}. - - - Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX). - - - Gets a cached task for the zero Int32 result. - The integer value - A cached task for the Int32 result or null if not cached. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - Represents an asynchronous method builder. - - - A cached VoidTaskResult task used for builders that complete synchronously. - - - The generic builder object to which this non-generic instance delegates. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state. - - The builder is not initialized. - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - - Gets the for this builder. - The representing the builder's asynchronous operation. - The builder is not initialized. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return . - This type is intended for compiler use only. - - - AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. - Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, - or else the copies may end up building distinct Task instances. - - - - A cached task for default(TResult). - - - State related to the IAsyncStateMachine. - - - The lazily-initialized task. - Must be named m_task for debugger step-over to work correctly. - - - The lazily-initialized task completion source. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Initializes a new . - The initialized . - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Completes the in the - RanToCompletion state with the specified result. - - The result to use to complete the task. - The task has already completed. - - - - Completes the builder by using either the supplied completed task, or by completing - the builder's previously accessed task using default(TResult). - - A task already completed with the value default(TResult). - The task has already completed. - - - - Completes the in the - Faulted state with the specified exception. - - The to use to fault the task. - The argument is null (Nothing in Visual Basic). - The task has already completed. - - - - Called by the debugger to request notification when the first wait operation - (await, Wait, Result, etc.) on this builder's task completes. - - - true to enable notification; false to disable a previously set notification. - - - This should only be invoked from within an asynchronous method, - and only by the debugger. - - - - - Gets a task for the specified result. This will either - be a cached or new task, never null. - - The result for which we need a task. - The completed task containing the result. - - - Gets the lazily-initialized TaskCompletionSource. - - - Gets the for this builder. - The representing the builder's asynchronous operation. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger, and only in a single-threaded manner - when no other threads are in the middle of accessing this property or this.Task. - - - - - Provides a builder for asynchronous methods that return void. - This type is intended for compiler use only. - - - - The synchronization context associated with this operation. - - - State related to the IAsyncStateMachine. - - - An object used by the debugger to uniquely identify this builder. Lazily initialized. - - - Temporary support for disabling crashing if tasks go unobserved. - - - Registers with UnobservedTaskException to suppress exception crashing. - - - Non-zero if PreventUnobservedTaskExceptions has already been invoked. - - - Initializes a new . - The initialized . - - - Initializes the . - The synchronizationContext associated with this operation. This may be null. - - - Initiates the builder's execution with the associated state machine. - Specifies the type of the state machine. - The state machine instance, passed by reference. - The argument was null (Nothing in Visual Basic). - - - Associates the builder with the state machine it represents. - The heap-allocated state machine object. - The argument was null (Nothing in Visual Basic). - The builder is incorrectly initialized. - - - Perform any initialization necessary prior to lifting the builder to the heap. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - - Schedules the specified state machine to be pushed forward when the specified awaiter completes. - - Specifies the type of the awaiter. - Specifies the type of the state machine. - The awaiter. - The state machine. - - - Completes the method builder successfully. - - - Faults the method builder with an exception. - The exception that is the cause of this fault. - The argument is null (Nothing in Visual Basic). - The builder is not initialized. - - - Notifies the current synchronization context that the operation completed. - - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - This property lazily instantiates the ID in a non-thread-safe manner. - It must only be used by the debugger and only in a single-threaded manner. - - - - - Represents state machines generated for asynchronous methods. - This type is intended for compiler use only. - - - - Moves the state machine to its next state. - - - Configures the state machine with a heap-allocated replica. - The heap-allocated replica. - - - - Represents an awaiter used to schedule continuations when an await operation completes. - - - - - Represents an operation that will schedule continuations when the operation completes. - - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - - - Schedules the continuation action to be invoked when the instance completes. - The action to invoke when the operation completes. - The argument is null (Nothing in Visual Basic). - Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.1.1.9/lib/win8/_._ b/packages/Microsoft.Bcl.1.1.9/lib/win8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wp8/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._ b/packages/Microsoft.Bcl.1.1.9/lib/wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Async.1.0.168/License-Stable.rtf b/packages/Microsoft.Bcl.Async.1.0.168/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Async.1.0.168/Microsoft.Bcl.Async.1.0.168.nupkg b/packages/Microsoft.Bcl.Async.1.0.168/Microsoft.Bcl.Async.1.0.168.nupkg deleted file mode 100644 index fe97bce..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/Microsoft.Bcl.Async.1.0.168.nupkg and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.dll deleted file mode 100644 index 1288a17..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.xml deleted file mode 100644 index 6fad7c9..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.Desktop.xml +++ /dev/null @@ -1,684 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions.Desktop - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - Provides asynchronous wrappers for .NET Framework operations. - - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Downloads the resource with the specified URI as a byte array, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded data. - - - Downloads the resource with the specified URI as a byte array, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded data. - - - Downloads the resource with the specified URI to a local file, asynchronously. - The WebClient. - The URI from which to download data. - The name of the local file that is to receive the data. - A Task that contains the downloaded data. - - - Downloads the resource with the specified URI to a local file, asynchronously. - The WebClient. - The URI from which to download data. - The name of the local file that is to receive the data. - A Task that contains the downloaded data. - - - Uploads data to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads a file to the specified resource, asynchronously. - The WebClient. - The URI to which the file should be uploaded. - A path to the file to upload. - A Task containing the data in the response from the upload. - - - Uploads a file to the specified resource, asynchronously. - The WebClient. - The URI to which the file should be uploaded. - A path to the file to upload. - A Task containing the data in the response from the upload. - - - Uploads a file to the specified resource, asynchronously. - The WebClient. - The URI to which the file should be uploaded. - The HTTP method that should be used to upload the file. - A path to the file to upload. - A Task containing the data in the response from the upload. - - - Uploads a file to the specified resource, asynchronously. - The WebClient. - The URI to which the file should be uploaded. - The HTTP method that should be used to upload the file. - A path to the file to upload. - A Task containing the data in the response from the upload. - - - Causes an online announcement (Hello) message to be sent asynchronously with the specified endpoint discovery metadata and user-defined state. The specified is called when the operation completes. - Task instance. - The endpoint discovery metadata. - The source. - - - Causes an offline announcement (Bye) message to be sent asynchronously with the specified endpoint discovery metadata and user-defined state. The specified is called when the operation completes. - Task instance. - The endpoint discovery metadata. - The source. - - - Begins asynchronously retrieving an incoming request. - Task object that indicates the status of the asynchronous operation. - A Win32 function call failed. Check the exception's property to determine the cause of the exception. - This object has not been started or is currently stopped. - This object is closed. - The source. - - - Starts an asynchronous request for the client's X.509 v.3 certificate. - Task that indicates the status of the operation. - The source. - - - Called by clients to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. This method does not block. - Task object indicating the status of the asynchronous operation. - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - This object has been closed. - Authentication has already occurred.- or -This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client. - The source. - - - Called by clients to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified credentials. This method does not block. - Task object indicating the status of the asynchronous operation. - The that is used to establish the identity of the client. - The Service Principal Name (SPN) that uniquely identifies the server to authenticate. - is null.- or - is null. - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - This object has been closed. - Authentication has already occurred.- or -This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client. - The source. - - - Called by clients to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified credentials and channel binding. This method does not block. - Task object indicating the status of the asynchronous operation. - The that is used to establish the identity of the client. - The that is used for extended protection. - The Service Principal Name (SPN) that uniquely identifies the server to authenticate. - is null.- or - is null. - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - Authentication has already occurred.- or -This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client. - This object has been closed. - The source. - - - Called by servers to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. This method does not block. - Task object indicating the status of the asynchronous operation. - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - This object has been closed. - Windows 95 and Windows 98 are not supported. - The source. - - - Called by servers to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified extended protection policy. This method does not block. - Task object indicating the status of the asynchronous operation. - The that is used for extended protection. - The and on the extended protection policy passed in the parameter are both null. - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - Windows 95 and Windows 98 are not supported. - This object has been closed. - The source. - - - Called by servers to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified server credentials and authentication options. This method does not block. - Task object indicating the status of the asynchronous operation. - The that is used to establish the identity of the client. - One of the values, indicating the security services for the stream. - One of the values, indicating how the server can use the client's credentials to access resources. - is null. - must be , , or , - The authentication failed. You can use this object to retry the authentication. - The authentication failed. You can use this object to retry the authentication. - This object has been closed. - Authentication has already occurred.- or -This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server. - Windows 95 and Windows 98 are not supported. - The source. - - - Called by clients to begin an asynchronous operation to authenticate the server and optionally the client. - Task object that indicates the status of the asynchronous operation. - The name of the server that shares this . - is null. - The authentication failed and left this object in an unusable state. - Authentication has already occurred.-or-Server authentication using this was tried previously.-or- Authentication is already in progress. - This object has been closed. - The source. - - - Called by servers to begin an asynchronous operation to authenticate the client and optionally the server in a client-server connection. - Task object indicating the status of the asynchronous operation. - The X509Certificate used to authenticate the server. - is null. - The authentication failed and left this object in an unusable state. - Authentication has already occurred.-or-Client authentication using this was tried previously.-or- Authentication is already in progress. - This object has been closed. - The method is not supported on Windows 95, Windows 98, or Windows Millennium. - The source. - - - Starts an asynchronous request for a remote host connection. The host is specified by a host name and a port number. - Task that represents the asynchronous connection. - The name of the remote host. - The port number of the remote host. - is null. - The has been closed. - This method is valid for sockets in the or families. - The port number is not valid. - The is ing. - - The source. - - - Starts an asynchronous request for a remote host connection. The host is specified by an and a port number. - Task that represents the asynchronous connection. - The of the remote host. - The port number of the remote host. - is null. - An error occurred when attempting to access the socket. See the Remarks section for more information. - The has been closed. - The is not in the socket family. - The port number is not valid. - The length of is zero. - The is ing. - - The source. - - - Starts an asynchronous request for a remote host connection. The host is specified by an array and a port number. - Task that represents the asynchronous connections. - At least one , designating the remote host. - The port number of the remote host. - is null. - An error occurred when attempting to access the socket. See the Remarks section for more information. - The has been closed. - This method is valid for sockets that use or . - The port number is not valid. - The length of is zero. - The is ing. - - The source. - - - Starts an asynchronous operation to accept an incoming connection attempt. - Task that represents the asynchronous creation of the . - An error occurred while attempting to access the socket. See the Remarks section for more information. - The has been closed. - - The source. - - - Starts an asynchronous operation to accept an incoming connection attempt. - Task that represents the asynchronous creation of the . - An error occurred while attempting to access the socket. See the Remarks section for more information. - The has been closed. - - The source. - - - Sends a datagram to a destination asynchronously. The destination is specified by a . - Task object that represents the asynchronous send. - A array that contains the data to be sent. - The number of bytes to send. - The that represents the destination for the data. - The source. - - - Sends a datagram to a remote host asynchronously. The destination was specified previously by a call to . - Task object that represents the asynchronous send. - A array that contains the data to be sent. - The number of bytes to send. - The source. - - - Sends a datagram to a remote host asynchronously. The destination was specified previously by a call to . - Task object that represents the asynchronous send. - A array that contains the data to be sent. - The number of bytes to send. - The host name. - The host name. - The source. - - - Starts an asynchronous request to retrieve the stable unicast IP address table on the local computer. - Task that represents the asynchronous request. - This method is not implemented on the platform. This method uses the native NotifyStableUnicastIpAddressTable function that is supported on Windows Vista and later. - The call to the native NotifyStableUnicastIpAddressTable function failed. - The source. - - - Opens the connection asynchronously. - The source. - Task that represents the asynchronous request. - - - Opens the connection asynchronously. - The source. - The cancellation token. - Task that represents the asynchronous request. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this , given a callback procedure and state information. - Task that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected rows. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The source. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this , given a callback procedure and state information. - Task that can be used to poll or wait for results, or both; this value is also needed when invoking , which returns the number of affected rows. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The cancellation token. - The source. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and returns results as an object, using a callback procedure. - Task that can be used to poll, wait for results, or both; this value is also needed when the is called, which returns the results of the command as XML. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The source. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and returns results as an object, using a callback procedure. - Task that can be used to poll, wait for results, or both; this value is also needed when the is called, which returns the results of the command as XML. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The cancellation token. - The source. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and retrieves one or more result sets from the server, given a callback procedure and state information. - Task that can be used to poll, wait for results, or both; this value is also needed when invoking , which returns a instance which can be used to retrieve the returned rows. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The source. - - - Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this and retrieves one or more result sets from the server, given a callback procedure and state information. - Task that can be used to poll, wait for results, or both; this value is also needed when invoking , which returns a instance which can be used to retrieve the returned rows. - Any error that occurred while executing the command text. - The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this . - 2 - The cancellation token. - The source. - - - Starts an asynchronous method call that returns a . - The metadata. - The source. - - - Starts an asynchronous method call that returns a using the specified address, callback, asynchronous state, and download mechanism. - The metadata obtained from the specified . - The address of the metadata. - The value to use when downloading the metadata. - The source. - - - Starts an asynchronous method call that returns a using the specified address, callback, and asynchronous state. - The metadata obtained from the specified . - The address of the metadata. - The source. - - - - Begins an asynchronous find operation with the specified criteria. - - The discovery client. - The criteria for finding services. - A Task that represents the asynchronous operation. - - - - Begins an asynchronous resolve operation with the specified criteria. - - The discovery client. - The criteria for matching a service endpoint. - A Task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - An IPAddress that identifies the computer that is the destination for the ICMP echo message. - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - - A String that identifies the computer that is the destination for the ICMP echo message. - The value specified for this parameter can be a host name or a string representation of an IP address. - - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - An IPAddress that identifies the computer that is the destination for the ICMP echo message. - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - - A String that identifies the computer that is the destination for the ICMP echo message. - The value specified for this parameter can be a host name or a string representation of an IP address. - - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - An IPAddress that identifies the computer that is the destination for the ICMP echo message. - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - - A Byte array that contains data to be sent with the ICMP echo message and returned - in the ICMP echo reply message. The array cannot contain more than 65,500 bytes. - - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - - A String that identifies the computer that is the destination for the ICMP echo message. - The value specified for this parameter can be a host name or a string representation of an IP address. - - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - - A Byte array that contains data to be sent with the ICMP echo message and returned - in the ICMP echo reply message. The array cannot contain more than 65,500 bytes. - - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - An IPAddress that identifies the computer that is the destination for the ICMP echo message. - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - - A Byte array that contains data to be sent with the ICMP echo message and returned - in the ICMP echo reply message. The array cannot contain more than 65,500 bytes. - - A PingOptions object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. - A task that represents the asynchronous operation. - - - - Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message. - - The Ping. - - A String that identifies the computer that is the destination for the ICMP echo message. - The value specified for this parameter can be a host name or a string representation of an IP address. - - - An Int32 value that specifies the maximum number of milliseconds (after sending the echo message) - to wait for the ICMP echo reply message. - - - A Byte array that contains data to be sent with the ICMP echo message and returned - in the ICMP echo reply message. The array cannot contain more than 65,500 bytes. - - A PingOptions object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. - A task that represents the asynchronous operation. - - - The core implementation of SendTaskAsync. - The Ping. - A user-defined object stored in the resulting Task. - - A delegate that initiates the asynchronous send. - The provided TaskCompletionSource must be passed as the user-supplied state to the actual Ping.SendAsync method. - - - - - Sends an e-mail message asynchronously. - The client. - A String that contains the address information of the message sender. - A String that contains the address that the message is sent to. - A String that contains the subject line for the message. - A String that contains the message body. - A Task that represents the asynchronous send. - - - Sends an e-mail message asynchronously. - The client. - A MailMessage that contains the message to send. - A Task that represents the asynchronous send. - - - The core implementation of SendTaskAsync. - The client. - The user-supplied state. - - A delegate that initiates the asynchronous send. - The provided TaskCompletionSource must be passed as the user-supplied state to the actual SmtpClient.SendAsync method. - - - - - Provides asynchronous wrappers for the class. - - - Asynchronously returns the Internet Protocol (IP) addresses for the specified host. - The host name or IP address to resolve. - An array of type System.Net.IPAddress that holds the IP addresses for the host specified. - - - Asynchronously resolves an IP address to an System.Net.IPHostEntry instance. - The IP address to resolve. - An System.Net.IPHostEntry instance that contains address information about the host. - - - Asynchronously resolves an IP address to an System.Net.IPHostEntry instance. - The host name or IP address to resolve. - An System.Net.IPHostEntry instance that contains address information about the host. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/net40/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net40+sl4+win8+wp71+wpa81/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wp8+wpa81/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/portable-net45+win8+wpa81/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.dll deleted file mode 100644 index b981287..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.xml deleted file mode 100644 index 515d703..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.Phone.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions.Phone - - - - - Provides asynchronous wrappers for .NET Framework operations. - - - Provides asynchronous wrappers for .NET Framework operations. - - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The action to invoke. - A Task that represents the execution of the action. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The function to invoke. - A Task that represents the execution of the function. - - - Used with Task(of void) - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4-windowsphone71/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.dll deleted file mode 100644 index 689120e..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.xml deleted file mode 100644 index 950e092..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.Silverlight.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions.Silverlight - - - - - Provides asynchronous wrappers for .NET Framework operations. - - - Provides asynchronous wrappers for .NET Framework operations. - - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The action to invoke. - A Task that represents the execution of the action. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The function to invoke. - A Task that represents the execution of the function. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - Used with Task(of void) - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/sl4/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/win8/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.dll deleted file mode 100644 index b981287..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.xml deleted file mode 100644 index 515d703..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.Phone.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions.Phone - - - - - Provides asynchronous wrappers for .NET Framework operations. - - - Provides asynchronous wrappers for .NET Framework operations. - - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Downloads the resource with the specified URI as a string, asynchronously. - The WebClient. - The URI from which to download data. - A Task that contains the downloaded string. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a readable stream for the data downloaded from a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Opens a writeable stream for uploading data to a resource, asynchronously. - The WebClient. - The URI for which the stream should be opened. - The HTTP method that should be used to open the stream. - A Task that contains the opened stream. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Uploads data in a string to the specified resource, asynchronously. - The WebClient. - The URI to which the data should be uploaded. - The HTTP method that should be used to upload the data. - The data to upload. - A Task containing the data in the response from the upload. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Converts a path to a Uri using the WebClient's logic. - Based on WebClient's private GetUri method. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The action to invoke. - A Task that represents the execution of the action. - - - Asynchronously invokes an Action on the Dispatcher. - The Dispatcher. - The function to invoke. - A Task that represents the execution of the function. - - - Used with Task(of void) - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/wp8/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.dll deleted file mode 100644 index 4d862e1..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.xml deleted file mode 100644 index af646a2..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - Microsoft.Threading.Tasks.Extensions - - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - - Provides asynchronous wrappers for .NET Framework operations. - - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. - - A Task that represents the asynchronous read. - The source. - The buffer to read data into. - The byte offset in at which to begin reading. - The maximum number of bytes to read. - The cancellation token. - The array length minus is less than . - is null. - or is negative. - An asynchronous read was attempted past the end of the file. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Writes asynchronously a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - - A Task that represents the asynchronous write. - The source. - The buffer containing data to write to the current stream. - The zero-based byte offset in at which to begin copying bytes to the current stream. - The maximum number of bytes to write. - The cancellation token. - length minus is less than . - is null. - or is negative. - The stream does not support writing. - The stream is closed. - An I/O error occurred. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Flushes asynchronously the current stream. - - A Task that represents the asynchronous flush. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads all the bytes from the current stream and writes them to the destination stream. - - The source stream. - The stream that will contain the contents of the current stream. - The size of the buffer. This value must be greater than zero. The default size is 4096. - The cancellation token to use to cancel the asynchronous operation. - A Task that represents the asynchronous operation. - - - - Reads a maximum of count characters from the reader asynchronously and writes - the data to buffer, beginning at index. - - - When the operation completes, contains the specified character array with the - values between index and (index + count - 1) replaced by the characters read - from the current source. - - - The maximum number of characters to read. If the end of the stream is reached - before count of characters is read into buffer, the current method returns. - - The place in buffer at which to begin writing. - the source reader. - A Task that represents the asynchronous operation. - - - - Reads asynchronously a maximum of count characters from the current stream, and writes the - data to buffer, beginning at index. - - The source reader. - - When this method returns, this parameter contains the specified character - array with the values between index and (index + count -1) replaced by the - characters read from the current source. - - The position in buffer at which to begin writing. - The maximum number of characters to read. - A Task that represents the asynchronous operation. - - - - Reads a line of characters from the reader and returns the string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - - Reads all characters from the current position to the end of the TextReader - and returns them as one string asynchronously. - - the source reader. - A Task that represents the asynchronous operation. - - - Writes a string asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - Writes a line terminator asynchronously to a text stream. - The writer. - A Task representing the asynchronous write. - - - Writes a string followed by a line terminator asynchronously to a text stream. - The writer. - The string to write. - A Task representing the asynchronous write. - - - Writes a char followed by a line terminator asynchronously to a text stream. - The writer. - The char to write. - A Task representing the asynchronous write. - - - Writes a char array followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - A Task representing the asynchronous write. - - - Writes a subarray of characters followed by a line terminator asynchronously to a text stream. - The writer. - The buffer to write. - Starting index in the buffer. - The number of characters to write. - A Task representing the asynchronous write. - - - - Clears all buffers for the current writer and causes any buffered data to - be written to the underlying device. - - The writer. - A Task representing the asynchronous flush. - - - Starts an asynchronous request for a web resource. - Task that represents the asynchronous request. - The stream is already in use by a previous call to . - - The source. - - - Starts an asynchronous request for a object to use to write data. - Task that represents the asynchronous request. - The property is GET and the application writes to the stream. - The stream is being used by a previous call to . - No write stream is available. - - The source. - - - diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.dll b/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.dll deleted file mode 100644 index 8438577..0000000 Binary files a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.xml b/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.xml deleted file mode 100644 index 5c22030..0000000 --- a/packages/Microsoft.Bcl.Async.1.0.168/lib/wpa81/Microsoft.Threading.Tasks.xml +++ /dev/null @@ -1,630 +0,0 @@ - - - - Microsoft.Threading.Tasks - - - - - Provides extension methods for threading-related types. - - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time in milliseconds for the source to be canceled. - - - Cancels the after the specified duration. - The CancellationTokenSource. - The due time for the source to be canceled. - - - Gets an awaiter used to await this . - The task to await. - An awaiter instance. - - - Gets an awaiter used to await this . - Specifies the type of data returned by the task. - The task to await. - An awaiter instance. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Creates and configures an awaitable object for awaiting the specified task. - The task to be awaited. - - true to automatic marshag back to the original call site's current SynchronizationContext - or TaskScheduler; otherwise, false. - - The instance to be awaited. - - - Event handler for progress reports. - Specifies the type of data for the progress report. - The sender of the report. - The reported value. - - - - Provides an IProgress{T} that invokes callbacks for each reported progress value. - - Specifies the type of the progress report value. - - Any handler provided to the constructor or event handlers registered with - the event are invoked through a - instance captured - when the instance is constructed. If there is no current SynchronizationContext - at the time of construction, the callbacks will be invoked on the ThreadPool. - - - - The synchronization context captured upon construction. This will never be null. - - - The handler specified to the constructor. This may be null. - - - A cached delegate used to post invocation to the synchronization context. - - - Initializes the . - - - Initializes the with the specified callback. - - A handler to invoke for each reported progress value. This handler will be invoked - in addition to any delegates registered with the event. - - The is null (Nothing in Visual Basic). - - - Reports a progress change. - The value of the updated progress. - - - Reports a progress change. - The value of the updated progress. - - - Invokes the action and event callbacks. - The progress value. - - - Raised for each reported progress value. - - Handlers registered with this event will be invoked on the - captured when the instance was constructed. - - - - Holds static values for . - This avoids one static instance per type T. - - - A default synchronization context that targets the ThreadPool. - - - Throws the exception on the ThreadPool. - The exception to propagate. - The target context on which to propagate the exception. Null to use the ThreadPool. - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The to await. - - true to attempt to marshal the continuation back to the original context captured - when BeginAwait is called; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable object that allows for configured awaits on . - This type is intended for compiler use only. - - - The underlying awaitable on whose logic this awaitable relies. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Gets an awaiter for this awaitable. - The awaiter. - - - Provides an awaiter for a . - This type is intended for compiler use only. - - - The task being awaited. - - - Whether to attempt marshaling back to the original context. - - - Initializes the . - The awaitable . - - true to attempt to marshal the continuation back to the original context captured; otherwise, false. - - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The default value to use for continueOnCapturedContext. - - - Error message for GetAwaiter. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - - Fast checks for the end of an await operation to determine whether more needs to be done - prior to completing the await. - - The awaited task. - - - Handles validations on tasks that aren't successfully completed. - The awaited task. - - - Throws an exception to handle a task that completed in a state other than RanToCompletion. - - - Schedules the continuation onto the associated with this . - The awaited task. - The action to invoke when the await operation completes. - Whether to capture and marshal back to the current context. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool. - - - - Copies the exception's stack trace so its stack trace isn't overwritten. - The exception to prepare. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Whether the current thread is appropriate for inlining the await continuation. - - - Provides an awaiter for awaiting a . - This type is intended for compiler use only. - - - The task being awaited. - - - Initializes the . - The to be awaited. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Schedules the continuation onto the associated with this . - The action to invoke when the await operation completes. - The argument is null (Nothing in Visual Basic). - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was not yet completed. - The task was canceled. - The task completed in a Faulted state. - - - Gets whether the task being awaited is completed. - This property is intended for compiler user rather than use directly in code. - The awaiter was not properly initialized. - - - Provides an awaitable context for switching into a target environment. - This type is intended for compiler use only. - - - Gets an awaiter for this . - An awaiter for this awaitable. - This method is intended for compiler user rather than use directly in code. - - - Provides an awaiter that switches into a target environment. - This type is intended for compiler use only. - - - A completed task. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Posts the back to the current context. - The action to invoke asynchronously. - The awaiter was not properly initialized. - - - Ends the await operation. - - - Gets whether a yield is not required. - This property is intended for compiler user rather than use directly in code. - - - Provides methods for creating and manipulating tasks. - - - Creates a task that runs the specified action. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified action. - The action to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute. - The CancellationToken to use to request cancellation of this task. - A task that represents the completion of the function. - The argument is null. - - - Creates a task that runs the specified function. - The function to execute asynchronously. - A task that represents the completion of the action. - The argument is null. - - - Creates a task that runs the specified function. - The action to execute. - The CancellationToken to use to cancel the task. - A task that represents the completion of the action. - The argument is null. - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - Starts a Task that will complete after the specified due time. - The delay in milliseconds before the returned task completes. - A CancellationToken that may be used to cancel the task before the due time occurs. - The timed Task. - - The argument must be non-negative or -1 and less than or equal to Int32.MaxValue. - - - - An already completed task. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - A Task that represents the completion of all of the provided tasks. - - If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information - about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned - Task will also be canceled. - - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete only when all of the provided collection of Tasks has completed. - The Tasks to monitor for completion. - - A callback invoked when all of the tasks complete successfully in the RanToCompletion state. - This callback is responsible for storing the results into the TaskCompletionSource. - - A Task that represents the completion of all of the provided tasks. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates a Task that will complete when any of the tasks in the provided collection completes. - The Tasks to be monitored. - - A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. - - Any Tasks that fault will need to have their exceptions observed elsewhere. - The argument is null. - The argument contains a null reference. - - - Creates an already completed from the specified result. - The result from which to create the completed task. - The completed task. - - - Creates an awaitable that asynchronously yields back to the current context when awaited. - - A context that, when awaited, will asynchronously transition back into the current context. - If SynchronizationContext.Current is non-null, that is treated as the current context. - Otherwise, TaskScheduler.Current is treated as the current context. - - - - Adds the target exception to the list, initializing the list if it's null. - The list to which to add the exception and initialize if the list is null. - The exception to add, and unwrap if it's an aggregate. - - - Returns a canceled task. - The cancellation token. - The canceled task. - - - Returns a canceled task. - Specifies the type of the result. - The cancellation token. - The canceled task. - - - - Completes the Task if the user state matches the TaskCompletionSource. - - Specifies the type of data returned by the Task. - The TaskCompletionSource. - The completion event arguments. - Whether we require the tcs to match the e.UserState. - A function that gets the result with which to complete the task. - An action used to unregister work when the operaiton completes. - - - diff --git a/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf b/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf deleted file mode 100644 index 3aec6b6..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/License-Stable.rtf +++ /dev/null @@ -1,118 +0,0 @@ -{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fnil\fcharset0 Calibri;}{\f4\fnil\fcharset2 Symbol;}} -{\colortbl ;\red31\green73\blue125;\red0\green0\blue255;} -{\*\listtable -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx360} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc2\leveljc0\levelstartat1{\leveltext\'02\'02.;}{\levelnumbers\'01;}\jclisttab\tx720}\listid1 } -{\list\listhybrid -{\listlevel\levelnfc0\leveljc0\levelstartat1{\leveltext\'02\'00.;}{\levelnumbers\'01;}\jclisttab\tx363} -{\listlevel\levelnfc4\leveljc0\levelstartat1{\leveltext\'02\'01.;}{\levelnumbers\'01;}\jclisttab\tx363}\listid2 }} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} -{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}} -{\*\generator Riched20 6.2.9200}\viewkind4\uc1 -\pard\nowidctlpar\sb120\sa120\b\f0\fs24 MICROSOFT SOFTWARE LICENSE TERMS\par - -\pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT .NET LIBRARY \par - -\pard\nowidctlpar\sb120\sa120\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120\b0 updates,\par -{\pntext\f4\'B7\tab}supplements,\par -{\pntext\f4\'B7\tab}Internet-based services, and\par -{\pntext\f4\'B7\tab}support services\par - -\pard\nowidctlpar\sb120\sa120\b for this software, unless other terms accompany those items. If so, those terms apply.\par -BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par - -\pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.\par - -\pard -{\listtext\f0 1.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120 INSTALLATION AND USE RIGHTS. \par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 Installation and Use.\b0\fs20 You may install and use any number of copies of the software to design, develop and test your programs.\par -{\listtext\f0 b.\tab}\b\fs19 Third Party Programs.\b0\fs20 The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.\b\fs19\par - -\pard -{\listtext\f0 2.\tab}\jclisttab\tx360\ls1\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls1\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 DISTRIBUTABLE CODE.\~ \b0 The software is comprised of Distributable Code. \f1\ldblquote\f0 Distributable Code\f1\rdblquote\f0 is code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\par - -\pard -{\listtext\f0 i.\tab}\jclisttab\tx720\ls1\ilvl2\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077 Right to Use and Distribute. \par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 You may copy and distribute the object code form of the software.\par -{\pntext\f4\'B7\tab}Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b ii.\tab Distribution Requirements.\b0 \b For any Distributable Code you distribute, you must\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 add significant primary functionality to it in your programs;\par -{\pntext\f4\'B7\tab}require distributors and external end users to agree to terms that protect it at least as much as this agreement;\par -{\pntext\f4\'B7\tab}display your valid copyright notice on your programs; and\par -{\pntext\f4\'B7\tab}indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par - -\pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\b iii.\tab Distribution Restrictions.\b0 \b You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-357\li1434\sb120\sa120\b0 alter any copyright, trademark or patent notice in the Distributable Code;\par -{\pntext\f4\'B7\tab}use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft;\par -{\pntext\f4\'B7\tab}include Distributable Code in malicious, deceptive or unlawful programs; or\par -{\pntext\f4\'B7\tab}modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\fi-358\li1792\sb120\sa120 the code be disclosed or distributed in source code form; or\cf1\f2\par -{\pntext\f4\'B7\tab}\cf0\f0 others have the right to modify it.\cf1\f2\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\cf0\b\f0 3.\tab\fs19 SCOPE OF LICENSE. \b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 work around any technical limitations in the software;\par -{\pntext\f4\'B7\tab}reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par -{\pntext\f4\'B7\tab}publish the software for others to copy;\par -{\pntext\f4\'B7\tab}rent, lease or lend the software;\par -{\pntext\f4\'B7\tab}transfer the software or this agreement to any third party; or\par -{\pntext\f4\'B7\tab}use the software for commercial software hosting services.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\b\fs20 4.\tab\fs19 BACKUP COPY. \b0 You may make one backup copy of the software. You may use it only to reinstall the software.\par -\b\fs20 5.\tab\fs19 DOCUMENTATION. \b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\par -\b\fs20 6.\tab\fs19 EXPORT RESTRICTIONS. \b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf2\ul\fs20{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\f0\fs19 .\cf2\ul\fs20\par -\cf0\ulnone\b 7.\tab\fs19 SUPPORT SERVICES. \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\par -\b\fs20 8.\tab\fs19 ENTIRE AGREEMENT. \b0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par -\b\fs20 9.\tab\fs19 APPLICABLE LAW.\par - -\pard -{\listtext\f0 a.\tab}\jclisttab\tx363\ls2\ilvl1\nowidctlpar\s2\fi-363\li720\sb120\sa120 United States. \b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\par -{\listtext\f0 b.\tab}\b Outside the United States. If you acquired the software in any other country, the laws of that country apply.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 10.\tab\fs19 LEGAL EFFECT. \b0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\par -\b\fs20 11.\tab\fs19 DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \ldblquote AS-IS.\rdblquote YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\par - -\pard\nowidctlpar\li357\sb120\sa120 FOR AUSTRALIA \endash YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.\par - -\pard\nowidctlpar\s1\fi-357\li357\sb120\sa120\fs20 12.\tab\fs19 LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.\par - -\pard\nowidctlpar\li357\sb120\sa120\b0 This limitation applies to\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent363{\pntxtb\'B7}}\nowidctlpar\fi-363\li720\sb120\sa120 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par -{\pntext\f4\'B7\tab}claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par - -\pard\nowidctlpar\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par -\lang9 Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par -Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EXON\'c9RATION DE GARANTIE. \b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Microsoft n\rquote accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d\rquote ad\'e9quation \'e0 un usage particulier et d\rquote absence de contrefa\'e7on sont exclues.\par -\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES. \b0 Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par - -\pard\nowidctlpar\sb120\sa120\lang9 Cette limitation concerne :\par - -\pard{\pntext\f4\'B7\tab}{\*\pn\pnlvlblt\pnf4\pnindent360{\pntxtb\'B7}}\nowidctlpar\li720\sb120\sa120 tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par -{\pntext\f4\'B7\tab}les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d\rquote une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par - -\pard\nowidctlpar\sb120\sa120 Elle s\rquote applique \'e9galement, m\'eame si Microsoft connaissait ou devrait conna\'eetre l\rquote\'e9ventualit\'e9 d\rquote un tel dommage. Si votre pays n\rquote autorise pas l\rquote exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l\rquote exclusion ci-dessus ne s\rquote appliquera pas \'e0 votre \'e9gard.\par - -\pard\nowidctlpar\s1\sb120\sa120\b\lang1033 EFFET JURIDIQUE. \b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d\rquote autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\par - -\pard\nowidctlpar\sb120\sa120\b\fs20\lang1036\par - -\pard\sa200\sl276\slmult1\b0\f3\fs22\lang9\par -} - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg b/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg deleted file mode 100644 index e99599c..0000000 Binary files a/packages/Microsoft.Bcl.Build.1.0.14/Microsoft.Bcl.Build.1.0.14.nupkg and /dev/null differ diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/net40/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/net40/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/netcore45/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/netcore45/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/portable-net40+win8+sl4+wp71+wpa81/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/portable-net40+win8+sl4+wp71+wpa81/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/sl4-windowsphone71/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/sl4-windowsphone71/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/content/sl4/_._ b/packages/Microsoft.Bcl.Build.1.0.14/content/sl4/_._ deleted file mode 100644 index e69de29..0000000 diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 b/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 deleted file mode 100644 index 0bcac3e..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Install.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - # This is the MSBuild targets file to add - $targetsFile = [System.IO.Path]::Combine($toolsPath, $package.Id + '.targets') - - # Need to load MSBuild assembly if it's not loaded yet. - Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' - - # Grab the loaded MSBuild project for the project - # Normalize project path before calling GetLoadedProjects as it performs a string based match - $msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects([System.IO.Path]::GetFullPath($project.FullName)) | Select-Object -First 1 - - # Make the path to the targets file relative. - $projectUri = new-object Uri($project.FullName, [System.UriKind]::Absolute) - $targetUri = new-object Uri($targetsFile, [System.UriKind]::Absolute) - $relativePath = [System.Uri]::UnescapeDataString($projectUri.MakeRelativeUri($targetUri).ToString()).Replace([System.IO.Path]::AltDirectorySeparatorChar, [System.IO.Path]::DirectorySeparatorChar) - - # Add the import with a condition, to allow the project to load without the targets present. - $import = $msbuild.Xml.AddImport($relativePath) - $import.Condition = "Exists('$relativePath')" - - # Add a target to fail the build when our targets are not imported - $target = $msbuild.Xml.AddTarget("EnsureBclBuildImported") - $target.BeforeTargets = "BeforeBuild" - $target.Condition = "'`$(BclBuildImported)' == ''" - - # if the targets don't exist at the time the target runs, package restore didn't run - $errorTask = $target.AddTask("Error") - $errorTask.Condition = "!Exists('$relativePath')" - $errorTask.SetParameter("Text", "This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567."); - $errorTask.SetParameter("HelpKeyword", "BCLBUILD2001"); - - # if the targets exist at the time the target runs, package restore ran but the build didn't import the targets. - $errorTask = $target.AddTask("Error") - $errorTask.Condition = "Exists('$relativePath')" - $errorTask.SetParameter("Text", "The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568."); - $errorTask.SetParameter("HelpKeyword", "BCLBUILD2002"); - - $project.Save() \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll b/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll deleted file mode 100644 index 054e776..0000000 Binary files a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll and /dev/null differ diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets b/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets deleted file mode 100644 index a14b3ea..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.targets +++ /dev/null @@ -1,232 +0,0 @@ - - - - true - - - - - false - - - $(ProjectConfigFileName) - - - - - - <_FullFrameworkReferenceAssemblyPaths>$(TargetFrameworkDirectory) - - - - - - <__IntermediateAppConfig>$(IntermediateOutputPath)$(MSBuildProjectFile).App.config - - true - - - - - - - - - <_EnsureBindingRedirectReference Include="@(Reference)" - Condition="'%(Reference.HintPath)' != '' and Exists('$([System.IO.Path]::GetDirectoryName("%(Reference.HintPath)"))\\ensureRedirect.xml')" /> - - - - - - - - - - - - - - - $(__IntermediateAppConfig) - - - - - $(TargetFileName).config - - - - - - - - - - - <_BclBuildProjectReferenceProperties>BclBuildReferencingProject=$(MSBuildProjectFullPath);BclBuildReferencingProjectConfig=$(MSBuildProjectDirectory)\packages.config - <_BclBuildProjectReferenceProperties Condition="'$(SkipValidatePackageReferences)' != ''">$(_BclBuildProjectReferenceProperties);SkipValidatePackageReferences=$(SkipValidatePackageReferences) - - - - - $(_BclBuildProjectReferenceProperties);%(ProjectReference.AdditionalProperties) - - - - - - - - true - - - - - - - - - - false - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 b/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 deleted file mode 100644 index 255a059..0000000 --- a/packages/Microsoft.Bcl.Build.1.0.14/tools/Uninstall.ps1 +++ /dev/null @@ -1,26 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - - # Need to load MSBuild assembly if it's not loaded yet. - Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' - - # Grab the loaded MSBuild project for the project - # Normalize project path before calling GetLoadedProjects as it performs a string based match - $msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects([System.IO.Path]::GetFullPath($project.FullName)) | Select-Object -First 1 - - # Find all the imports and targets added by this package. - $itemsToRemove = @() - - # Allow many in case a past package was incorrectly uninstalled - $itemsToRemove += $msbuild.Xml.Imports | Where-Object { $_.Project.EndsWith($package.Id + '.targets') } - $itemsToRemove += $msbuild.Xml.Targets | Where-Object { $_.Name -eq "EnsureBclBuildImported" } - - # Remove the elements and save the project - if ($itemsToRemove -and $itemsToRemove.length) - { - foreach ($itemToRemove in $itemsToRemove) - { - $msbuild.Xml.RemoveChild($itemToRemove) | out-null - } - - $project.Save() - } \ No newline at end of file diff --git a/packages/Microsoft.Owin.3.0.0/Microsoft.Owin.3.0.0.nupkg b/packages/Microsoft.Owin.3.0.0/Microsoft.Owin.3.0.0.nupkg deleted file mode 100644 index e728020..0000000 Binary files a/packages/Microsoft.Owin.3.0.0/Microsoft.Owin.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.dll b/packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.dll deleted file mode 100644 index 3193210..0000000 Binary files a/packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.dll and /dev/null differ diff --git a/packages/Microsoft.Owin.4.1.0/.signature.p7s b/packages/Microsoft.Owin.4.1.0/.signature.p7s new file mode 100644 index 0000000..470f4a2 Binary files /dev/null and b/packages/Microsoft.Owin.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.XML b/packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.XML similarity index 97% rename from packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.XML rename to packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.XML index c76bbd4..4380dc5 100644 --- a/packages/Microsoft.Owin.3.0.0/lib/net45/Microsoft.Owin.XML +++ b/packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.XML @@ -33,196 +33,219 @@ An app that handles the request or calls the given next Func - + - Represents a middleware for executing in-line function middleware. + An ordered list of known Asp.Net integrated pipeline stages. More details on the ASP.NET integrated pipeline can be found at http://msdn.microsoft.com/en-us/library/system.web.httpapplication.aspx - + - Initializes a new instance of the class. + Corresponds to the AuthenticateRequest stage of the ASP.NET integrated pipeline. - The pointer to next middleware. - A function that handles all requests. - + - Initializes a new instance of the class. + Corresponds to the PostAuthenticateRequest stage of the ASP.NET integrated pipeline. - The pointer to next middleware. - A function that handles the request or calls the given next function. - + - Invokes the handler for processing the request. + Corresponds to the AuthorizeRequest stage of the ASP.NET integrated pipeline. - The OWIN context. - The object that represents the request operation. - + - Contains the parsed form values. + Corresponds to the PostAuthorizeRequest stage of the ASP.NET integrated pipeline. - + - Accessors for query, forms, etc. + Corresponds to the ResolveRequestCache stage of the ASP.NET integrated pipeline. - + - Accessors for headers, query, forms, etc. + Corresponds to the PostResolveRequestCache stage of the ASP.NET integrated pipeline. - + - Get the associated value from the collection. Multiple values will be merged. - Returns null if the key is not present. + Corresponds to the MapRequestHandler stage of the ASP.NET integrated pipeline. - - - + - Get the associated values from the collection in their original format. - Returns null if the key is not present. + Corresponds to the PostMapRequestHandler stage of the ASP.NET integrated pipeline. - - - + - Get the associated value from the collection. Multiple values will be merged. - Returns null if the key is not present. + Corresponds to the AcquireRequestState stage of the ASP.NET integrated pipeline. - - - + - Create a new wrapper + Corresponds to the PostAcquireRequestState stage of the ASP.NET integrated pipeline. - - + - Get the associated value from the collection. Multiple values will be merged. - Returns null if the key is not present. + Corresponds to the PreRequestHandlerExecute stage of the ASP.NET integrated pipeline. - - - + - Get the associated values from the collection in their original format. - Returns null if the key is not present. + Extension methods for the MapMiddleware - + + + + If the request path starts with the given pathMatch, execute the app configured via configuration parameter instead of + continuing to the next component in the pipeline. + + + The path to match + The branch to take for positive path matches - + - + If the request path starts with the given pathMatch, execute the app configured via configuration parameter instead of + continuing to the next component in the pipeline. + + The path to match + The branch to take for positive path matches - + - + Extension methods for the MapWhenMiddleware + + + + + Branches the request pipeline based on the result of the given predicate. + + Invoked with the request environment to determine if the branch should be taken + Configures a branch to take - + - Get the associated value from the collection. Multiple values will be merged. - Returns null if the key is not present. + Branches the request pipeline based on the async result of the given predicate. - + + Invoked asynchronously with the request environment to determine if the branch should be taken + Configures a branch to take - + - Contains the parsed form values. + Represents a middleware for executing in-line function middleware. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The store for the form. + The pointer to next middleware. + A function that handles all requests. - + - Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders. + Initializes a new instance of the class. + + The pointer to next middleware. + A function that handles the request or calls the given next function. + + + + Invokes the handler for processing the request. + The OWIN context. + The object that represents the request operation. - + - Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders. + Extension methods used to indicate at which stage in the integrated pipeline prior middleware should run. - + - Get the associated values from the collection separated into individual values. - Quoted values will not be split, and the quotes will be removed. + Call after other middleware to specify when they should run in the integrated pipeline. - The header name. - the associated values from the collection separated into individual values, or null if the key is not present. + The IAppBuilder. + The name of the integrated pipeline in which to run. + The original IAppBuilder for chaining. - + - Add a new value. Appends to the header if already present + Call after other middleware to specify when they should run in the integrated pipeline. - The header name. - The header value. + The IAppBuilder. + The stage of the integrated pipeline in which to run. + The original IAppBuilder for chaining. - + - Add new values. Each item remains a separate array entry. + Contains the parsed form values. - The header name. - The header values. - + - Quotes any values containing comas, and then coma joins all of the values with any existing values. + Initializes a new instance of the class. - The header name. - The header values. + The store for the form. - + - Sets a specific header value. + Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders. - The header name. - The header value. - + - Sets the specified header values without modification. + Initializes a new instance of the class. - The header name. - The header values. + The underlying data store. - + - Quotes any values containing comas, and then coma joins all of the values. + Gets an that contains the keys in the ;. - The header name. - The header values. + An that contains the keys in the . - + + + + + + + + Gets the number of elements contained in the ;. + + The number of elements contained in the . + + + + Gets a value that indicates whether the is in read-only mode. + + true if the is in read-only mode; otherwise, false. + + Get or sets the associated value from the collection as a single string. The header name. the associated value from the collection as a single string or null if the key is not present. - + - Initializes a new instance of the class. + Throws KeyNotFoundException if the key is not present. - The underlying data store. + The header name. + @@ -361,78 +384,46 @@ The item. true if the specified object was removed from the collection; otherwise, false. - + - Gets an that contains the keys in the ;. + Represents the host portion of a Uri can be used to construct Uri's properly formatted and encoded for use in + HTTP headers. - An that contains the keys in the . - + - + Creates a new HostString without modification. The value should be Unicode rather than punycode, and may have a port. + IPv4 and IPv6 addresses are also allowed, and also may have ports. + - + - Gets the number of elements contained in the ;. + Returns the original value from the constructor. - The number of elements contained in the . - + - Gets a value that indicates whether the is in read-only mode. + Returns the value as normalized by ToUriComponent(). - true if the is in read-only mode; otherwise, false. + - + - Get or sets the associated value from the collection as a single string. + Returns the value properly formatted and encoded for use in a URI in a HTTP header. + Any Unicode is converted to punycode. IPv6 addresses will have brackets added if they are missing. - The header name. - the associated value from the collection as a single string or null if the key is not present. + - + - Throws KeyNotFoundException if the key is not present. + Creates a new HostString from the given uri component. + Any punycode will be converted to Unicode. - The header name. + - - - Represents the host portion of a Uri can be used to construct Uri's properly formatted and encoded for use in - HTTP headers. - - - - - Creates a new HostString without modification. The value should be Unicode rather than punycode, and may have a port. - IPv4 and IPv6 addresses are also allowed, and also may have ports. - - - - - - Returns the value as normalized by ToUriComponent(). - - - - - - Returns the value properly formatted and encoded for use in a URI in a HTTP header. - Any Unicode is converted to punycode. IPv6 addresses will have brackets added if they are missing. - - - - - - Creates a new HostString from the given uri component. - Any punycode will be converted to Unicode. - - - - - + Creates a new HostString from the host and port of the give Uri instance. Punycode will be converted to Unicode. @@ -476,49 +467,114 @@ - + - Returns the original value from the constructor. + Contains the parsed form values. - + - This handles cookies that are limited by per cookie length. It breaks down long cookies for responses, and reassembles them - from requests. + Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders. - + - Get the reassembled cookie. Non chunked cookies are returned normally. - Cookies with missing chunks just have their "chunks:XX" header returned. + Get or sets the associated value from the collection as a single string. + + The header name. + the associated value from the collection as a single string or null if the key is not present. + + + + Get the associated values from the collection separated into individual values. + Quoted values will not be split, and the quotes will be removed. + + The header name. + the associated values from the collection separated into individual values, or null if the key is not present. + + + + Add a new value. Appends to the header if already present + + The header name. + The header value. + + + + Add new values. Each item remains a separate array entry. + + The header name. + The header values. + + + + Quotes any values containing comas, and then coma joins all of the values with any existing values. + + The header name. + The header values. + + + + Sets a specific header value. + + The header name. + The header value. + + + + Sets the specified header values without modification. + + The header name. + The header values. + + + + Quotes any values containing comas, and then coma joins all of the values. + + The header name. + The header values. + + + + An implementation of ICookieManager that writes directly to IOwinContext.Response.Cookies. + + + + + Read a cookie with the given name from the request. - The reassembled cookie, if any, or null. + - + - Appends a new response cookie to the Set-Cookie header. If the cookie is larger than the given size limit - then it will be broken down into multiple cookies as follows: - Set-Cookie: CookieName=chunks:3; path=/ - Set-Cookie: CookieNameC1=Segment1; path=/ - Set-Cookie: CookieNameC2=Segment2; path=/ - Set-Cookie: CookieNameC3=Segment3; path=/ + Appends a new response cookie to the Set-Cookie header. - + - Deletes the cookie with the given key by setting an expired state. If a matching chunked cookie exists on - the request, delete each chunk. + Deletes the cookie with the given key by appending an expired cookie. + + + This handles cookies that are limited by per cookie length. It breaks down long cookies for responses, and reassembles them + from requests. + + + + + Creates a new instance of ChunkingCookieManager. + + The maximum size of cookie to send back to the client. If a cookie exceeds this size it will be broken down into multiple @@ -533,121 +589,257 @@ Throw if not all chunks of a cookie are available on a request for re-assembly. - + - This wraps OWIN environment dictionary and provides strongly typed accessors. + Get the reassembled cookie. Non chunked cookies are returned normally. + Cookies with missing chunks just have their "chunks:XX" header returned. + + + The reassembled cookie, if any, or null. - + - Gets a value from the OWIN environment, or returns default(T) if not present. + Appends a new response cookie to the Set-Cookie header. If the cookie is larger than the given size limit + then it will be broken down into multiple cookies as follows: + Set-Cookie: CookieName=chunks:3; path=/ + Set-Cookie: CookieNameC1=Segment1; path=/ + Set-Cookie: CookieNameC2=Segment2; path=/ + Set-Cookie: CookieNameC3=Segment3; path=/ - The type of the value. - The key of the value to get. - The value with the specified key or the default(T) if not present. + + + + - + - Sets the given key and value in the OWIN environment. + Deletes the cookie with the given key by setting an expired state. If a matching chunked cookie exists on + the request, delete each chunk. - The type of the value. - The key of the value to set. - The value to set. - This instance. + + + - + - Gets a wrapper exposing request specific properties. + An abstraction for reading request cookies and writing response cookies. - A wrapper exposing request specific properties. - + - Gets a wrapper exposing response specific properties. + Read a cookie with the given name from the request. - A wrapper exposing response specific properties. + + + - + - Gets the Authentication middleware functionality available on the current request. + Append a cookie to the response. - The authentication middleware functionality available on the current request. + + + + - + - Gets the OWIN environment. + Append a delete cookie to the response. - The OWIN environment. + + + - + - Gets or sets the host.TraceOutput environment value. + Abstracts the system clock to facilitate testing. - The host.TraceOutput TextWriter. - + - This wraps OWIN environment dictionary and provides strongly typed accessors. + Retrieves the current system time in UTC. - + - Asynchronously reads and parses the request body as a form. + Provides access to the normal system clock. - The parsed form data. - + - Gets a value from the OWIN environment, or returns default(T) if not present. + Retrieves the current system time in UTC. - The type of the value. - The key of the value to get. - The value with the specified key or the default(T) if not present. - + - Sets the given key and value in the OWIN environment. + Response generation utilities. - The type of the value. - The key of the value to set. - The value to set. - This instance. - + - Gets the OWIN environment. + Append the given query to the uri. - The OWIN environment. + The base uri. + The query string to append, if any. + The combine result. - + - Gets the request context. + Append the given query key and value to the uri. - The request context. + The base uri. + The name of the query key. + The query value. + The combine result. - + - Gets or set the HTTP method. + Append the given query keys and values to the uri. - The HTTP method. + The base uri. + A collection of name value query pairs to append. + The combine result. - + - Gets or set the HTTP request scheme from owin.RequestScheme. + Converts between an OwinMiddlware and an . - The HTTP request scheme from owin.RequestScheme. - + - Returns true if the owin.RequestScheme is https. + - true if this request is using https; otherwise, false. + - + - Gets or set the Host header. May include the port. + - The Host header. + + + + + + Transitions between and OwinMiddleware. + + + + + + + + + + + + + OWIN environment dictionary which stores state information about the request, response and relevant server state. + + + + + Adds adapters between and OwinMiddleware. + + + + + Adds adapters between and OwinMiddleware. + + + + + + This wraps OWIN environment dictionary and provides strongly typed accessors. + + + + + Gets a wrapper exposing request specific properties. + + A wrapper exposing request specific properties. + + + + Gets a wrapper exposing response specific properties. + + A wrapper exposing response specific properties. + + + + Gets the Authentication middleware functionality available on the current request. + + The authentication middleware functionality available on the current request. + + + + Gets the OWIN environment. + + The OWIN environment. + + + + Gets or sets the host.TraceOutput environment value. + + The host.TraceOutput TextWriter. + + + + Gets a value from the OWIN environment, or returns default(T) if not present. + + The type of the value. + The key of the value to get. + The value with the specified key or the default(T) if not present. + + + + Sets the given key and value in the OWIN environment. + + The type of the value. + The key of the value to set. + The value to set. + This instance. + + + + This wraps OWIN environment dictionary and provides strongly typed accessors. + + + + + Gets the OWIN environment. + + The OWIN environment. + + + + Gets the request context. + + The request context. + + + + Gets or set the HTTP method. + + The HTTP method. + + + + Gets or set the HTTP request scheme from owin.RequestScheme. + + The HTTP request scheme from owin.RequestScheme. + + + + Returns true if the owin.RequestScheme is https. + + true if this request is using https; otherwise, false. + + + + Gets or set the Host header. May include the port. + + The Host header. @@ -763,11 +955,106 @@ The server.User. + + + Asynchronously reads and parses the request body as a form. + + The parsed form data. + + + + Gets a value from the OWIN environment, or returns default(T) if not present. + + The type of the value. + The key of the value to get. + The value with the specified key or the default(T) if not present. + + + + Sets the given key and value in the OWIN environment. + + The type of the value. + The key of the value to set. + The value to set. + This instance. + This wraps OWIN environment dictionary and provides strongly typed accessors. + + + Gets the OWIN environment. + + The OWIN environment. + + + + Gets the request context. + + The request context. + + + + Gets or sets the optional owin.ResponseStatusCode. + + The optional owin.ResponseStatusCode, or 200 if not set. + + + + Gets or sets the the optional owin.ResponseReasonPhrase. + + The the optional owin.ResponseReasonPhrase. + + + + Gets or sets the owin.ResponseProtocol. + + The owin.ResponseProtocol. + + + + Gets the response header collection. + + The response header collection. + + + + Gets a collection used to manipulate the Set-Cookie header. + + A collection used to manipulate the Set-Cookie header. + + + + Gets or sets the Content-Length header. + + The Content-Length header. + + + + Gets or sets the Content-Type header. + + The Content-Type header. + + + + Gets or sets the Expires header. + + The Expires header. + + + + Gets or sets the E-Tag header. + + The E-Tag header. + + + + Gets or sets the owin.ResponseBody Stream. + + The owin.ResponseBody Stream. + Registers for an event that fires when the response headers are sent. @@ -858,86 +1145,43 @@ The value to set. This instance. - + - Gets the OWIN environment. + Accessors for headers, query, forms, etc. - The OWIN environment. - + - Gets the request context. + Get the associated value from the collection. Multiple values will be merged. + Returns null if the key is not present. - The request context. + + - + - Gets or sets the optional owin.ResponseStatusCode. + Get the associated value from the collection. Multiple values will be merged. + Returns null if the key is not present. - The optional owin.ResponseStatusCode, or 200 if not set. + + - + - Gets or sets the the optional owin.ResponseReasonPhrase. + Get the associated values from the collection in their original format. + Returns null if the key is not present. - The the optional owin.ResponseReasonPhrase. + + - + - Gets or sets the owin.ResponseProtocol. + Used to mark which class in an assembly should be used for automatic startup. - The owin.ResponseProtocol. - + - Gets the response header collection. - - The response header collection. - - - - Gets a collection used to manipulate the Set-Cookie header. - - A collection used to manipulate the Set-Cookie header. - - - - Gets or sets the Content-Length header. - - The Content-Length header. - - - - Gets or sets the Content-Type header. - - The Content-Type header. - - - - Gets or sets the Expires header. - - The Expires header. - - - - Gets or sets the E-Tag header. - - The E-Tag header. - - - - Gets or sets the owin.ResponseBody Stream. - - The owin.ResponseBody Stream. - - - - Used to mark which class in an assembly should be used for automatic startup. - - - - - Initializes a new instance of the class + Initializes a new instance of the class The startup class @@ -978,91 +1222,6 @@ The name of the configuration method - - - An ordered list of known Asp.Net integrated pipeline stages. More details on the ASP.NET integrated pipeline can be found at http://msdn.microsoft.com/en-us/library/system.web.httpapplication.aspx - - - - - Corresponds to the AuthenticateRequest stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PostAuthenticateRequest stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the AuthorizeRequest stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PostAuthorizeRequest stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the ResolveRequestCache stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PostResolveRequestCache stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the MapRequestHandler stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PostMapRequestHandler stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the AcquireRequestState stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PostAcquireRequestState stage of the ASP.NET integrated pipeline. - - - - - Corresponds to the PreRequestHandlerExecute stage of the ASP.NET integrated pipeline. - - - - - Extension methods for the MapMiddleware - - - - - If the request path starts with the given pathMatch, execute the app configured via configuration parameter instead of - continuing to the next component in the pipeline. - - - The path to match - The branch to take for positive path matches - - - - - If the request path starts with the given pathMatch, execute the app configured via configuration parameter instead of - continuing to the next component in the pipeline. - - - The path to match - The branch to take for positive path matches - - Used to create path based branches in your application pipeline. @@ -1099,29 +1258,6 @@ The branch taken for a positive match - - - Extension methods for the MapWhenMiddleware - - - - - Branches the request pipeline based on the result of the given predicate. - - - Invoked with the request environment to determine if the branch should be taken - Configures a branch to take - - - - - Branches the request pipeline based on the async result of the given predicate. - - - Invoked asynchronously with the request environment to determine if the branch should be taken - Configures a branch to take - - Determines if the request should take a specific branch of the pipeline by passing the environment @@ -1178,23 +1314,6 @@ OWIN environment dictionary which stores state information about the request, response and relevant server state. - - - Gets a value from the OWIN environment, or returns default(T) if not present. - - The type of the value. - The key of the value to get. - The value with the specified key or the default(T) if not present. - - - - Sets the given key and value in the OWIN environment. - - The type of the value. - The key of the value to set. - The value to set. - This instance. - Gets a wrapper exposing request specific properties. @@ -1225,6 +1344,23 @@ The host.TraceOutput TextWriter. + + + Gets a value from the OWIN environment, or returns default(T) if not present. + + The type of the value. + The key of the value to get. + The value with the specified key or the default(T) if not present. + + + + Sets the given key and value in the OWIN environment. + + The type of the value. + The key of the value to set. + The value to set. + This instance. + Provides correct escaping for Path and PathBase values when needed to reconstruct a request or redirect URI string @@ -1242,6 +1378,16 @@ The unescaped path to be assigned to the Value property. + + + The unescaped path value + + + + + True if the path is not empty + + Provides the path string escaped in a way which is correct for combining into the URI representation. @@ -1356,16 +1502,6 @@ The right parameter The PathString combination of both values - - - The unescaped path value - - - - - True if the path is not empty - - Provides correct handling for QueryString value when needed to reconstruct a request or redirect URI string @@ -1390,6 +1526,16 @@ The unencoded parameter name The unencoded parameter value + + + The escaped query string without the leading '?' character + + + + + True if the query string is not empty + + Provides the query string escaped in a way which is correct for combining into the URI representation. @@ -1457,47 +1603,84 @@ - + - The escaped query string without the leading '?' character + Accessors for query, forms, etc. - + - True if the query string is not empty + Create a new wrapper + - + - A wrapper for the request Cookie header + Get the associated value from the collection. Multiple values will be merged. + Returns null if the key is not present. + + - + - Create a new wrapper + Get the associated value from the collection. Multiple values will be merged. + Returns null if the key is not present. - + + - + - + Get the associated values from the collection in their original format. + Returns null if the key is not present. + - + - + - Returns null rather than throwing KeyNotFoundException + - - + + + A wrapper for the request Cookie header + + + + + Create a new wrapper + + + + + + Returns null rather than throwing KeyNotFoundException + + + + + + + + + + + + + + + + + A strongly-typed resource class, for looking up localized strings, etc. @@ -1585,6 +1768,13 @@ + + + Contains arbitrary properties which may added, examined, and modified by + components during the startup sequence. + + Returns . + Adds a middleware node to the OWIN function pipeline. The middleware are @@ -1649,68 +1839,49 @@ type which was provided - - - Contains arbitrary properties which may added, examined, and modified by - components during the startup sequence. - - Returns . - Simple object used by AppBuilder as seed OWIN callable if the builder.Properties["builder.DefaultApp"] is not set - - - Abstracts the system clock to facilitate testing. - - - - - Retrieves the current system time in UTC. - - - - - Provides access to the normal system clock. - - - + - Retrieves the current system time in UTC. + Extension methods for IAppBuilder. - + - Response generation utilities. + The Build is called at the point when all of the middleware should be chained + together. May be called to build pipeline branches. + + The request processing entry point for this section of the pipeline. - + - Append the given query to the uri. + The Build is called at the point when all of the middleware should be chained + together. May be called to build pipeline branches. - The base uri. - The query string to append, if any. - The combine result. + The application signature. + + The request processing entry point for this section of the pipeline. - + - Append the given query key and value to the uri. + Adds converters for adapting between disparate application signatures. - The base uri. - The name of the query key. - The query value. - The combine result. + + - + - Append the given query keys and values to the uri. + Adds converters for adapting between disparate application signatures. - The base uri. - A collection of name value query pairs to append. - The combine result. + + + + @@ -1751,6 +1922,26 @@ + + + Indicates if the client should include a cookie on "same-site" or "cross-site" requests. + + + + + Indicates the client should send the cookie with every requests coming from any origin. + + + + + Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations. + + + + + Indicates the client should only send the cookie with "same-site" requests. + + Acts as the return value from calls to the IAuthenticationManager's AuthenticeAsync methods. @@ -1812,1413 +2003,1314 @@ Gets or sets the display name for the authentication provider. - + - Extension methods used to indicate at which stage in the integrated pipeline prior middleware should run. + Exposes the security.Challenge environment value as a strong type. - + - Call after other middleware to specify when they should run in the integrated pipeline. + Exposes the security.SignIn environment value as a strong type. - The IAppBuilder. - The name of the integrated pipeline in which to run. - The original IAppBuilder for chaining. - + - Call after other middleware to specify when they should run in the integrated pipeline. + Exposes the security.SignOut environment value as a strong type. - The IAppBuilder. - The stage of the integrated pipeline in which to run. - The original IAppBuilder for chaining. - + - Logging extension methods for IAppBuilder. + + + + + - + - Sets the server.LoggerFactory in the Properties collection. + Dictionary used to store state values about the authentication session. - - - + - Retrieves the server.LoggerFactory from the Properties collection. + Initializes a new instance of the class - - - + - Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. + Initializes a new instance of the class - - - + - + - Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. + State values about the authentication session. - - - - + - Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. + Gets or sets whether the authentication session is persisted across multiple requests. - - - - + - Used to create logger instances of the given name. + Gets or sets the full path or absolute URI to be used as an http redirect response value. - + - Creates a new ILogger instance of the given name. + Gets or sets the time at which the authentication ticket was issued. - - - + - A generic interface for logging. + Gets or sets the time at which the authentication ticket expires. - + - Aggregates most logging patterns to a single method. This must be compatible with the Func representation in the OWIN environment. - - To check IsEnabled call WriteCore with only TraceEventType and check the return value, no event will be written. + Gets or sets if refreshing the authentication session should be allowed. - - - - - - - + - Contains the parts of an address. + Exposes the security.Challenge environment value as a strong type. - + - Initializes a new instance. + Initializes a new instance of the class - + + - + - Initializes a new with the given parts. + List of the authentication types that should send a challenge in the response. - The scheme. - The host. - The port. - The path. - + - Creates a new + Dictionary used to store state values about the authentication session. - A new - + - Determines whether the specified object is equal to the current object. + Exposes the security.SignIn environment value as a strong type. - The other object. - true if the specified object is equal to the current object; otherwise, false. - + - Determines whether the specified object is equal to the current object. + Initializes a new instance of the class. - The other object. - true if the specified object is equal to the current object; otherwise, false. + + - + - Returns the hash code for this instance. + Initializes a new instance of the class. - The hash code for this instance. + + - + - Determines whether two specified instances of are equal. + The identity associated with the user sign in. - The first object to compare. - The second object to compare. - true if left and right represent the same address; otherwise, false. - + - Determines whether two specified instances of are not equal. - - The first object to compare. - The second object to compare. - true if left and right do not represent the same address; otherwise, false. - - - - Gets a specified key and value from the underlying dictionary. - - - The key. - - - - - Sets a specified key and value in the underlying dictionary. - - The key. - The value. - - - - - Gets the internal dictionary for this collection. - - The internal dictionary for this collection. - - - - The uri scheme. - - - - - The uri host. - - - - - The uri port. - - - - - The uri path. - - - - - Wraps the host.Addresses list. - - - - - Initializes a new instance of the class. - - The address list to set to the collection. - - - - Adds the specified address to the collection. - - The address to add to the collection. - - - - Gets the enumerator that iterates through the collection. - - The enumerator that can be used to iterate through the collection. - - - - Gets the enumerator that iterates through the collection. - - The enumerator that can be used to iterate through the collection. - - - - Creates a new empty instance of . - - A new empty instance of . - - - - Determines whether the current collection is equal to the specified collection. - - The other collection to compare to the current collection. - true if current collection is equal to the specified collection; otherwise, false. - - - - Determines whether the current collection is equal to the specified object. - - The object to compare to the current collection. - true if current collection is equal to the specified object; otherwise, false. - - - - Gets the hash code for this instance. - - The hash code for this instance. - - - - Determines whether the first collection is equal to the second collection. + The security principal associated with the user sign in. - The first collection to compare. - The second collection to compare. - true if both collections are equal; otherwise, false. - + - Determines whether the first collection is not equal to the second collection. + Dictionary used to store state values about the authentication session. - The first collection to compare. - The second collection to compare. - true if both collections are not equal; otherwise, false. - + - Gets the underlying address list. + Exposes the security.SignOut and security.SignOutProperties environment values as a strong type. - The underlying address list. - + - Gets the number of elements in the collection. + Initializes a new instance of the class - The number of elements in the collection. + - + - Gets the item with the specified index from the collection. + Initializes a new instance of the class - The index. - The item with the specified index. + + - + - A wrapper for the IDictionary. + List of the authentication types that should be revoked on sign out. - + - Initializes a new instance of the class. + Dictionary used to store state values about the authentication session. - - + - Determines whether the current AppProperties is equal to the specified AppProperties. + Used to interact with authentication middleware that have been chained in the pipeline - The other AppProperties to compare with the current instance. - true if the current AppProperties is equal to the specified AppProperties; otherwise, false. - + - Determines whether the current AppProperties is equal to the specified object. + Returns the current user for the request - The object to compare with the current instance. - true if the current AppProperties is equal to the specified object; otherwise, false. - + - Returns the hash code for this instance. + Exposes the security.Challenge environment value as a strong type. - The hash code for this instance. - + - Determines whether the first AppPProperties is equal to the second AppProperties. + Exposes the security.SignIn environment value as a strong type. - The first AppPropeties to compare. - The second AppPropeties to compare. - true if both AppProperties are equal; otherwise, false. - + - Determines whether the first AppPProperties is not equal to the second AppProperties. + Exposes the security.SignOut environment value as a strong type. - The first AppPropeties to compare. - The second AppPropeties to compare. - true if both AppProperties are not equal; otherwise, false. - + - Gets the value from the dictionary with the specified key. + Lists all of the description data provided by authentication middleware that have been chained - The type of the value. - The key of the value to get. - The value with the specified key. + The authentication descriptions - + - Sets the value with the specified key. + Lists the description data of all of the authentication middleware which are true for a given predicate - The key of the value to set. - The value to set. - This instance. + A function provided by the caller which returns true for descriptions that should be in the returned list + The authentication descriptions - + - Gets or sets the string value for “owin.Version”. + Call back through the middleware to ask for a specific form of authentication to be performed + on the current request - The string value for “owin.Version”. + Identifies which middleware should respond to the request + for authentication. This value is compared to the middleware's Options.AuthenticationType property. + Returns an object with the results of the authentication. The AuthenticationResult.Identity + may be null if authentication failed. Even if the Identity property is null, there may still be + AuthenticationResult.properties and AuthenticationResult.Description information returned. - + - Gets or sets the function delegate for “builder.DefaultApp”. + Called to perform any number of authentication mechanisms on the current request. - The function delegate for “builder.DefaultApp”. + Identifies one or more middleware which should attempt to respond + Returns the AuthenticationResult information from the middleware which responded. The + order is determined by the order the middleware are in the pipeline. Latest added is first in the list. - + - Gets or sets the action delegate for “builder.AddSignatureConversion”. + Add information into the response environment that will cause the authentication middleware to challenge + the caller to authenticate. This also changes the status code of the response to 401. The nature of that + challenge varies greatly, and ranges from adding a response header or changing the 401 status code to + a 302 redirect. - The action delegate for “builder.AddSignatureConversion”. + Additional arbitrary values which may be used by particular authentication types. + Identify which middleware should perform their alterations on the + response. If the authenticationTypes is null or empty, that means the + AuthenticationMode.Active middleware should perform their alterations on the response. - + - Gets or sets the string value for “host.AppName”. + Add information into the response environment that will cause the authentication middleware to challenge + the caller to authenticate. This also changes the status code of the response to 401. The nature of that + challenge varies greatly, and ranges from adding a response header or changing the 401 status code to + a 302 redirect. - The string value for “host.AppName”. + Identify which middleware should perform their alterations on the + response. If the authenticationTypes is null or empty, that means the + AuthenticationMode.Active middleware should perform their alterations on the response. - + - Gets or sets the text writer for “host.TraceOutput”. + Add information to the response environment that will cause the appropriate authentication middleware + to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. + Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 + access code or token response. - The text writer for “host.TraceOutput”. + Contains additional properties the middleware are expected to persist along with + the claims. These values will be returned as the AuthenticateResult.properties collection when AuthenticateAsync + is called on subsequent requests. + Determines which claims are granted to the signed in user. The + ClaimsIdentity.AuthenticationType property is compared to the middleware's Options.AuthenticationType + value to determine which claims are granted by which middleware. The recommended use is to have a single + ClaimsIdentity which has the AuthenticationType matching a specific middleware. - + - Gets or sets the cancellation token for “host.OnAppDisposing”. + Add information to the response environment that will cause the appropriate authentication middleware + to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. + Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 + access code or token response. - The cancellation token for “host.OnAppDisposing”. + Determines which claims are granted to the signed in user. The + ClaimsIdentity.AuthenticationType property is compared to the middleware's Options.AuthenticationType + value to determine which claims are granted by which middleware. The recommended use is to have a single + ClaimsIdentity which has the AuthenticationType matching a specific middleware. - + - Gets or sets the address collection for “host.Addresses”. + Add information to the response environment that will cause the appropriate authentication middleware + to revoke any claims identity associated the the caller. The exact method varies. - The address collection for “host.Addresses”. + Additional arbitrary values which may be used by particular authentication types. + Identifies which middleware should perform the work to sign out. + Multiple authentication types may be provided to clear out more than one cookie at a time, or to clear + cookies and redirect to an external single-sign out url. - + - Gets or sets the list of “server.Capabilities”. + Add information to the response environment that will cause the appropriate authentication middleware + to revoke any claims identity associated the the caller. The exact method varies. - The list of “server.Capabilities”. + Identifies which middleware should perform the work to sign out. + Multiple authentication types may be provided to clear out more than one cookie at a time, or to clear + cookies and redirect to an external single-sign out url. - + - Gets the underlying dictionary for this instance. + Logging extension methods for IAppBuilder. - The underlying dictionary for this instance. - + - Represents the capabilities for the builder properties. + Sets the server.LoggerFactory in the Properties collection. + + - + - Initializes a new instance of the class. + Retrieves the server.LoggerFactory from the Properties collection. - + + - + - Initializes a new instance of the class. + Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. - A new instance of the class. + + + - + - Determines whether the current Capabilities instance is equal to the specified Capabilities. + Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. - The other Capabilities to compare with the current instance. - true if the specified object is equal to the current object; otherwise, false. + + + - + - Determines whether the current Capabilities is equal to the specified object. + Creates a new ILogger instance from the server.LoggerFactory in the Properties collection. - The object to compare with the current instance. - true if the current Capabilities is equal to the specified object; otherwise, false. + + + - + - Returns the hash code for this instance. + Provides a default ILoggerFactory. - The hash code for this instance. - + - Determines whether two specified instances of are equal. + Provides a default ILoggerFactory based on System.Diagnostics.TraceSorce. - The first object to compare. - The second object to compare. - true if the two specified instances of are equal; otherwise, false. - + - Determines whether two specified instances of are not equal. + Provides an ILoggerFactory based on System.Diagnostics.TraceSource. - The first object to compare. - The second object to compare. - true if the two specified instances of are not equal; otherwise, false. - + - Gets the value from the dictionary with the specified key. + Initializes a new instance of the class. - The type of the value. - The key of the value to get. - The value with the specified key. - - - Sets the given key and value in the underlying dictionary. + Creates a factory named "Microsoft.Owin". - The key of the value to set. - The value to set. - This instance. - + - The underling IDictionary + Initializes a new instance of the class. + + - + - Gets or sets the string value for "sendfile.Version" + Creates a new DiagnosticsLogger for the given component name. - the string value for "sendfile.Version" + + - + - Gets or sets the websocket version. + A generic interface for logging. - The websocket version. - + - Options used to create a new cookie. + Aggregates most logging patterns to a single method. This must be compatible with the Func representation in the OWIN environment. + + To check IsEnabled call WriteCore with only TraceEventType and check the return value, no event will be written. + + + + + + - + - Creates a default cookie with a path of '/'. + Used to create logger instances of the given name. - + - Gets or sets the domain to associate the cookie with. + Creates a new ILogger instance of the given name. - The domain to associate the cookie with. + + - + - Gets or sets the cookie path. + ILogger extension methods for common scenarios. - The cookie path. - + - Gets or sets the expiration date and time for the cookie. + Checks if the given TraceEventType is enabled. - The expiration date and time for the cookie. + + + - + - Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. + Writes a verbose log message. - true to transmit the cookie only over an SSL connection (HTTPS); otherwise, false. + + - + - Gets or sets a value that indicates whether a cookie is accessible by client-side script. + Writes an informational log message. - true if a cookie is accessible by client-side script; otherwise, false. + + - + - Provides a default ILoggerFactory. + Writes a warning log message. + + + - + - Provides a default ILoggerFactory based on System.Diagnostics.TraceSorce. + Writes a warning log message. + + + - + - Extension methods for IAppBuilder. + Writes an error log message. + + - + - The Build is called at the point when all of the middleware should be chained - together. May be called to build pipeline branches. + Writes an error log message. - - The request processing entry point for this section of the pipeline. + + + - + - The Build is called at the point when all of the middleware should be chained - together. May be called to build pipeline branches. + Writes a critical log message. - The application signature. - - The request processing entry point for this section of the pipeline. + + - + - Adds converters for adapting between disparate application signatures. + Writes a critical log message. - - + + + - + - Adds converters for adapting between disparate application signatures. + Contains the parts of an address. - - - - - + - Provides helper methods for processing requests. + Initializes a new instance. + - + - Parses an HTTP form body. + Initializes a new with the given parts. - The HTTP form body to parse. - The object containing the parsed HTTP form body. + The scheme. + The host. + The port. + The path. - + - Converts between an OwinMiddlware and an . + Gets the internal dictionary for this collection. + The internal dictionary for this collection. - + - An abstract base class for a standard middleware pattern. + The uri scheme. - + - Instantiates the middleware with an optional pointer to the next component. + The uri host. - - + - Process an individual request. + The uri port. - - - + - The optional next component. + The uri path. - + - + Creates a new - + A new - + - + Determines whether the specified object is equal to the current object. - - + The other object. + true if the specified object is equal to the current object; otherwise, false. - + - Transitions between and OwinMiddleware. + Determines whether the specified object is equal to the current object. + The other object. + true if the specified object is equal to the current object; otherwise, false. - + - + Returns the hash code for this instance. - + The hash code for this instance. - + - + Determines whether two specified instances of are equal. - OWIN environment dictionary which stores state information about the request, response and relevant server state. - + The first object to compare. + The second object to compare. + true if left and right represent the same address; otherwise, false. - + - Adds adapters between and OwinMiddleware. + Determines whether two specified instances of are not equal. + The first object to compare. + The second object to compare. + true if left and right do not represent the same address; otherwise, false. - + - Adds adapters between and OwinMiddleware. + Gets a specified key and value from the underlying dictionary. - + + The key. + - + - This wraps OWIN environment dictionary and provides strongly typed accessors. + Sets a specified key and value in the underlying dictionary. + The key. + The value. + - + - Create a new context with only request and response header collections. + Wraps the host.Addresses list. - + - Create a new environment wrapper exposing request properties. + Initializes a new instance of the class. - OWIN environment dictionary which stores state information about the request, response and relevant server state. + The address list to set to the collection. - + - Asynchronously reads and parses the request body as a form. + Gets the underlying address list. - The parsed form data. + The underlying address list. - + - Gets a value from the OWIN environment, or returns default(T) if not present. + Gets the number of elements in the collection. - The type of the value. - The key of the value to get. - The value with the specified key or the default(T) if not present. + The number of elements in the collection. - + - Sets the given key and value in the OWIN environment. + Gets the item with the specified index from the collection. - The type of the value. - The key of the value to set. - The value to set. - This instance. + The index. + The item with the specified index. - + - Gets the OWIN environment. + Adds the specified address to the collection. - The OWIN environment. + The address to add to the collection. - + - Gets the request context. + Gets the enumerator that iterates through the collection. - The request context. + The enumerator that can be used to iterate through the collection. - + - Gets or set the HTTP method. + Gets the enumerator that iterates through the collection. - The HTTP method. + The enumerator that can be used to iterate through the collection. - + - Gets or set the HTTP request scheme from owin.RequestScheme. + Creates a new empty instance of . - The HTTP request scheme from owin.RequestScheme. + A new empty instance of . - + - Returns true if the owin.RequestScheme is https. + Determines whether the current collection is equal to the specified collection. - true if this request is using https; otherwise, false. + The other collection to compare to the current collection. + true if current collection is equal to the specified collection; otherwise, false. - + - Gets or set the Host header. May include the port. + Determines whether the current collection is equal to the specified object. - The Host header. + The object to compare to the current collection. + true if current collection is equal to the specified object; otherwise, false. - + - Gets or set the owin.RequestPathBase. + Gets the hash code for this instance. - The owin.RequestPathBase. + The hash code for this instance. - + - Gets or set the request path from owin.RequestPath. + Determines whether the first collection is equal to the second collection. - The request path from owin.RequestPath. + The first collection to compare. + The second collection to compare. + true if both collections are equal; otherwise, false. - + - Gets or set the query string from owin.RequestQueryString. + Determines whether the first collection is not equal to the second collection. - The query string from owin.RequestQueryString. + The first collection to compare. + The second collection to compare. + true if both collections are not equal; otherwise, false. - + - Gets the query value collection parsed from owin.RequestQueryString. + A wrapper for the IDictionary. - The query value collection parsed from owin.RequestQueryString. - + - Gets the uniform resource identifier (URI) associated with the request. + Initializes a new instance of the class. - The uniform resource identifier (URI) associated with the request. + - + - Gets or set the owin.RequestProtocol. + Gets or sets the string value for “owin.Version”. - The owin.RequestProtocol. + The string value for “owin.Version”. - + - Gets the request headers. + Gets or sets the function delegate for “builder.DefaultApp”. - The request headers. + The function delegate for “builder.DefaultApp”. - + - Gets the collection of Cookies for this request. + Gets or sets the action delegate for “builder.AddSignatureConversion”. - The collection of Cookies for this request. + The action delegate for “builder.AddSignatureConversion”. - + - Gets or sets the Content-Type header. + Gets or sets the string value for “host.AppName”. - The Content-Type header. + The string value for “host.AppName”. - + - Gets or sets the Cache-Control header. + Gets or sets the text writer for “host.TraceOutput”. - The Cache-Control header. + The text writer for “host.TraceOutput”. - + - Gets or sets the Media-Type header. + Gets or sets the cancellation token for “host.OnAppDisposing”. - The Media-Type header. + The cancellation token for “host.OnAppDisposing”. - + - Gets or set the Accept header. + Gets or sets the address collection for “host.Addresses”. - The Accept header. + The address collection for “host.Addresses”. - + - Gets or set the owin.RequestBody Stream. + Gets or sets the list of “server.Capabilities”. - The owin.RequestBody Stream. + The list of “server.Capabilities”. - + - Gets or sets the cancellation token for the request. + Gets the underlying dictionary for this instance. - The cancellation token for the request. + The underlying dictionary for this instance. - + - Gets or set the server.LocalIpAddress. + Determines whether the current AppProperties is equal to the specified AppProperties. - The server.LocalIpAddress. + The other AppProperties to compare with the current instance. + true if the current AppProperties is equal to the specified AppProperties; otherwise, false. - + - Gets or set the server.LocalPort. + Determines whether the current AppProperties is equal to the specified object. - The server.LocalPort. + The object to compare with the current instance. + true if the current AppProperties is equal to the specified object; otherwise, false. - + - Gets or set the server.RemoteIpAddress. + Returns the hash code for this instance. - The server.RemoteIpAddress. + The hash code for this instance. - + - Gets or set the server.RemotePort. + Determines whether the first AppPProperties is equal to the second AppProperties. - The server.RemotePort. + The first AppPropeties to compare. + The second AppPropeties to compare. + true if both AppProperties are equal; otherwise, false. - + - Gets or set the server.User. + Determines whether the first AppPProperties is not equal to the second AppProperties. - The server.User. + The first AppPropeties to compare. + The second AppPropeties to compare. + true if both AppProperties are not equal; otherwise, false. - + - This wraps OWIN environment dictionary and provides strongly typed accessors. + Gets the value from the dictionary with the specified key. + The type of the value. + The key of the value to get. + The value with the specified key. - + - Create a new context with only request and response header collections. + Sets the value with the specified key. + The key of the value to set. + The value to set. + This instance. - + - Creates a new environment wrapper exposing response properties. + Represents the capabilities for the builder properties. - OWIN environment dictionary which stores state information about the request, response and relevant server state. - + - Registers for an event that fires when the response headers are sent. + Initializes a new instance of the class. - The callback method. - The callback state. + - + - Sets a 302 response status code and the Location header. + The underling IDictionary - The location where to redirect the client. - + - Writes the given text to the response body stream using UTF-8. + Gets or sets the string value for "sendfile.Version" - The response data. + the string value for "sendfile.Version" - + - Writes the given bytes to the response body stream. + Gets or sets the websocket version. - The response data. + The websocket version. - + - Writes the given bytes to the response body stream. + Initializes a new instance of the class. - The response data. - The zero-based byte offset in the parameter at which to begin copying bytes. - The number of bytes to write. + A new instance of the class. - + - Asynchronously writes the given text to the response body stream using UTF-8. + Determines whether the current Capabilities instance is equal to the specified Capabilities. - The response data. - A Task tracking the state of the write operation. + The other Capabilities to compare with the current instance. + true if the specified object is equal to the current object; otherwise, false. - + - Asynchronously writes the given text to the response body stream using UTF-8. + Determines whether the current Capabilities is equal to the specified object. - The response data. - A token used to indicate cancellation. - A Task tracking the state of the write operation. + The object to compare with the current instance. + true if the current Capabilities is equal to the specified object; otherwise, false. - + - Asynchronously writes the given bytes to the response body stream. + Returns the hash code for this instance. - The response data. - A Task tracking the state of the write operation. + The hash code for this instance. - + - Asynchronously writes the given bytes to the response body stream. + Determines whether two specified instances of are equal. - The response data. - A token used to indicate cancellation. - A Task tracking the state of the write operation. + The first object to compare. + The second object to compare. + true if the two specified instances of are equal; otherwise, false. - + - Asynchronously writes the given bytes to the response body stream. + Determines whether two specified instances of are not equal. - The response data. - The zero-based byte offset in the parameter at which to begin copying bytes. - The number of bytes to write. - A token used to indicate cancellation. - A Task tracking the state of the write operation. + The first object to compare. + The second object to compare. + true if the two specified instances of are not equal; otherwise, false. - + - Gets a value from the OWIN environment, or returns default(T) if not present. + Gets the value from the dictionary with the specified key. The type of the value. The key of the value to get. - The value with the specified key or the default(T) if not present. + The value with the specified key. - + - Sets the given key and value in the OWIN environment. + Sets the given key and value in the underlying dictionary. - The type of the value. The key of the value to set. The value to set. This instance. - + - Gets the OWIN environment. + Options used to create a new cookie. - The OWIN environment. - + - Gets the request context. + Creates a default cookie with a path of '/'. - The request context. - + - Gets or sets the optional owin.ResponseStatusCode. + Gets or sets the domain to associate the cookie with. - The optional owin.ResponseStatusCode, or 200 if not set. + The domain to associate the cookie with. - + - Gets or sets the the optional owin.ResponseReasonPhrase. + Gets or sets the cookie path. - The the optional owin.ResponseReasonPhrase. + The cookie path. - + - Gets or sets the owin.ResponseProtocol. + Gets or sets the expiration date and time for the cookie. - The owin.ResponseProtocol. + The expiration date and time for the cookie. - + - Gets the response header collection. + Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. - The response header collection. + true to transmit the cookie only over an SSL connection (HTTPS); otherwise, false. - + - Gets a collection used to manipulate the Set-Cookie header. + Gets or sets a value that indicates whether a cookie is accessible by client-side script. - A collection used to manipulate the Set-Cookie header. + true if a cookie is accessible by client-side script; otherwise, false. - + - Gets or sets the Content-Length header. + Gets or sets a value that indicates on which requests client should or should not send cookie back to the server. + Set to null to do not include SameSite attribute at all. - The Content-Length header. + SameSite attribute value or null if attribute must not be set. - + - Gets or sets the Content-Type header. + Provides helper methods for processing requests. - The Content-Type header. - + - Gets or sets the Expires header. + Parses an HTTP form body. - The Expires header. + The HTTP form body to parse. + The object containing the parsed HTTP form body. - + - Gets or sets the E-Tag header. + An abstract base class for a standard middleware pattern. - The E-Tag header. - + - Gets or sets the owin.ResponseBody Stream. + Instantiates the middleware with an optional pointer to the next component. - The owin.ResponseBody Stream. + - + - Used to interact with authentication middleware that have been chained in the pipeline + The optional next component. - + - Lists all of the description data provided by authentication middleware that have been chained + Process an individual request. - The authentication descriptions + + - + - Lists the description data of all of the authentication middleware which are true for a given predicate + This wraps OWIN environment dictionary and provides strongly typed accessors. - A function provided by the caller which returns true for descriptions that should be in the returned list - The authentication descriptions - + - Call back through the middleware to ask for a specific form of authentication to be performed - on the current request + Create a new context with only request and response header collections. - Identifies which middleware should respond to the request - for authentication. This value is compared to the middleware's Options.AuthenticationType property. - Returns an object with the results of the authentication. The AuthenticationResult.Identity - may be null if authentication failed. Even if the Identity property is null, there may still be - AuthenticationResult.properties and AuthenticationResult.Description information returned. - + - Called to perform any number of authentication mechanisms on the current request. + Create a new environment wrapper exposing request properties. - Identifies one or more middleware which should attempt to respond - Returns the AuthenticationResult information from the middleware which responded. The - order is determined by the order the middleware are in the pipeline. Latest added is first in the list. + OWIN environment dictionary which stores state information about the request, response and relevant server state. - + - Add information into the response environment that will cause the authentication middleware to challenge - the caller to authenticate. This also changes the status code of the response to 401. The nature of that - challenge varies greatly, and ranges from adding a response header or changing the 401 status code to - a 302 redirect. + Gets the OWIN environment. - Additional arbitrary values which may be used by particular authentication types. - Identify which middleware should perform their alterations on the - response. If the authenticationTypes is null or empty, that means the - AuthenticationMode.Active middleware should perform their alterations on the response. + The OWIN environment. - + - Add information into the response environment that will cause the authentication middleware to challenge - the caller to authenticate. This also changes the status code of the response to 401. The nature of that - challenge varies greatly, and ranges from adding a response header or changing the 401 status code to - a 302 redirect. + Gets the request context. - Identify which middleware should perform their alterations on the - response. If the authenticationTypes is null or empty, that means the - AuthenticationMode.Active middleware should perform their alterations on the response. + The request context. - + - Add information to the response environment that will cause the appropriate authentication middleware - to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. - Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 - access code or token response. + Gets or set the HTTP method. - Contains additional properties the middleware are expected to persist along with - the claims. These values will be returned as the AuthenticateResult.properties collection when AuthenticateAsync - is called on subsequent requests. - Determines which claims are granted to the signed in user. The - ClaimsIdentity.AuthenticationType property is compared to the middleware's Options.AuthenticationType - value to determine which claims are granted by which middleware. The recommended use is to have a single - ClaimsIdentity which has the AuthenticationType matching a specific middleware. + The HTTP method. - + - Add information to the response environment that will cause the appropriate authentication middleware - to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. - Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 - access code or token response. + Gets or set the HTTP request scheme from owin.RequestScheme. - Determines which claims are granted to the signed in user. The - ClaimsIdentity.AuthenticationType property is compared to the middleware's Options.AuthenticationType - value to determine which claims are granted by which middleware. The recommended use is to have a single - ClaimsIdentity which has the AuthenticationType matching a specific middleware. + The HTTP request scheme from owin.RequestScheme. - + - Add information to the response environment that will cause the appropriate authentication middleware - to revoke any claims identity associated the the caller. The exact method varies. + Returns true if the owin.RequestScheme is https. - Additional arbitrary values which may be used by particular authentication types. - Identifies which middleware should perform the work to sign out. - Multiple authentication types may be provided to clear out more than one cookie at a time, or to clear - cookies and redirect to an external single-sign out url. + true if this request is using https; otherwise, false. - + - Add information to the response environment that will cause the appropriate authentication middleware - to revoke any claims identity associated the the caller. The exact method varies. + Gets or set the Host header. May include the port. - Identifies which middleware should perform the work to sign out. - Multiple authentication types may be provided to clear out more than one cookie at a time, or to clear - cookies and redirect to an external single-sign out url. + The Host header. - + - Returns the current user for the request + Gets or set the owin.RequestPathBase. + The owin.RequestPathBase. - + - Exposes the security.Challenge environment value as a strong type. + Gets or set the request path from owin.RequestPath. + The request path from owin.RequestPath. - + - Exposes the security.SignIn environment value as a strong type. + Gets or set the query string from owin.RequestQueryString. + The query string from owin.RequestQueryString. - + - Exposes the security.SignOut environment value as a strong type. + Gets the query value collection parsed from owin.RequestQueryString. + The query value collection parsed from owin.RequestQueryString. - + - + Gets the uniform resource identifier (URI) associated with the request. - - - - + The uniform resource identifier (URI) associated with the request. - + - Exposes the security.Challenge environment value as a strong type. + Gets or set the owin.RequestProtocol. + The owin.RequestProtocol. - + - Exposes the security.SignIn environment value as a strong type. + Gets the request headers. + The request headers. - + + + Gets the collection of Cookies for this request. + + The collection of Cookies for this request. + + + + Gets or sets the Content-Type header. + + The Content-Type header. + + - Exposes the security.SignOut environment value as a strong type. + Gets or sets the Cache-Control header. + The Cache-Control header. - + - Dictionary used to store state values about the authentication session. + Gets or sets the Media-Type header. + The Media-Type header. - + - Initializes a new instance of the class + Gets or set the Accept header. + The Accept header. - + - Initializes a new instance of the class + Gets or set the owin.RequestBody Stream. - + The owin.RequestBody Stream. - + - State values about the authentication session. + Gets or sets the cancellation token for the request. + The cancellation token for the request. - + - Gets or sets whether the authentication session is persisted across multiple requests. + Gets or set the server.LocalIpAddress. + The server.LocalIpAddress. - + - Gets or sets the full path or absolute URI to be used as an http redirect response value. + Gets or set the server.LocalPort. + The server.LocalPort. - + - Gets or sets the time at which the authentication ticket was issued. + Gets or set the server.RemoteIpAddress. + The server.RemoteIpAddress. - + - Gets or sets the time at which the authentication ticket expires. + Gets or set the server.RemotePort. + The server.RemotePort. - + - Gets or sets if refreshing the authentication session should be allowed. + Gets or set the server.User. + The server.User. - + - Exposes the security.Challenge environment value as a strong type. + Asynchronously reads and parses the request body as a form. + The parsed form data. - + - Initializes a new instance of the class + Gets a value from the OWIN environment, or returns default(T) if not present. - - + The type of the value. + The key of the value to get. + The value with the specified key or the default(T) if not present. - + - List of the authentication types that should send a challenge in the response. + Sets the given key and value in the OWIN environment. + The type of the value. + The key of the value to set. + The value to set. + This instance. - + - Dictionary used to store state values about the authentication session. + This wraps OWIN environment dictionary and provides strongly typed accessors. - + - Exposes the security.SignIn environment value as a strong type. + Create a new context with only request and response header collections. - + - Initializes a new instance of the class. + Creates a new environment wrapper exposing response properties. - - + OWIN environment dictionary which stores state information about the request, response and relevant server state. - + - Initializes a new instance of the class. + Gets the OWIN environment. - - + The OWIN environment. - + - The identity associated with the user sign in. + Gets the request context. + The request context. - + - The security principal associated with the user sign in. + Gets or sets the optional owin.ResponseStatusCode. + The optional owin.ResponseStatusCode, or 200 if not set. - + - Dictionary used to store state values about the authentication session. + Gets or sets the the optional owin.ResponseReasonPhrase. + The the optional owin.ResponseReasonPhrase. - + - Exposes the security.SignOut and security.SignOutProperties environment values as a strong type. + Gets or sets the owin.ResponseProtocol. + The owin.ResponseProtocol. - + - Initializes a new instance of the class + Gets the response header collection. - + The response header collection. - + - Initializes a new instance of the class + Gets a collection used to manipulate the Set-Cookie header. - - + A collection used to manipulate the Set-Cookie header. - + - List of the authentication types that should be revoked on sign out. + Gets or sets the Content-Length header. + The Content-Length header. - + - Dictionary used to store state values about the authentication session. + Gets or sets the Content-Type header. + The Content-Type header. - + - Provides an ILoggerFactory based on System.Diagnostics.TraceSource. + Gets or sets the Expires header. + The Expires header. - + - Initializes a new instance of the class. + Gets or sets the E-Tag header. + The E-Tag header. + + - Creates a factory named "Microsoft.Owin". + Gets or sets the owin.ResponseBody Stream. + The owin.ResponseBody Stream. - + - Initializes a new instance of the class. + Registers for an event that fires when the response headers are sent. - - + The callback method. + The callback state. - + - Creates a new DiagnosticsLogger for the given component name. + Sets a 302 response status code and the Location header. - - + The location where to redirect the client. - + - ILogger extension methods for common scenarios. + Writes the given text to the response body stream using UTF-8. + The response data. - + - Checks if the given TraceEventType is enabled. + Writes the given bytes to the response body stream. - - - + The response data. - + - Writes a verbose log message. + Writes the given bytes to the response body stream. - - + The response data. + The zero-based byte offset in the parameter at which to begin copying bytes. + The number of bytes to write. - + - Writes an informational log message. + Asynchronously writes the given text to the response body stream using UTF-8. - - + The response data. + A Task tracking the state of the write operation. - + - Writes a warning log message. + Asynchronously writes the given text to the response body stream using UTF-8. - - - + The response data. + A token used to indicate cancellation. + A Task tracking the state of the write operation. - + - Writes a warning log message. + Asynchronously writes the given bytes to the response body stream. - - - + The response data. + A Task tracking the state of the write operation. - + - Writes an error log message. + Asynchronously writes the given bytes to the response body stream. - - + The response data. + A token used to indicate cancellation. + A Task tracking the state of the write operation. - + - Writes an error log message. + Asynchronously writes the given bytes to the response body stream. - - - + The response data. + The zero-based byte offset in the parameter at which to begin copying bytes. + The number of bytes to write. + A token used to indicate cancellation. + A Task tracking the state of the write operation. - + - Writes a critical log message. + Gets a value from the OWIN environment, or returns default(T) if not present. - - + The type of the value. + The key of the value to get. + The value with the specified key or the default(T) if not present. - + - Writes a critical log message. + Sets the given key and value in the OWIN environment. - - - + The type of the value. + The key of the value to set. + The value to set. + This instance. diff --git a/packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.dll b/packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.dll new file mode 100644 index 0000000..713f03d Binary files /dev/null and b/packages/Microsoft.Owin.4.1.0/lib/net45/Microsoft.Owin.dll differ diff --git a/packages/Microsoft.Owin.Cors.3.0.0/Microsoft.Owin.Cors.3.0.0.nupkg b/packages/Microsoft.Owin.Cors.3.0.0/Microsoft.Owin.Cors.3.0.0.nupkg deleted file mode 100644 index c15c009..0000000 Binary files a/packages/Microsoft.Owin.Cors.3.0.0/Microsoft.Owin.Cors.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.dll b/packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.dll deleted file mode 100644 index a0a841c..0000000 Binary files a/packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.dll and /dev/null differ diff --git a/packages/Microsoft.Owin.Cors.4.1.0/.signature.p7s b/packages/Microsoft.Owin.Cors.4.1.0/.signature.p7s new file mode 100644 index 0000000..3457e21 Binary files /dev/null and b/packages/Microsoft.Owin.Cors.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.XML b/packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.XML similarity index 100% rename from packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.XML rename to packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.XML index 3a1239c..1d8ae89 100644 --- a/packages/Microsoft.Owin.Cors.3.0.0/lib/net45/Microsoft.Owin.Cors.XML +++ b/packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.XML @@ -62,22 +62,14 @@ A pluggable CORS policy provider that always returns null by default. - - - Defines how to select a CORS policy for a given request. - - - + - Selects a CORS policy to apply for the given request. + Creates a new CorsPolicyProvider instance. - - The CORS policy to apply to the request, or null if no policy applies and - the request should be passed through to the next middleware. - + - Creates a new CorsPolicyProvider instance. + A pluggable callback that will be used to select the CORS policy for the given requests. @@ -87,10 +79,18 @@ - + - A pluggable callback that will be used to select the CORS policy for the given requests. + Defines how to select a CORS policy for a given request. + + + + + Selects a CORS policy to apply for the given request. + + The CORS policy to apply to the request, or null if no policy applies and + the request should be passed through to the next middleware. diff --git a/packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.dll b/packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.dll new file mode 100644 index 0000000..76c17aa Binary files /dev/null and b/packages/Microsoft.Owin.Cors.4.1.0/lib/net45/Microsoft.Owin.Cors.dll differ diff --git a/packages/Microsoft.Owin.Diagnostics.3.0.0/Microsoft.Owin.Diagnostics.3.0.0.nupkg b/packages/Microsoft.Owin.Diagnostics.3.0.0/Microsoft.Owin.Diagnostics.3.0.0.nupkg deleted file mode 100644 index d7cb6a0..0000000 Binary files a/packages/Microsoft.Owin.Diagnostics.3.0.0/Microsoft.Owin.Diagnostics.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.Diagnostics.4.1.0/.signature.p7s b/packages/Microsoft.Owin.Diagnostics.4.1.0/.signature.p7s new file mode 100644 index 0000000..73dbe7a Binary files /dev/null and b/packages/Microsoft.Owin.Diagnostics.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.XML b/packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.XML similarity index 100% rename from packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.XML rename to packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.XML index 4d71e4c..4640fa6 100644 --- a/packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.XML +++ b/packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.XML @@ -19,223 +19,109 @@ The generated stack frames - - - Options for the ErrorPageMiddleware - - - - - Create an instance with the default options settings. - - - - - Sets the default visibility for options not otherwise specified. - - - - - - Returns a new instance of ErrorPageOptions with all visibility options enabled by default. - - - - - Enables the display of exception types, messages, and stack traces. - - - - - Enabled the display of local source code around exception stack frames. - - - - - Determines how many lines of code to include before and after the line of code - present in an exception's stack frame. Only applies when symbols are available and - source code referenced by the exception stack trace is present on the server. - - - - - Enables the enumeration of any parsed query values. - - - - - Enables the enumeration of any parsed request cookies. - - - - - Enables the enumeration of the request headers. - - - - - Enables the enumeration of the OWIN environment values. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to You are seeing this page because DiagnosticsPageMiddleware was added to your web application.. - - - - - Looks up a localized string similar to Test Error Message. - - - - - Looks up a localized string similar to Test Error Page. - - - - - Looks up a localized string similar to Diagnostics Page. - - - - - Looks up a localized string similar to Cookies. - - - - - Looks up a localized string similar to Enable development mode or ErrorPageOptions.ShowExceptionDetails for additional information.. - - - - - Looks up a localized string similar to Environment. - - - - - Looks up a localized string similar to Headers. - - - + - Looks up a localized string similar to No cookie data.. + Detailed exception stack information used to generate a view - + - Looks up a localized string similar to No header data.. + Function containing instruction - + - Looks up a localized string similar to No QueryString data.. + File containing the instruction - + - Looks up a localized string similar to Query. + The line number of the instruction - + - Looks up a localized string similar to Stack. + The line preceeding the frame line - + - Looks up a localized string similar to Internal Server Error. + - + - Looks up a localized string similar to An unhandled exception occurred while processing the request.. + - + - Looks up a localized string similar to Unknown location. + - + - Looks up a localized string similar to Value. + Holds data to be displayed on the error page. - + - Looks up a localized string similar to Variable. + Options for what output to display. - + - Looks up a localized string similar to The path must start with a '/'.. + Detailed information about each exception in the stack - + - Looks up a localized string similar to Welcome. + Parsed query data - + - Looks up a localized string similar to Learn more about the Microsoft OWIN components. + Request cookies - + - Looks up a localized string similar to Learn more about OWIN. + Request headers - + - Looks up a localized string similar to Browser. + The request environment - + - Looks up a localized string similar to Learn More. + - + - Looks up a localized string similar to Light Bulb. + Infrastructure - + - Looks up a localized string similar to Skyline. + The request context - + - Looks up a localized string similar to Your OWIN application has been successfully started. + The request - + - Looks up a localized string similar to Your OWIN application has been successfully started.. + The response - + - Infrastructure + The output stream @@ -363,181 +249,237 @@ - + - The request context + Options for the ErrorPageMiddleware - + - The request + Create an instance with the default options settings. - + - The response + Returns a new instance of ErrorPageOptions with all visibility options enabled by default. - + - The output stream + Enables the display of exception types, messages, and stack traces. - + - Detailed exception stack information used to generate a view + Enabled the display of local source code around exception stack frames. - + - Function containing instruction + Determines how many lines of code to include before and after the line of code + present in an exception's stack frame. Only applies when symbols are available and + source code referenced by the exception stack trace is present on the server. - + - File containing the instruction + Enables the enumeration of any parsed query values. - + - The line number of the instruction + Enables the enumeration of any parsed request cookies. - + - The line preceeding the frame line + Enables the enumeration of the request headers. - + - + Enables the enumeration of the OWIN environment values. - + - + Sets the default visibility for options not otherwise specified. + - + - + A strongly-typed resource class, for looking up localized strings, etc. - + - Holds data to be displayed on the error page. + Returns the cached ResourceManager instance used by this class. - + - Options for what output to display. + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. - + - Detailed information about each exception in the stack + Looks up a localized string similar to You are seeing this page because DiagnosticsPageMiddleware was added to your web application.. - + - Parsed query data + Looks up a localized string similar to Test Error Message. - + - Request cookies + Looks up a localized string similar to Test Error Page. - + - Request headers + Looks up a localized string similar to Diagnostics Page. - + - The request environment + Looks up a localized string similar to Cookies. - + - + Looks up a localized string similar to Enable development mode or ErrorPageOptions.ShowExceptionDetails for additional information.. - + - IAppBuilder extensions for the WelcomePageMiddleware. + Looks up a localized string similar to Environment. - + - Adds the WelcomePageMiddleware to the pipeline with the given options. + Looks up a localized string similar to Headers. - - - - + - Adds the WelcomePageMiddleware to the pipeline with the given path. + Looks up a localized string similar to No cookie data.. - - - - + - Adds the WelcomePageMiddleware to the pipeline with the given path. + Looks up a localized string similar to No header data.. - - - - + - Adds the WelcomePageMiddleware to the pipeline. + Looks up a localized string similar to No QueryString data.. - - - + - This middleware provides a default web page for new applications. + Looks up a localized string similar to Query. - + - Creates a default web page for new applications. + Looks up a localized string similar to Stack. - - - + - Process an individual request. + Looks up a localized string similar to Internal Server Error. - - - + - IAppBuilder extension methods for the ErrorPageMiddleware. + Looks up a localized string similar to An unhandled exception occurred while processing the request.. - + - Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. - Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties. + Looks up a localized string similar to Unknown location. - - - + - Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. - Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties. + Looks up a localized string similar to Value. - + + + + Looks up a localized string similar to Variable. + + + + + Looks up a localized string similar to The path must start with a '/'.. + + + + + Looks up a localized string similar to Welcome. + + + + + Looks up a localized string similar to Learn more about the Microsoft OWIN components. + + + + + Looks up a localized string similar to Learn more about OWIN. + + + + + Looks up a localized string similar to Browser. + + + + + Looks up a localized string similar to Learn More. + + + + + Looks up a localized string similar to Light Bulb. + + + + + Looks up a localized string similar to Skyline. + + + + + Looks up a localized string similar to Your OWIN application has been successfully started. + + + + + Looks up a localized string similar to Your OWIN application has been successfully started.. + + + + + This middleware provides a default web page for new applications. + + + + + Creates a default web page for new applications. + + + + + + Process an individual request. + + @@ -570,5 +512,63 @@ Specifies which requests paths will be responded to. Exact matches only. Leave null to handle all requests. + + + IAppBuilder extensions for the WelcomePageMiddleware. + + + + + Adds the WelcomePageMiddleware to the pipeline with the given options. + + + + + + + + Adds the WelcomePageMiddleware to the pipeline with the given path. + + + + + + + + Adds the WelcomePageMiddleware to the pipeline with the given path. + + + + + + + + Adds the WelcomePageMiddleware to the pipeline. + + + + + + + IAppBuilder extension methods for the ErrorPageMiddleware. + + + + + Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. + Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties. + + + + + + + Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. + Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties. + + + + + diff --git a/packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.dll b/packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.dll similarity index 72% rename from packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.dll rename to packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.dll index 2870782..64877bc 100644 Binary files a/packages/Microsoft.Owin.Diagnostics.3.0.0/lib/net45/Microsoft.Owin.Diagnostics.dll and b/packages/Microsoft.Owin.Diagnostics.4.1.0/lib/net45/Microsoft.Owin.Diagnostics.dll differ diff --git a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/Microsoft.Owin.Host.HttpListener.3.0.0.nupkg b/packages/Microsoft.Owin.Host.HttpListener.3.0.0/Microsoft.Owin.Host.HttpListener.3.0.0.nupkg deleted file mode 100644 index a854539..0000000 Binary files a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/Microsoft.Owin.Host.HttpListener.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll b/packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll deleted file mode 100644 index d92ab5a..0000000 Binary files a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll and /dev/null differ diff --git a/packages/Microsoft.Owin.Host.HttpListener.4.1.0/.signature.p7s b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/.signature.p7s new file mode 100644 index 0000000..0c5af57 Binary files /dev/null and b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll new file mode 100644 index 0000000..a99c52a Binary files /dev/null and b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.dll differ diff --git a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml similarity index 100% rename from packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml rename to packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml index fe00947..26d3ab1 100644 --- a/packages/Microsoft.Owin.Host.HttpListener.3.0.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml +++ b/packages/Microsoft.Owin.Host.HttpListener.4.1.0/lib/net45/Microsoft.Owin.Host.HttpListener.xml @@ -16,6 +16,30 @@ to the header validations performed by the underlying collection. + + + This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary. + + + + + Initializes a new instance of the class. + Uses the given request object to populate the OWIN standard keys in the environment IDictionary. + Most values are copied so that they can be mutable, but the headers collection is only wrapped. + + + + + This wraps an HttpListenerResponse, populates it with the given response fields, and relays + the response body to the underlying stream. + + + + + Initializes a new instance of the class. + Sets up the Environment with the necessary request state items. + + This wraps HttpListener and exposes it as an OWIN compatible server. @@ -26,6 +50,11 @@ Creates a listener wrapper that can be configured by the user before starting. + + + The HttpListener instance wrapped by this wrapper. + + These are merged as one call because they should be swapped out atomically. @@ -57,35 +86,6 @@ Shuts down the listener and disposes it. - - - The HttpListener instance wrapped by this wrapper. - - - - - This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary. - - - - - Initializes a new instance of the class. - Uses the given request object to populate the OWIN standard keys in the environment IDictionary. - Most values are copied so that they can be mutable, but the headers collection is only wrapped. - - - - - This wraps an HttpListenerResponse, populates it with the given response fields, and relays - the response body to the underlying stream. - - - - - Initializes a new instance of the class. - Sets up the Environment with the necessary request state items. - - A strongly-typed resource class, for looking up localized strings, etc. diff --git a/packages/Microsoft.Owin.Hosting.3.0.0/Microsoft.Owin.Hosting.3.0.0.nupkg b/packages/Microsoft.Owin.Hosting.3.0.0/Microsoft.Owin.Hosting.3.0.0.nupkg deleted file mode 100644 index 169aa62..0000000 Binary files a/packages/Microsoft.Owin.Hosting.3.0.0/Microsoft.Owin.Hosting.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.dll b/packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.dll deleted file mode 100644 index 9212a2a..0000000 Binary files a/packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.dll and /dev/null differ diff --git a/packages/Microsoft.Owin.Hosting.4.1.0/.signature.p7s b/packages/Microsoft.Owin.Hosting.4.1.0/.signature.p7s new file mode 100644 index 0000000..4b03563 Binary files /dev/null and b/packages/Microsoft.Owin.Hosting.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.XML b/packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.XML similarity index 98% rename from packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.XML rename to packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.XML index 994ef78..248e27d 100644 --- a/packages/Microsoft.Owin.Hosting.3.0.0/lib/net45/Microsoft.Owin.Hosting.XML +++ b/packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.XML @@ -56,6 +56,11 @@ A default fallback loader that does nothing. + + + A singleton instance of the NullLoader type. + + A placeholder method that always returns null. @@ -64,11 +69,6 @@ null. - - - A singleton instance of the NullLoader type. - - A strongly-typed resource class, for looking up localized strings, etc. @@ -150,18 +150,6 @@ Used to instantiate the server factory. - - - Used to instantiate the server factory. - - - - - Instantiate an instance of the given type. - - - - @@ -180,18 +168,6 @@ Located and loads the server factory. - - - Used to locate and load the named server factory. - - - - - Used to locate and load the named server factory. - - - - Allows for a Dependency Injection activator to be specified. @@ -226,84 +202,30 @@ - - - Attempts to find the entry point for an app. - - - + - Attempts to find the entry point for an app. + Used to instantiate the server factory. - + - Attempts to find the entry point for a given configuration string. + Instantiate an instance of the given type. - - + - + - + Used to locate and load the named server factory. - - + - Attempts to find the entry point for a given configuration string. + Used to locate and load the named server factory. - - + - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to The following errors occurred while attempting to load the app.. - - - - - Looks up a localized string similar to Failed to resolve an instance of {0} from the IServiceProvider.. - - - - - Looks up a localized string similar to The settings file is improperly formatted. It should consist of one name=value pair per line. Empty lines or lines beginning with '#' are ignored.. - - - - - Looks up a localized string similar to The '{0}' Create method must take two parameters.. - - - - - Looks up a localized string similar to The '{0}' Create method must have a second parameter of type IDictionary<string,object>.. - - - - - Looks up a localized string similar to The server factory could not be located for the given input: {0}. - - The basic ServerFactory contract. @@ -339,125 +261,151 @@ - + - Helper code for the various activator services. + Attempts to find the entry point for an app. - + - Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly. + - - - + - + - Instantiate an object of the given type, using constructor service injection if possible. + Attempts to find the entry point for a given configuration string. - - + + - + - Creates a factory to instantiate a type using constructor service injection if possible. + Initializes a new app loader. - + + + + + + + + + + Not currently used. + + + + + Create a new chained app loader. + + - + - Used to instantiate the application entry point. e.g. the Startup class. + Initializes a new app loader. - + - Used to instantiate the application entry point. e.g. the Startup class. + Not currently used. - + - Instantiate an instance of the given type. + Create a new chained app loader. - + - + - Creates a new AppActivator. + Attempts to find the entry point for an app. - - + - Instantiate an instance of the given type, injecting any available services. + Attempts to find the entry point for a given configuration string. - + + - + - Provides an IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder. + A strongly-typed resource class, for looking up localized strings, etc. - + - Provides an IAppBuilder instance. + Returns the cached ResourceManager instance used by this class. - + - Create a new IAppBuilder instance. + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. - - + - Create a new IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder. + Looks up a localized string similar to The following errors occurred while attempting to load the app.. - - + - Initializes a new app loader. + Looks up a localized string similar to Failed to resolve an instance of {0} from the IServiceProvider.. - + - Initializes a new app loader. + Looks up a localized string similar to The settings file is improperly formatted. It should consist of one name=value pair per line. Empty lines or lines beginning with '#' are ignored.. - + - Create a new chained app loader. + Looks up a localized string similar to The '{0}' Create method must take two parameters.. - - - + - Not currently used. + Looks up a localized string similar to The '{0}' Create method must have a second parameter of type IDictionary<string,object>.. - + - + Looks up a localized string similar to The server factory could not be located for the given input: {0}. - - + - Create a new chained app loader. + Helper code for the various activator services. - + + + + Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly. + + + - + - Not currently used. + Instantiate an object of the given type, using constructor service injection if possible. + + + + + + + + Creates a factory to instantiate a type using constructor service injection if possible. + + @@ -527,37 +475,6 @@ - - - Loads settings from various locations. - - - - - Load settings from the AppSettings section of the config file. - - - - - - Load settings from the AppSettings section of the config file. - - - - - - Load settings from a flat text file. - - - - - - - Load settings from a flat text file. - - - - Extension methods for IServiceProvider. @@ -642,11 +559,70 @@ + + + Used to instantiate the application entry point. e.g. the Startup class. + + + + + Creates a new AppActivator. + + + + + + Instantiate an instance of the given type, injecting any available services. + + + + + + + Provides an IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder. + + + + + Create a new IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder. + + + + + + Used to instantiate the application entry point. e.g. the Startup class. + + + + + Instantiate an instance of the given type. + + + + + + + Provides an IAppBuilder instance. + + + + + Create a new IAppBuilder instance. + + + Opens a stream writer for the given file. + + + Opens a stream writer for the given file. + + + + Used to create the trace output. @@ -659,29 +635,41 @@ - + - Opens a stream writer for the given file. + Loads settings from various locations. + + + + + Load settings from the AppSettings section of the config file. - - + - Instantiates instances of the IHostingStarter. + Load settings from the AppSettings section of the config file. + - + - Instantiates instances of the IHostingStarter. + Load settings from a flat text file. + + - + + + Load settings from a flat text file. + + + + + Instantiates instances of the IHostingStarter. - - @@ -701,18 +689,6 @@ Executes the IHostingEngine without making any changes to the current execution environment. - - - Performs any necessary environment setup prior to executing the IHostingEngine. - - - - - Performs any necessary environment setup prior to executing the IHostingEngine. - - - - @@ -789,6 +765,30 @@ + + + Performs any necessary environment setup prior to executing the IHostingEngine. + + + + + Performs any necessary environment setup prior to executing the IHostingEngine. + + + + + + + Instantiates instances of the IHostingStarter. + + + + + Instantiates instances of the IHostingStarter. + + + + Creates a IHostingStarter for the given identifier. @@ -819,6 +819,24 @@ + + + Determines the which IHostingStarter instance to use via the IHostingSterterFactory. + + + + + + + + + + + Determines the which IHostingStarter instance to use via the IHostingSterterFactory. + + + + These methods are used to load, assemble, and start a web app. @@ -914,24 +932,6 @@ - - - Determines the which IHostingStarter instance to use via the IHostingSterterFactory. - - - - - - - - - - - Determines the which IHostingStarter instance to use via the IHostingSterterFactory. - - - - Used to initialize and start a web application. @@ -947,6 +947,12 @@ + + + Gets the default port number. + + The default port number. + Initialize and start a web application. @@ -958,6 +964,14 @@ + + + Tries to determine a custom port setting from the startup options or the port environment variable. + + The OWIN application startup options. + The port number. + True if a valid custom port was set, false if not. + This class contains the relevant application and server state during startup. diff --git a/packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.dll b/packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.dll new file mode 100644 index 0000000..0a01e86 Binary files /dev/null and b/packages/Microsoft.Owin.Hosting.4.1.0/lib/net45/Microsoft.Owin.Hosting.dll differ diff --git a/packages/Microsoft.Owin.Security.3.0.0/Microsoft.Owin.Security.3.0.0.nupkg b/packages/Microsoft.Owin.Security.3.0.0/Microsoft.Owin.Security.3.0.0.nupkg deleted file mode 100644 index 974d366..0000000 Binary files a/packages/Microsoft.Owin.Security.3.0.0/Microsoft.Owin.Security.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.dll b/packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.dll deleted file mode 100644 index 658fa63..0000000 Binary files a/packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.dll and /dev/null differ diff --git a/packages/Microsoft.Owin.Security.4.1.0/.signature.p7s b/packages/Microsoft.Owin.Security.4.1.0/.signature.p7s new file mode 100644 index 0000000..f31defe Binary files /dev/null and b/packages/Microsoft.Owin.Security.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.XML b/packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.XML similarity index 99% rename from packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.XML rename to packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.XML index 4842d4d..6e49587 100644 --- a/packages/Microsoft.Owin.Security.3.0.0/lib/net45/Microsoft.Owin.Security.XML +++ b/packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.XML @@ -81,6 +81,26 @@ Used by middleware extension methods to coordinate the default value Options property SignInAsAuthenticationType + + + Service used to protect and unprotect data + + + + + Called to protect user data. + + The original data that must be protected + A different byte array that may be unprotected or altered only by software that has access to + the an identical IDataProtection service. + + + + Called to unprotect user data + + The byte array returned by a call to Protect on an identical IDataProtection service. + The byte array identical to the original userData passed to Protect. + Factory used to create IDataProtection instances @@ -93,25 +113,34 @@ Additional entropy used to ensure protected data may only be unprotected for the correct purposes. An instance of a data protection service - + - Service used to protect and unprotect data + Used to provide the data protection services that are derived from the Data Protection API. It is the best choice of + data protection when you application is not hosted by ASP.NET and all processes are running as the same domain identity. - + - Called to protect user data. + Initializes a new DpapiDataProtectionProvider with a random application + name. This is only useful to protect data for the duration of the + current application execution. - The original data that must be protected - A different byte array that may be unprotected or altered only by software that has access to - the an identical IDataProtection service. - + - Called to unprotect user data + Initializes a new DpapiDataProtectionProvider which uses the given + appName as part of the protection algorithm - The byte array returned by a call to Protect on an identical IDataProtection service. - The byte array identical to the original userData passed to Protect. + A user provided value needed to round-trip secured + data. The default value comes from the IAppBuilder.Properties["owin.AppName"] + when self-hosted. + + + + Returns a new instance of IDataProtection for the provider. + + Additional entropy used to ensure protected data may only be unprotected for the correct purposes. + An instance of a data protection service @@ -119,6 +148,14 @@ Specifies which type for of AuthenticationOptions property + + + Initialize is called once per request to contextualize this instance with appropriate state. + + The original options passed by the application control behavior + The utility object to observe the current request and response + async completion + Base class for the per-request work performed by most authentication middleware. @@ -181,19 +218,51 @@ - Override this method to dela with 401 challenge concerns, if an authentication scheme in question + Override this method to deal with 401 challenge concerns, if an authentication scheme in question deals an authentication interaction as part of it's request flow. (like adding a response header, or changing the 401 result to 302 of a login page or external sign-in location.) - + - Initialize is called once per request to contextualize this instance with appropriate state. + Helper code used when implementing authentication middleware - The original options passed by the application control behavior - The utility object to observe the current request and response - async completion + + + + Helper code used when implementing authentication middleware + + + + + + Add an additional ClaimsIdentity to the ClaimsPrincipal in the "server.User" environment key + + + + + + Find response challenge details for a specific authentication middleware + + The authentication type to look for + The authentication mode the middleware is running under + The information instructing the middleware how it should behave + + + + Find response sign-in details for a specific authentication middleware + + The authentication type to look for + The information instructing the middleware how it should behave + + + + Find response sign-out details for a specific authentication middleware + + The authentication type to look for + The authentication mode the middleware is running under + The information instructing the middleware how it should behave @@ -256,11 +325,6 @@ One or more errors associated with the remote certificate. A Boolean value that determines whether the specified certificate is accepted for authentication. - - - Base class used for certain event contexts - - Discontinue all processing for this request and return to the client. @@ -303,74 +367,10 @@ Gets or sets the Protocol message - - - Used to provide the data protection services that are derived from the Data Protection API. It is the best choice of - data protection when you application is not hosted by ASP.NET and all processes are running as the same domain identity. - - - - - Initializes a new DpapiDataProtectionProvider with a random application - name. This is only useful to protect data for the duration of the - current application execution. - - - - - Initializes a new DpapiDataProtectionProvider which uses the given - appName as part of the protection algorithm - - A user provided value needed to round-trip secured - data. The default value comes from the IAppBuilder.Properties["owin.AppName"] - when self-hosted. - - - - Returns a new instance of IDataProtection for the provider. - - Additional entropy used to ensure protected data may only be unprotected for the correct purposes. - An instance of a data protection service - - - - Helper code used when implementing authentication middleware - - - - - Helper code used when implementing authentication middleware - - - - - - Add an additional ClaimsIdentity to the ClaimsPrincipal in the "server.User" environment key - - - - - - Find response challenge details for a specific authentication middleware - - The authentication type to look for - The authentication mode the middleware is running under - The information instructing the middleware how it should behave - - - - Find response sign-in details for a specific authentication middleware - - The authentication type to look for - The information instructing the middleware how it should behave - - + - Find response sign-out details for a specific authentication middleware + Base class used for certain event contexts - The authentication type to look for - The authentication mode the middleware is running under - The information instructing the middleware how it should behave @@ -382,15 +382,15 @@ Creates an instance of this context - + - Prevents the request from being processed further by other components. - IsRequestCompleted becomes true after calling. + True if the request should not be processed further by other components. - + - True if the request should not be processed further by other components. + Prevents the request from being processed further by other components. + IsRequestCompleted becomes true after calling. diff --git a/packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.dll b/packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.dll new file mode 100644 index 0000000..44d45c9 Binary files /dev/null and b/packages/Microsoft.Owin.Security.4.1.0/lib/net45/Microsoft.Owin.Security.dll differ diff --git a/packages/Microsoft.Owin.SelfHost.3.0.0/Microsoft.Owin.SelfHost.3.0.0.nupkg b/packages/Microsoft.Owin.SelfHost.3.0.0/Microsoft.Owin.SelfHost.3.0.0.nupkg deleted file mode 100644 index 3150215..0000000 Binary files a/packages/Microsoft.Owin.SelfHost.3.0.0/Microsoft.Owin.SelfHost.3.0.0.nupkg and /dev/null differ diff --git a/packages/Microsoft.Owin.SelfHost.4.1.0/.signature.p7s b/packages/Microsoft.Owin.SelfHost.4.1.0/.signature.p7s new file mode 100644 index 0000000..dd61dd6 Binary files /dev/null and b/packages/Microsoft.Owin.SelfHost.4.1.0/.signature.p7s differ diff --git a/packages/Microsoft.Owin.SelfHost.3.0.0/ReadMe.txt b/packages/Microsoft.Owin.SelfHost.4.1.0/ReadMe.txt similarity index 100% rename from packages/Microsoft.Owin.SelfHost.3.0.0/ReadMe.txt rename to packages/Microsoft.Owin.SelfHost.4.1.0/ReadMe.txt diff --git a/packages/Newtonsoft.Json.12.0.3/.signature.p7s b/packages/Newtonsoft.Json.12.0.3/.signature.p7s new file mode 100644 index 0000000..bc07e21 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/.signature.p7s differ diff --git a/packages/Newtonsoft.Json.12.0.3/LICENSE.md b/packages/Newtonsoft.Json.12.0.3/LICENSE.md new file mode 100644 index 0000000..dfaadbe --- /dev/null +++ b/packages/Newtonsoft.Json.12.0.3/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.12.0.3/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll new file mode 100644 index 0000000..adabab6 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.xml similarity index 76% rename from packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.xml index 8dd1d9b..4628a0b 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.xml @@ -9,4135 +9,5317 @@ Represents a BSON Oid (object id). - - - Initializes a new instance of the class. - - The Oid value. - 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. - + - 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 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. + - + - Initializes a new instance of the class with the specified . + 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. + - + - Reads the next JSON token from the stream. + Gets or sets the used when reading values from BSON. - true if the next token was read successfully; false if there are no more tokens to read. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + 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 as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Reads the next JSON token from the underlying . - A . This method will return null at the end of an array. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Skips the children of the current token. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Sets the current token. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - The new token. - + - Sets the current token and value. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. - The new token. - The value. + The used when writing values to BSON. - + - Sets the state based on current token type. + Initializes a new instance of the class. + The to write to. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Initializes a new instance of the class. + The to write to. - + - Releases unmanaged and - optionally - managed resources + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Changes the to Closed. + Writes the end. + The token. - + - Gets the current reader state. + Writes a comment /*...*/ containing the specified text. - The current reader state. + Text to place inside the comment. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the start of a constructor with the given name. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The name of the constructor. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes raw JSON. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + The raw JSON to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how time zones are handling when reading JSON. + Writes the beginning of a JSON array. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets the type of the current JSON token. + Writes a null value. - + - Gets the text value of the current JSON token. + Writes an undefined value. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a value. + The value to write. - + - Gets the depth of the current token in the JSON document. + Writes a value. - The depth of the current token in the JSON document. + The value to write. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a [] value. + The [] value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value that represents a BSON object id. - The reader. + The Object ID value to write. - + - Initializes a new instance of the class. + Writes a BSON regex. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The regex pattern. + The regex options. - + - Initializes a new instance of the class. + Specifies how constructors are used when initializing objects during deserialization by the . - 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 as a . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - 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 . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the JSON representation of the object. - A . This method will return null at the end of an array. + The to write to. + The value. + The calling serializer. - + - Reads the next JSON token from the stream as a . + Reads the JSON representation of the object. - A . This method will return null at the end of an array. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Reads the next JSON token from the stream. + Determines whether this instance can convert the specified object type. + Type of the object. - true if the next token was read successfully; false if there are no more tokens to read. + true if this instance can convert the specified object type; otherwise, false. - + - Changes the to Closed. + Converts a to and from JSON and BSON. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Writes the JSON representation of the object. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + The to write to. + The value. + The calling serializer. - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Reads the JSON representation of the object. - - true if the root object will be read as a JSON array; otherwise, false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets the used when reading values from BSON. + Determines whether this instance can convert the specified object type. - The used when reading values from BSON. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Creates a custom object. + The object type to convert. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Creates an instance of the JsonWriter class. + 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. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Closes this stream and the underlying stream. + 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. + - + - Writes the beginning of a Json object. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of a Json object. + Converts a to and from JSON. - + - Writes the beginning of a Json array. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the end of an array. + 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. - + - Writes the start of a constructor with the given name. + Determines whether this instance can convert the specified value type. - The name of the constructor. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Writes the end constructor. + Converts a to and from JSON. - + - Writes the property name of a name/value pair on a JSON object. + Writes the JSON representation of the object. - The name of the property. + The to write to. + The value. + The calling serializer. - + - Writes the property name of a name/value pair on a JSON object. + Reads the JSON representation of the 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 to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the end of the current Json object or array. + 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. + - + - Writes the current token and its children. + Provides a base class for converting a to and from JSON. - The to read the token from. - + - Writes the current token. + Determines whether this instance can convert the specified object type. - The to read the token from. - A flag indicating whether the current token's children should be written. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the specified end token. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - The end token to write. - + - Writes indent characters. + 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. - + - Writes the JSON value delimiter. + 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. - + - Writes an indent space. + 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 a null value. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes an undefined 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. - + - Writes raw JSON without changing the writer's state. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + Writes the JSON representation of the object. - The raw JSON to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from Unix epoch time - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts XML to and from JSON. - The value to write. - + - Writes a value. + 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 value to write. + The name of the deserialized root element. - + - Writes a value. + Gets or sets a value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. - The value to write. + true if the array attribute is written to the XML; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to write the root JSON object. - The value to write. + true if the JSON root object is omitted; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. - The value to write. + true if special characters are encoded; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The calling serializer. + The value. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes out a comment /*...*/ containing the specified text. + Checks if the is a namespace attribute. - Text to place inside the comment. + 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. - + - Writes out the given white space. + Determines whether this instance can convert the specified value type. - The string of white space characters. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Sets the state of the JsonWriter, + Specifies how dates are formatted when writing JSON text. - The JsonToken being written. - The value being written. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - + - Gets the top. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - The top. - + - Gets the state of the writer. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - + - Gets the path of the writer. + Date formatted strings are not parsed to a date type and are read as strings. - + - Indicates how JSON text output is formatted. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how dates are written to JSON text. + Specifies how to treat the time value when converting between string and . - + - Get or set how time zones are handling when writing JSON text. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - + - Get or set how strings are escaped when writing JSON text. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + 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. - + - Get or set how and values are formatting when writing JSON text. + Time zone information should be preserved when converting. - + - Gets or sets the culture used when writing JSON. Defaults to . + The default JSON name table implementation. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The stream. - + - Initializes a new instance of the class. + Gets a string containing the same characters as the specified range of characters in the given array. - The writer. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Adds the specified string into name table. + The string to add. + This method is not thread-safe. + The resolved string. - + - Writes the end. + Specifies default value handling options for the . - The token. + + + + - + - Writes out a comment /*...*/ containing the specified text. + 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. - Text to place inside the comment. - + - Writes the start of a constructor with the given name. + 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. - The name of the constructor. - + - Writes raw JSON. + Members with a default value but no JSON will be set to their default value when deserializing. - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + 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. - The raw JSON to write. - + - Writes the beginning of a Json array. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - + - Writes the beginning of a Json object. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - + - Writes the property name of a name/value pair on a Json object. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - The name of the property. - + - Closes this stream and the underlying stream. + 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. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The value to write. - + - Writes a null value. + Floating point numbers are parsed to . - + - Writes an undefined value. + Floating point numbers are parsed to . - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Provides an interface for using pooled arrays. - The value to write. + The array type content. - + - Writes a value. + Rent an array from the pool. This array must be returned when it is no longer needed. - The value to write. + 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. - + - Writes a value. + Return an array to the pool. - The value to write. + The array that is being returned. - + - Writes a value. + Provides an interface to enable a class to return line and position information. - The value to write. - + - Writes a value. + Gets a value indicating whether the class can return line information. - The value to write. + + true if and can be provided; otherwise, false. + - + - Writes a value. + Gets the current line number. - The value to write. + The current line number or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Instructs the how to serialize the collection. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether null items are allowed in the collection. - The value to write. + true if null items are allowed in the collection; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with a flag indicating whether the array can contain null items. - The value to write. + A flag indicating whether the array can contain null items. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value. + Instructs the how to serialize the object. - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. + The id. - + - Writes a value. + Gets or sets the title. - The value to write. + The title. - + - Writes a value that represents a BSON object id. + Gets or sets the description. - The Object ID value to write. + The description. - + - Writes a BSON regex. + Gets or sets the collection's items converter. - The regex pattern. - The regex options. + The collection's items converter. - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + 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. - The used when writing values to BSON. + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Specifies how constructors are used when initializing objects during deserialization by the . + Gets or sets the of the . + The of the . - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + 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" })] + + - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + Gets or sets a value that indicates whether to preserve object references. + + true to keep object reference; otherwise, false. The default is false. + - + - Converts a binary value to and from a base 64 string value. + 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. + - + - Converts an object to and from JSON. + Gets or sets the reference loop handling used when serializing the collection's items. + The reference loop handling. - + - Writes the JSON representation of the object. + Gets or sets the type name handling used when serializing the collection's items. - The to write to. - The value. - The calling serializer. + The type name handling. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - 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. + Initializes a new instance of the class with the specified container Id. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The container Id. - + - Gets the of the JSON produced by the JsonConverter. + Provides methods for converting between .NET types and JSON types. - The of the JSON produced by the JsonConverter. + + + - + - Gets a value indicating whether this can read JSON. + 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 + . - true if this can read JSON; otherwise, false. - + - Gets a value indicating whether this can write JSON. + Represents JavaScript's boolean value true as a string. This field is read-only. - true if this can write JSON; otherwise, false. - + - Writes the JSON representation of the object. + Represents JavaScript's boolean value false as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's null as a string. This field is read-only. - 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. + Represents JavaScript's undefined as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Converts a to and from JSON and BSON. + Represents JavaScript's positive infinity as a string. This field is read-only. - + - Writes the JSON representation of the object. + Represents JavaScript's negative infinity as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's NaN as a string. This field is read-only. - 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. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Create a custom object + Converts the to its JSON string representation using the specified. - The object type to convert. + 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 . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Creates an object which will then be populated by the serializer. + Converts the to its JSON string representation. - Type of the object. - The created object. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 a value indicating whether this can write JSON. + 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. + + + + + 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 if this can write JSON; otherwise, false. + true to close the source when this reader is closed; otherwise false. The default is true. - + - Converts a to and from JSON. + 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. + - + - Writes the JSON representation of the object. + Gets the quotation mark character used to enclose the value of a string. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Gets or sets how time zones are handled when reading JSON. - 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 value type. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - + - Converts a to and from JSON. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - + - Writes the JSON representation of the object. + Gets or sets how custom date formatted strings are parsed when reading JSON. - The to write to. + + + + 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. + + + + 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. - The calling serializer. - + + + 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. + + - Reads the JSON representation of the object. + Gets the line position indicating where the error occurred. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The line position indicating where the error occurred. - + - Determines whether this instance can convert the specified value type. + Gets the path to the JSON where the error occurred. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The path to the JSON where the error occurred. - + - Provides a base class for converting a to and from JSON. + Initializes a new instance of the class. - + - Determines whether this instance can convert the specified object type. + Initializes a new instance of the class + with a specified error message. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The error message that explains the reason for the exception. - + - Converts a to and from JSON. + 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. - + - Writes the JSON representation of the object. + Initializes a new instance of the class. - The to write to. - The value. - The calling serializer. + 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). - + - Reads the JSON representation of the object. + 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 to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. - + - Determines whether this instance can convert the specified object type. + Instructs the to always serialize the member, and to require that the member has a value. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Converts a to and from JSON and BSON. + The exception thrown when an error occurs during JSON serialization or deserialization. - + - Writes the JSON representation of the object. + Gets the line number indicating where the error occurred. - The to write to. - The value. - The calling serializer. + The line number indicating where the error occurred. - + - Reads the JSON representation of the object. + Gets the line position indicating where the error occurred. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The line position indicating where the error occurred. - + - Determines whether this instance can convert the specified object type. + Gets the path to the JSON where the error occurred. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The path to the JSON where the error occurred. - + - Converts an to and from its name string value. + Initializes a new instance of the class. - + - 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. - + - Writes the JSON representation of the object. + 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 to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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). - + - Determines whether this instance can convert the specified object type. + 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. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + 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. - + - Gets or sets a value indicating whether the written enum text should be camel case. + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. - true if the written enum text will be camel case; otherwise, false. - + - Gets or sets a value indicating whether integer values are allowed. + Occurs when the errors during serialization and deserialization. - true if integers are allowed; otherwise, false. - + - Converts a to and from a string (e.g. "1.2.3.4"). + Gets or sets the used by the serializer when resolving references. - + - Writes the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - 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. + Gets or sets the used by the serializer when writing trace messages. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The trace writer. - + - Specifies how dates are formatted when writing JSON text. + Gets or sets the equality comparer used by the serializer when comparing references. + The equality comparer. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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 . + - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + The type name assembly format. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + The type name assembly format. - + - Date formatted strings are not parsed to a date type and are read as strings. + Gets or sets how object references are preserved by the serializer. + The default value is . - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . - + - Specifies how to treat the time value when converting between string and . + 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 default value is . - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - + - 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. + Gets or sets how objects are created during deserialization. + The default value is . + The object creation handling. - + - Time zone information should be preserved when converting. + Gets or sets how constructors are used during deserialization. + The default value is . + The constructor handling. - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + Gets or sets how metadata properties are used during deserialization. + The default value is . + The metadata properties handling. - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Gets a collection that will be used during serialization. + Collection that will be used during serialization. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Gets or sets the used by the serializer when invoking serialization callback methods. + The context. - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Indicates how JSON text output is formatted. + The default value is . - + - Floating point numbers are parsed to . + Gets or sets how dates are written to JSON text. + The default value is . - + - Floating point numbers are parsed to . + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - + - Specifies formatting options for the . + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - + - No special formatting is applied. This is the default. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - + - Causes child objects to be indented according to the and settings. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . - + - Instructs the to use the specified constructor when deserializing that object. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - + - Instructs the how to serialize the collection. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - + - Instructs the how to serialize the object. + Gets or sets the culture used when reading JSON. + The default value is . - + - Initializes a new instance of the class. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - + - Initializes a new instance of the class with the specified container Id. + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. - The container Id. + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + - + - Gets or sets the id. + Initializes a new instance of the class. - The id. - + - Gets or sets the title. + Creates a new instance. + The will not use default settings + from . - The title. + + A new instance. + The will not use default settings + from . + - + - Gets or sets the description. + Creates a new instance using the specified . + The will not use default settings + from . - The description. + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + - + - Gets the collection's items converter. + Creates a new instance. + The will use default settings + from . - The collection's items converter. + + A new instance. + The will use default settings + from . + - + - Gets or sets a value that indicates whether to preserve object references. + Creates a new instance using the specified . + The will use default settings + from as well as the specified . - - true to keep object reference; otherwise, false. The default is false. - + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + - + - Gets or sets a value that indicates whether to preserve collection's items references. + Populates the JSON values onto the target object. - - true to keep collection's items object references; otherwise, false. The default is false. - + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Gets or sets the reference loop handling used when serializing the collection's items. + Populates the JSON values onto the target object. - The reference loop handling. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Gets or sets the type name handling used when serializing the collection's items. + Deserializes the JSON structure contained by the specified . - The type name handling. + The that contains the JSON structure to deserialize. + The being deserialized. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class with the specified container Id. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The container Id. + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. - + - The exception thrown when an error occurs during Json serialization or deserialization. + 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. - + - Initializes a new instance of the class. + Serializes the specified and writes the JSON structure + using the specified . + The used to write the JSON structure. + The to serialize. - + - Initializes a new instance of the class - with a specified error message. + Serializes the specified and writes the JSON structure + using the specified . - The error message that explains the reason for the exception. + 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. + - + - 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. + Serializes the specified and writes the JSON structure + using the specified . - 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 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. + - + - Initializes a new instance of the class. + Serializes the specified and writes the JSON structure + using the specified . - 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 used to write the JSON structure. + The to serialize. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Specifies the settings on a object. - + - Initializes a new instance of the class. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + The default value is . + Reference loop handling. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + 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 default value is . - - true to write extension data when serializing the object; otherwise, false. The default is true. - + Missing member handling. - + - Gets or sets a value that indicates whether to read extension data when deserializing the object. + Gets or sets how objects are created during deserialization. + The default value is . - - true to read extension data when deserializing the object; otherwise, false. The default is true. - + The object creation handling. - + - Specifies the settings used when merging JSON. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + Null value handling. - + - Gets or sets the method used when merging JSON arrays. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The method used when merging JSON arrays. + The default value handling. - + - Specifies how JSON arrays are merged together. + Gets or sets a collection that will be used during serialization. + The converters. - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - + - Specifies metadata property handling options for the . + Gets or sets how object references are preserved by the serializer. + The default value is . + The preserve references handling. - + - Read metadata properties located at the start of a JSON object. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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. - + - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + Gets or sets how metadata properties are used during deserialization. + The default value is . + The metadata properties handling. - + - Do not try to read metadata properties. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + The type name assembly format. - + - Represents a trace writer that writes to the application's instances. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + The type name assembly format. - + - Represents a trace writer. + Gets or sets how constructors are used during deserialization. + The default value is . + The constructor handling. - + - Writes the specified trace level, message and optional exception. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + The contract resolver. - + - 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. + Gets or sets the equality comparer used by the serializer when comparing references. - The that will be used to filter the trace messages passed to the writer. + The equality comparer. - + - Writes the specified trace level, message and optional exception. + Gets or sets the used by the serializer when resolving references. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + The reference resolver. - + - 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. + Gets or sets a function that creates the used by the serializer when resolving references. - - The that will be used to filter the trace messages passed to the writer. - + A function that creates the used by the serializer when resolving references. - + - Contract details for a used by the . + Gets or sets the used by the serializer when writing trace messages. + The trace writer. - + - Contract details for a used by the . + Gets or sets the used by the serializer when resolving type names. + The binder. - + - Gets the underlying type for the contract. + Gets or sets the used by the serializer when resolving type names. - The underlying type for the contract. + The binder. - + - Gets or sets the type created during deserialization. + Gets or sets the error handler called during serialization and deserialization. - The type created during deserialization. + The error handler called during serialization and deserialization. - + - Gets or sets whether this type contract is serialized as a reference. + Gets or sets the used by the serializer when invoking serialization callback methods. - Whether this type contract is serialized as a reference. + The context. - + - Gets or sets the default for this contract. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - The converter. - + - Gets or sets all methods called immediately after deserialization of the object. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - The methods called immediately after deserialization of the object. - + - Gets or sets all methods called during deserialization of the object. + Indicates how JSON text output is formatted. + The default value is . - The methods called during deserialization of the object. - + - Gets or sets all methods called after serialization of the object graph. + Gets or sets how dates are written to JSON text. + The default value is . - The methods called after serialization of the object graph. - + - Gets or sets all methods called before serialization of the object. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - 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. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The method called immediately after deserialization of the object. - + - Gets or sets the method called during deserialization of the object. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - The method called during deserialization of the object. - + - Gets or sets the method called after serialization of the object graph. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The method called after serialization of the object graph. - + - Gets or sets the method called before serialization of the object. + Gets or sets the culture used when reading JSON. + The default value is . - 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. + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. - The method called when an error is thrown during the serialization of the object. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - Gets or sets the default creator method used to create the object. + Initializes a new instance of the class. - The default creator method used to create the object. - + - Gets or sets a value indicating whether the default creator is non public. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - true if the default object creator is non-public; otherwise, false. - + - Initializes a new instance of the class. + Initializes a new instance of the class with the specified . - The underlying type for the contract. + The containing the JSON data to read. - + - Gets or sets the default collection items . + Gets or sets the reader's property name table. - The converter. - + - Gets or sets a value indicating whether the collection items preserve object references. + Gets or sets the reader's character buffer pool. - true if collection items preserve object references; otherwise, false. - + - Gets or sets the collection item reference loop handling. + Reads the next JSON token from the underlying . - The reference loop handling. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Gets or sets the collection item type name handling. + Reads the next JSON token from the underlying as a of . - The type name handling. + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - Writes the specified trace level, message and optional exception. + Reads the next JSON token from the underlying as a []. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Returns an enumeration of the most recent trace messages. + Reads the next JSON token from the underlying as a of . - An enumeration of the most recent trace messages. + A of . This method will return null at the end of an array. - + - Returns a of the most recent trace messages. + Reads the next JSON token from the underlying as a of . - - A of the most recent trace messages. - + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the underlying as a of . - - The that will be used to filter the trace messages passed to the writer. - + A of . This method will return null at the end of an array. - + - Provides an interface to enable a class to return line and position information. + 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 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, 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, returns false). + - + - Specifies how strings are escaped when writing JSON text. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Only control characters (e.g. newline) are escaped. + Gets or sets the writer's character array pool. - + - All non-ASCII and control characters (e.g. newline) are escaped. + Gets or sets how many s to write for each level in the hierarchy when is set to . - + - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + Gets or sets which character to use to quote attribute values. - + - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . + Gets or sets which character to use for indenting when is set to . - + - Returns the input typed as . + Gets or sets a value indicating whether object names will be surrounded with quotes. - + - Returns an empty that has the - specified type argument. + Initializes a new instance of the class using the specified . + The to write to. - + - Converts the elements of an to the - specified type. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - + - Filters the elements of an based on a specified type. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Generates a sequence of integral numbers within a specified range. + Writes the beginning of a JSON object. - The value of the first integer in the sequence. - The number of sequential integers to generate. - + - Generates a sequence that contains one repeated value. + Writes the beginning of a JSON array. - + - Filters a sequence of values based on a predicate. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. + Writes the specified end token. + The end token to write. - + - Projects each element of a sequence into a new form. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Projects each element of a sequence into a new form by - incorporating the element's index. + 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. - + - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. + Writes indent characters. - + - Projects each element of a sequence to an , - and flattens the resulting sequences into one sequence. The - index of each source element is used in the projected form of - that element. + Writes the JSON value delimiter. - + - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. + Writes an indent space. - + - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. The index of - each source element is used in the intermediate projected form - of that element. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Returns elements from a sequence as long as a specified condition is true. + Writes a null value. - + - Returns elements from a sequence as long as a specified condition is true. - The element's index is used in the logic of the predicate function. + Writes an undefined value. - + - Base implementation of First operator. + Writes raw JSON. + The raw JSON to write. - + - Returns the first element of a sequence. + Writes a value. + The value to write. - + - Returns the first element in a sequence that satisfies a specified condition. + Writes a value. + The value to write. - + - Returns the first element of a sequence, or a default value if - the sequence contains no elements. + Writes a value. + The value to write. - + - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. + Writes a value. + The value to write. - + - Base implementation of Last operator. + Writes a value. + The value to write. - + - Returns the last element of a sequence. + Writes a value. + The value to write. - + - Returns the last element of a sequence that satisfies a - specified condition. + Writes a of value. + The of value to write. - + - Returns the last element of a sequence, or a default value if - the sequence contains no elements. + Writes a value. + The value to write. - + - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. + Writes a of value. + The of value to write. - + - Base implementation of Single operator. + Writes a value. + The value to write. - + - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. + Writes a value. + The value to write. - + - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. + Writes a value. + The value to write. - + - Returns the only element of a sequence, or a default value if - the sequence is empty; this method throws an exception if there - is more than one element in the sequence. + Writes a value. + The value to write. - + - Returns the only element of a sequence that satisfies a - specified condition or a default value if no such element - exists; this method throws an exception if more than one element - satisfies the condition. + Writes a value. + The value to write. - + - Returns the element at a specified index in a sequence. + Writes a value. + The value to write. - + - Returns the element at a specified index in a sequence or a - default value if the index is out of range. + Writes a value. + The value to write. - + - Inverts the order of the elements in a sequence. + Writes a value. + The value to write. - + - Returns a specified number of contiguous elements from the start - of a sequence. + Writes a [] value. + The [] value to write. - + - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. + Writes a value. + The value to write. - + - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. + Writes a value. + The value to write. - + - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. The element's - index is used in the logic of the predicate function. + Writes a value. + The value to write. - + - Returns the number of elements in a sequence. + Writes a comment /*...*/ containing the specified text. + Text to place inside the comment. - + - Returns a number that represents how many elements in the - specified sequence satisfy a condition. + Writes the given white space. + The string of white space characters. - + - Returns an that represents the total number - of elements in a sequence. + Specifies the type of JSON token. - + - Returns an that represents how many elements - in a sequence satisfy a condition. + This is returned by the if a read method has not been called. - + - Concatenates two sequences. + An object start token. - + - Creates a from an . + An array start token. - + - Creates an array from an . + A constructor start token. - + - Returns distinct elements from a sequence by using the default - equality comparer to compare values. + An object property name. - + - Returns distinct elements from a sequence by using a specified - to compare values. + A comment. - + - Creates a from an - according to a specified key - selector function. + Raw JSON. - + - Creates a from an - according to a specified key - selector function and a key comparer. + An integer. - + - Creates a from an - according to specified key - and element selector functions. + A float. - + - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. + A string. - + - Groups the elements of a sequence according to a specified key - selector function. + A boolean. - + - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. + A null token. - + - Groups the elements of a sequence according to a specified key - selector function and projects the elements for each group by - using a specified function. + An undefined token. - + - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. + An object end token. - + - Groups the elements of a sequence according to a key selector - function. The keys are compared by using a comparer and each - group's elements are projected by using a specified function. + An array end token. - + - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The elements of each group are projected by using a - specified function. + A constructor end token. - + - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The keys are compared by using a specified comparer. + A Date. - + - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. Key values are compared by using a specified comparer, - and the elements of each group are projected by using a - specified function. + Byte data. - + - Applies an accumulator function over a sequence. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. + Sets an event handler for receiving schema validation errors. - + - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value, and the - specified function is used to select the result value. + Gets the text value of the current JSON token. + - + - Produces the set union of two sequences by using the default - equality comparer. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Produces the set union of two sequences by using a specified - . + Gets the path of the current JSON token. - + - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. + Gets the quotation mark character used to enclose the value of a string. + - + - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. + Gets the type of the current JSON token. + - + - Determines whether all elements of a sequence satisfy a condition. + Gets the .NET type for the current JSON token. + - + - Determines whether a sequence contains any elements. + Initializes a new instance of the class that + validates the content returned from the given . + The to read from while validating. - + - Determines whether any element of a sequence satisfies a - condition. + Gets or sets the schema. + The schema. - + - Determines whether a sequence contains a specified element by - using the default equality comparer. + Gets the used to construct this . + The specified in the constructor. - + - Determines whether a sequence contains a specified element by - using a specified . + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. + Reads the next JSON token from the underlying as a of . + A of . - + - Determines whether two sequences are equal by comparing their - elements by using a specified . + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. + - + - Base implementation for Min/Max operator. + Reads the next JSON token from the underlying as a of . + A of . - + - Base implementation for Min/Max operator for nullable types. + Reads the next JSON token from the underlying as a of . + A of . - + - Returns the minimum value in a generic sequence. + Reads the next JSON token from the underlying as a of . + A of . - + - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - Returns the maximum value in a generic sequence. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. + 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. + - + - Makes an enumerator seen as enumerable once more. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - The supplied enumerator must have been started. The first element - returned is the element the enumerator was on when passed in. - DO NOT use this method if the caller must be a generator. It is - mostly safe among aggregate operations. - - + - Sorts the elements of a sequence in ascending order according to a key. + 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. + - + - Sorts the elements of a sequence in ascending order by using a - specified comparer. + 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. + - + - Sorts the elements of a sequence in descending order according to a key. + Gets the top. + The top. - + - Sorts the elements of a sequence in descending order by using a - specified comparer. + Gets the state of the writer. - + - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. + Gets the path of the writer. - + - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. + Gets or sets a value indicating how JSON text output should be formatted. - + - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. + Gets or sets how dates are written to JSON text. - + - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. + Gets or sets how time zones are handled when writing JSON text. - + - Base implementation for Intersect and Except operators. + Gets or sets how strings are escaped when writing JSON text. - + - Produces the set intersection of two sequences by using the - default equality comparer to compare values. + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. - + - Produces the set intersection of two sequences by using the - specified to compare values. + Gets or sets how and values are formatted when writing JSON text. - + - Produces the set difference of two sequences by using the - default equality comparer to compare values. + Gets or sets the culture used when writing JSON. Defaults to . - + - Produces the set difference of two sequences by using the - specified to compare values. + Initializes a new instance of the class. - + - Creates a from an - according to a specified key - selector function. + Flushes whatever is in the buffer to the destination and also flushes the destination. - + - Creates a from an - according to a specified key - selector function and key comparer. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - + - Creates a from an - according to specified key - selector and element selector functions. + Writes the beginning of a JSON object. - + - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. + Writes the end of a JSON object. - + - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. + Writes the beginning of a JSON array. - + - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. A - specified is used to compare keys. + Writes the end of an array. - + - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. A specified - is used to compare keys. + Writes the end constructor. - + - Computes the sum of a sequence of nullable values. + Writes the property name of a name/value pair of a JSON object. + The name of the property. - + - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. + 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. - + - Computes the average of a sequence of nullable values. + Writes the end of the current JSON object or array. - + - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes the current token and its children. + The to read the token from. - + - Computes the sum of a sequence of values. + Writes the current token. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. + 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. . + - + - Computes the average of a sequence of values. + Writes the token. + The to write. - + - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes the specified end token. + The end token to write. - + - Returns the minimum value in a sequence of nullable - values. + Writes indent characters. - + - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. + Writes the JSON value delimiter. - + - Returns the maximum value in a sequence of nullable - values. + Writes an indent space. - + - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. + Writes a null value. - + - Computes the sum of a sequence of nullable values. + Writes an undefined value. - + - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - Computes the average of a sequence of nullable values. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a value. + The value to write. - + - Computes the sum of a sequence of values. + Writes a value. + The value to write. - + - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a value. + The value to write. - + - Computes the average of a sequence of values. + Writes a value. + The value to write. - + - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a value. + The value to write. - + - Returns the minimum value in a sequence of nullable - values. + Writes a value. + The value to write. - + - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. + Writes a value. + The value to write. - + - Returns the maximum value in a sequence of nullable - values. + Writes a value. + The value to write. - + - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. + Writes a value. + The value to write. - + - Computes the sum of a sequence of nullable values. + Writes a value. + The value to write. - + - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a value. + The value to write. - + - Computes the average of a sequence of nullable values. + Writes a value. + The value to write. - + - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a value. + The value to write. - + - Computes the sum of a sequence of values. + Writes a value. + The value to write. - + - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a value. + The value to write. - + - Computes the average of a sequence of values. + Writes a value. + The value to write. - + - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a value. + The value to write. - + - Returns the minimum value in a sequence of nullable - values. + Writes a of value. + The of value to write. - + - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. + Writes a of value. + The of value to write. - + - Returns the maximum value in a sequence of nullable - values. + Writes a of value. + The of value to write. - + - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. + Writes a of value. + The of value to write. - + - Computes the sum of a sequence of nullable values. + Writes a of value. + The of value to write. - + - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a of value. + The of value to write. - + - Computes the average of a sequence of nullable values. + Writes a of value. + The of value to write. - + - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a of value. + The of value to write. - + - Computes the sum of a sequence of values. + Writes a of value. + The of value to write. - + - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a of value. + The of value to write. - + - Computes the average of a sequence of values. + Writes a of value. + The of value to write. - + - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a of value. + The of value to write. - + - Returns the minimum value in a sequence of nullable - values. + Writes a of value. + The of value to write. - + - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. + Writes a of value. + The of value to write. - + - Returns the maximum value in a sequence of nullable - values. + Writes a of value. + The of value to write. - + - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. + Writes a of value. + The of value to write. - + - Computes the sum of a sequence of nullable values. + Writes a [] value. + The [] value to write. - + - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. + Writes a value. + The value to write. - + - Computes the average of a sequence of nullable values. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. + Writes a comment /*...*/ containing the specified text. + Text to place inside the comment. - + - Computes the sum of a sequence of values. + Writes the given white space. + The string of white space characters. - + - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. + Releases unmanaged and - optionally - managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Computes the average of a sequence of values. + Sets the state of the . + The being written. + The value being written. - + - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. + The exception thrown when an error occurs while writing JSON text. - + - Returns the minimum value in a sequence of nullable - values. + Gets the path to the JSON where the error occurred. + The path to the JSON where the error occurred. - + - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. + Initializes a new instance of the class. - + - Returns the maximum value in a sequence of nullable - values. + Initializes a new instance of the class + with a specified error message. + The error message that explains the reason for the exception. - + - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. + 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. - + - Represents a collection of objects that have a common key. + 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). - + - Gets the key of 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. + 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. - + - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. + Specifies how JSON comments are handled when loading JSON. - + - Represents a sorted sequence. + Ignore comments. - + - Performs a subsequent ordering on the elements of an - according to a key. + Load comments as a with type . - + - Represents a collection of keys each mapped to one or more values. + Specifies how duplicate property names are handled when loading JSON. - + - Determines whether a specified key is in the . + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - + - Applies a transform function to each key and its associated - values and returns the results. + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - + - Returns a generic enumerator that iterates through the . + Throw a when a duplicate property is encountered. - + - Gets the number of key/value collection pairs in the . + Contains the LINQ to JSON extension methods. - + - Gets the collection of values indexed by the specified key. + 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. - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - This attribute allows us to define extension methods without - requiring .NET Framework 3.5. For more information, see the section, - Extension Methods in .NET Framework 2.0 Apps, - of Basic Instincts: Extension Methods - column in MSDN Magazine, - issue Nov 2007. - - - + - Represents a view of a . + 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. - + - Initializes a new instance of the class. + Returns a collection of tokens that contains the descendants of every token in the source collection. - The name. + 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. - + - When overridden in a derived class, returns whether resetting an object changes its value. + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - + 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. - + - When overridden in a derived class, gets the current value of the property on a component. + Returns a collection of child properties of every object in the source collection. - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - + An of that contains the source collection. + An of that contains the properties of every object in the source collection. - + - When overridden in a derived class, resets the value for this property of the component to the default value. + Returns a collection of child values of every object in the source collection with the given key. - The component with the property value that is to be reset to the default value. - + 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. - + - When overridden in a derived class, sets the value of the component to a different value. + Returns a collection of child values of every object in the source collection. - The component with the property value that is to be set. - The new value. - + An of that contains the source collection. + An of that contains the values of every token in the source collection. - + - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + Returns a collection of converted child values of every object in the source collection with the given key. - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - + 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. - + - When overridden in a derived class, gets the type of the component this property is bound to. + Returns a collection of converted child values of every object in the source collection. - - 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. - + 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. - + - When overridden in a derived class, gets a value indicating whether this property is read-only. + Converts the value. - - true if the property is read-only; otherwise, false. - + The type to convert the value to. + A cast as a of . + A converted value. - + - When overridden in a derived class, gets the type of the property. + Converts the value. - - A that represents the type of the property. - + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. - + - Gets the hash code for the name of the member. + Returns a collection of child tokens of every array in the source collection. - - - The hash code for the name of the member. - + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. - + - Represents a raw JSON string. + 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. - + - Represents a value in JSON (string, integer, date, etc). + Returns the input typed as . + An of that contains the source collection. + The input typed as . - + - Represents an abstract JSON token. + 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 + The type of token. - Gets the with the specified key. + Gets the of with the specified key. - + - Compares the values of two tokens, including the values of all descendant tokens. + Represents a JSON array. - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. + + + - + - Adds the specified content immediately after this token. + Gets the container's children tokens. - A content object that contains simple content or a collection of content objects to be added after this token. + The container's children tokens. - + - Adds the specified content immediately before this token. + Gets the node type for this . - A content object that contains simple content or a collection of content objects to be added before this token. + The type. - + - Returns a collection of the ancestor tokens of this token. + Initializes a new instance of the class. - A collection of the ancestor tokens of this token. - + - Returns a collection of the sibling tokens after this token, in document order. + Initializes a new instance of the class from another object. - A collection of the sibling tokens after this tokens, in document order. + A object to copy from. - + - Returns a collection of the sibling tokens before this token, in document order. + Initializes a new instance of the class with the specified content. - A collection of the sibling tokens before this token, in document order. + The contents of the array. - + - Gets the with the specified key converted to the specified type. + Initializes a new instance of the class with the specified content. - The type to convert the token to. - The token key. - The converted token value. + The contents of the array. - + - Returns a collection of the child tokens of this token, in document order. + Loads an from a . - An of containing the child tokens of this , in document order. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + Loads an from a . - The type to filter the child tokens on. - A containing the child tokens of this , in document order. + 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 . - + - Returns a collection of the child values of this token, in document order. + Load a from a string that contains JSON. - The type to convert the values to. - A containing the child values of this , in document order. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Removes this token from its parent. + 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. - + - Replaces this token with the specified token. + Creates a from an object. - The value. + 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. - + - Returns the indented JSON for this token. + Gets the with the specified key. - - The indented JSON for this token. - + The with the specified key. - + - Returns the JSON for this token using the given formatting and converters. + Gets or sets the at the specified index. - 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 . + Determines the index of a specific item in the . - The value. - The result of the conversion. + The object to locate in the . + + The index of if found in the list; otherwise, -1. + - + - Performs an explicit conversion from to . + Inserts an item to the at the specified index. - The value. - The result of the conversion. + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + - + - Performs an explicit conversion from to . + Removes the item at the specified index. - The value. - The result of the conversion. + The zero-based index of the item to remove. + + is not a valid index in the . + - + - Performs an explicit conversion from to . + Returns an enumerator that iterates through the collection. - The value. - The result of the conversion. + + A of that can be used to iterate through the collection. + - + - Performs an explicit conversion from to . + Adds an item to the . - The value. - The result of the conversion. + The object to add to the . - + - Performs an explicit conversion from to . + Removes all items from the . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Determines whether the contains a specific value. - The value. - The result of the conversion. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Performs an explicit conversion from to . + Copies the elements of the to an array, starting at a particular array index. - The value. - The result of the conversion. + The array. + Index of the array. - + - Performs an explicit conversion from to . + Gets a value indicating whether the is read-only. - The value. - The result of the conversion. + true if the is read-only; otherwise, false. - + - Performs an explicit conversion from to . + Removes the first occurrence of a specific object from the . - The value. - The result of the conversion. + 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 . + - + - Performs an explicit conversion from to . + Represents a JSON constructor. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Gets or sets the name of this constructor. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Gets the node type for this . - The value. - The result of the conversion. + The type. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class from another object. - The value. - The result of the conversion. + A object to copy from. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Writes this token to a . - The value. - The result of the conversion. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an explicit conversion from to . + Gets the with the specified key. - The value. - The result of the conversion. + The with the specified key. - + - Performs an explicit conversion from to . + Loads a from a . - The value. - The result of the conversion. + 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 . + + - Performs an explicit conversion from to . + Represents a token that can contain other tokens. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Occurs when the list changes or an item in the list changes. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Occurs before an item is added to the collection. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Raises the event. - The value. - The result of the conversion. + The instance containing the event data. - + - Performs an explicit conversion from to . + Raises the event. - The value. - The result of the conversion. + The instance containing the event data. - + - Performs an explicit conversion from to . + Gets a value indicating whether this token has child tokens. - The value. - The result of the conversion. + + true if this token has child values; otherwise, false. + - + - Performs an explicit conversion from to . + Get the first child token of this token. - The value. - The result of the conversion. + + A containing the first child token of the . + - + - Performs an explicit conversion from to . + Get the last child token of this token. - The value. - The result of the conversion. + + A containing the last child token of the . + - + - Performs an explicit conversion from to . + Returns a collection of the child tokens of this token, in document order. - The value. - The result of the conversion. + + An of containing the child tokens of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the child values of this token, in document order. - The value. - The result of the conversion. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the descendant tokens for this token in document order. - The value. - The result of the conversion. + An of containing the descendant tokens of the . - + - Performs an explicit conversion from to . + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - The value. - The result of the conversion. + An of containing this token, and all the descendant tokens of the . - + - Performs an implicit conversion from to . + Adds the specified content as children of this . - The value to create a from. - The initialized with the specified value. + The content to be added. - + - Performs an implicit conversion from to . + Adds the specified content as the first children of this . - The value to create a from. - The initialized with the specified value. + The content to be added. - + - Performs an implicit conversion from to . + Creates a that can be used to add tokens to the . - The value to create a from. - The initialized with the specified value. + A that is ready to have content written to it. - + - Performs an implicit conversion from to . + Replaces the child nodes of this token with the specified content. - The value to create a from. - The initialized with the specified value. + The content. - + - Performs an implicit conversion from to . + Removes the child nodes from this token. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Merge the specified content into this . - The value to create a from. - The initialized with the specified value. + The content to be merged. - + - Performs an implicit conversion from to . + Merge the specified content into this using . - The value to create a from. - The initialized with the specified value. + The content to be merged. + The used to merge the content. - + - Performs an implicit conversion from to . + Gets the count of child JSON tokens. - The value to create a from. - The initialized with the specified value. + The count of child JSON tokens. - + - Performs an implicit conversion from to . + Represents a collection of objects. - The value to create a from. - The initialized with the specified value. + The type of token. - + - Performs an implicit conversion from to . + An empty collection of objects. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the struct. - The value to create a from. - The initialized with the specified value. + The enumerable. - + - Performs an implicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value to create a from. - The initialized with the specified value. + + A that can be used to iterate through the collection. + - + - Performs an implicit conversion from to . + Gets the of with the specified key. - The value to create a from. - The initialized with the specified value. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Returns a hash code for this instance. - The value to create a from. - The initialized with the specified value. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Performs an implicit conversion from to . + Represents a JSON object. - The value to create a from. - The initialized with the specified value. + + + - + - Performs an implicit conversion from to . + Gets the container's children tokens. - The value to create a from. - The initialized with the specified value. + The container's children tokens. - + - Performs an implicit conversion from to . + Occurs when a property value changes. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class from another object. - The value to create a from. - The initialized with the specified value. + A object to copy from. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Gets the node type for this . - The value to create a from. - The initialized with the specified value. + The type. - + - Performs an implicit conversion from to . + Gets an of of this object's properties. - The value to create a from. - The initialized with the specified value. + An of of this object's properties. - + - Performs an implicit conversion from to . + Gets a with the specified name. - The value to create a from. - The initialized with the specified value. + The property name. + A with the specified name or null. - + - Performs an implicit conversion from to . + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. - The value to create a from. - The initialized with the specified value. + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. - + - Performs an implicit conversion from to . + Gets a of of this object's property values. - The value to create a from. - The initialized with the specified value. + A of of this object's property values. - + - Performs an implicit conversion from to . + Gets the with the specified key. - The value to create a from. - The initialized with the specified value. + The with the specified key. - + - Performs an implicit conversion from to . + Gets or sets the with the specified property name. - The value to create a from. - The initialized with the specified value. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Load a from a string that contains JSON. - The value to create a from. - The initialized with the specified value. + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + - + - Creates an for this token. + Load a from a string that contains JSON. - An that can be used to read this token and its descendants. + 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. + Creates a from an object. - The object that will be used to create . - A with the value of the specified object + The object that will be used to create . + A with the values of the specified object. - + - Creates a from an object using the specified . + Creates a from an object. - 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 + 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. - + - Creates the specified .NET type from the . + Writes this token to a . - The object type that the token will be deserialized to. - The new object created from the JSON value. + A into which this method will write. + A collection of which will be used when writing the token. - + - Creates the specified .NET type from the . + Gets the with the specified property name. - The object type that the token will be deserialized to. - The new object created from the JSON value. + Name of the property. + The with the specified property name. - + - Creates the specified .NET type from the using the specified . + 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. - 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. + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Creates the specified .NET type from the using the specified . + 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. - 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. + 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. - + - Creates a from a . + Adds the specified property name. - 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. - + Name of the property. + The value. - + - Load a from a string that contains JSON. + Determines whether the JSON object has the specified property name. - A that contains JSON. - A populated from the string that contains JSON. + Name of the property. + true if the JSON object has the specified property name; otherwise, false. - + - Creates a from a . + Removes the property with the specified name. - 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. - + Name of the property. + true if item was successfully removed; otherwise, false. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Tries to get the with the specified property name. - - A that contains a JPath expression. - - A , or null. + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Returns an enumerator that can be used to iterate through the collection. - - 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 . + + A that can be used to iterate through the collection. + - + - Selects a collection of elements using a JPath expression. + Raises the event with the provided arguments. - - A that contains a JPath expression. - - An that contains the selected elements. + Name of the property. - + - Selects a collection of elements using a JPath expression. + Represents a JSON property. - - 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. - + - Creates a new instance of the . All child tokens are recursively cloned. + Gets the container's children tokens. - A new instance of the . + The container's children tokens. - + - Gets a comparer that can compare two tokens for value equality. + Gets the property name. - A that can compare two nodes for value equality. + The property name. - + - Gets or sets the parent. + Gets or sets the property value. - The parent. + The property value. - + - Gets the root of this . + Initializes a new instance of the class from another object. - The root of this . + A object to copy from. - + Gets the node type for this . The type. - + - Gets a value indicating whether this token has child tokens. + Initializes a new instance of the class. - - true if this token has child values; otherwise, false. - + The property name. + The property content. - + - Gets the next sibling token of this node. + Initializes a new instance of the class. - The that contains the next sibling token. + The property name. + The property content. - + - Gets the previous sibling token of this node. + Writes this token to a . - The that contains the previous sibling token. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets the path of the JSON 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 . - + - Gets the with the specified key. + Loads a from a . - The with the specified key. + 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 . - + - Get the first child token of this token. + Represents a view of a . - A containing the first child token of the . - + - Get the last child token of this token. + Initializes a new instance of the class. - A containing the last child token of the . + The name. - + - Initializes a new instance of the class from another object. + When overridden in a derived class, returns whether resetting an object changes its value. - A object to copy from. + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. - + - Initializes a new instance of the class with the given value. + When overridden in a derived class, gets the current value of the property on a component. - The value. + + The value of a property for a given component. + + The component with the property for which to retrieve the value. - + - Initializes a new instance of the class with the given value. + When overridden in a derived class, resets the value for this property of the component to the default value. - The 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. + + - Initializes a new instance of the class with the given value. + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - The value. + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. - + - Initializes a new instance of the class with the given value. + When overridden in a derived class, gets the type of the component this property is bound to. - The value. + + 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. + - + - Initializes a new instance of the class with the given value. + When overridden in a derived class, gets a value indicating whether this property is read-only. - The value. + + true if the property is read-only; otherwise, false. + - + - Initializes a new instance of the class with the given value. + When overridden in a derived class, gets the type of the property. - The value. + + A that represents the type of the property. + - + - Initializes a new instance of the class with the given value. + Gets the hash code for the name of the member. - The value. + + + The hash code for the name of the member. + - + - Initializes a new instance of the class with the given value. + Represents a raw JSON string. - The value. - + - Initializes a new instance of the class with the given value. + Initializes a new instance of the class from another object. - The value. + A object to copy from. - + - Initializes a new instance of the class with the given value. + Initializes a new instance of the class. - The value. + The raw json. - + - Initializes a new instance of the class with the given value. + Creates an instance of with the content of the reader's current token. - The value. + The reader. + An instance of with the content of the reader's current token. - + - Initializes a new instance of the class with the given value. + Specifies the settings used when loading JSON. - The value. - + - Initializes a new instance of the class with the given value. + Initializes a new instance of the class. - The value. - + - Creates a comment with the given value. + Gets or sets how JSON comments are handled when loading JSON. + The default value is . - The value. - A comment with the given value. + The JSON comment handling. - + - Creates a string with the given value. + Gets or sets how JSON line info is handled when loading JSON. + The default value is . - The value. - A string with the given value. + The JSON line info handling. - + - Creates a null value. + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . - A null value. + The JSON duplicate property name handling. - + - Creates a null value. + Specifies the settings used when merging JSON. - A null value. - + - Writes this token to a . + Initializes a new instance of the class. - 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. + Gets or sets the method used when merging JSON arrays. - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. + The method used when merging JSON arrays. - + - Determines whether the specified is equal to the current . + Gets or sets how null value properties are merged. - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - + How null value properties are merged. - + - Serves as a hash function for a particular type. + Gets or sets the comparison used to match property names while merging. + 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. - - A hash code for the current . - + The comparison used to match property names while merging. - + - Returns a that represents this instance. + Represents an abstract JSON token. - - A that represents this instance. - - + - Returns a that represents this instance. + Gets a comparer that can compare two tokens for value equality. - The format. - - A that represents this instance. - + A that can compare two nodes for value equality. - + - Returns a that represents this instance. + Gets or sets the parent. - The format provider. - - A that represents this instance. - + The parent. - + - Returns a that represents this instance. + Gets the root of this . - The format. - The format provider. - - A that represents this instance. - + The root of this . - + - 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. + Gets the node type for this . - 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. - + The type. - + Gets a value indicating whether this token has child tokens. @@ -4145,4837 +5327,4808 @@ true if this token has child values; otherwise, false. - + - Gets the node type for this . + Compares the values of two tokens, including the values of all descendant tokens. - The type. + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. - + - Gets or sets the underlying token value. + Gets the next sibling token of this node. - The underlying token value. + The that contains the next sibling token. - + - Initializes a new instance of the class from another object. + Gets the previous sibling token of this node. - A object to copy from. + The that contains the previous sibling token. - + - Initializes a new instance of the class. + Gets the path of the JSON token. - The raw json. - + - Creates an instance of with the content of the reader's current token. + Adds the specified content immediately after this token. - The reader. - An instance of with the content of the reader's current token. + A content object that contains simple content or a collection of content objects to be added after this token. - + - Indicating whether a property is required. + 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. - + - The property is not required. The default state. + Returns a collection of the ancestor tokens of this token. + A collection of the ancestor tokens of this token. - + - The property must be defined in JSON but can be a null value. + 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. - + - The property must be defined in JSON and cannot be a null value. + 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. - + - Used to resolve references when serializing and deserializing JSON by the . + 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. - + - Resolves a reference to its object. + Gets the with the specified key. - The serialization context. - The reference to resolve. - The object that + The with the specified key. - + - Gets the reference for the sepecified object. + Gets the with the specified key converted to the specified type. - The serialization context. - The object to get a reference for. - The reference to the object. + The type to convert the token to. + The token key. + The converted token value. - + - Determines whether the specified object is referenced. + Get the first child token of this token. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + A containing the first child token of the . - + - Adds a reference to the specified object. + Get the last child token of this token. - The serialization context. - The reference. - The object to reference. + A containing the last child token of the . - + - 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. + Returns a collection of the child tokens of this token, in document order. - - - + An of containing the child tokens of this , in document order. - + - Do not preserve references when serializing types. + 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. - + - Preserve references when serializing into a JSON object structure. + 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. - + - Preserve references when serializing into a JSON array structure. + Removes this token from its parent. - + - Preserve references when serializing. + Replaces this token with the specified token. + The value. - + - Instructs the how to serialize the collection. + Writes this token to a . + A into which this method will write. + A collection of which will be used when writing the token. - + - Initializes a new instance of the class. + Returns the indented JSON for this token. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + The indented JSON for this token. + - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Returns the JSON for this token using the given formatting and converters. - A flag indicating whether the array can contain null items. + 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. - + - Initializes a new instance of the class with the specified container Id. + Performs an explicit conversion from to . - The container Id. + The value. + The result of the conversion. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Performs an explicit conversion from to of . - true if null items are allowed in the collection; otherwise, false. + The value. + The result of the conversion. - + - Specifies default value handling options for the . + Performs an explicit conversion from to of . - - - - + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Members with a default value but no JSON will be set to their default value when deserializing. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Instructs the to use the specified when serializing the member or class. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to . - Type of the converter. + The value. + The result of the conversion. - + - Gets the type of the converter. + Performs an explicit conversion from to . - The type of the converter. + The value. + The result of the conversion. - + - Instructs the how to serialize the object. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified member serialization. + Performs an explicit conversion from to . - The member serialization. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified container Id. + Performs an explicit conversion from to of . - The container Id. + The value. + The result of the conversion. - + - Gets or sets the member serialization. + Performs an explicit conversion from to of . - The member serialization. + The value. + The result of the conversion. - + - Gets or sets a value that indicates whether the object's properties are required. + Performs an explicit conversion from to of . - - A value indicating whether the object's properties are required. - + The value. + The result of the conversion. - + - Specifies the settings on a object. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Performs an explicit conversion from to of . - Reference loop handling. + The value. + The result of the conversion. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Performs an explicit conversion from to of . - Missing member handling. + The value. + The result of the conversion. - + - Gets or sets how objects are created during deserialization. + Performs an explicit conversion from to of . - The object creation handling. + The value. + The result of the conversion. - + - Gets or sets how null values are handled during serialization and deserialization. + Performs an explicit conversion from to . - Null value handling. + The value. + The result of the conversion. - + - Gets or sets how null default are handled during serialization and deserialization. + Performs an explicit conversion from to of . - The default value handling. + The value. + The result of the conversion. - + - Gets or sets a collection that will be used during serialization. + Performs an explicit conversion from to of . - The converters. + The value. + The result of the conversion. - + - Gets or sets how object references are preserved by the serializer. + Performs an explicit conversion from to . - The preserve references handling. + The value. + The result of the conversion. - + - Gets or sets how type name writing and reading is handled by the serializer. + Performs an explicit conversion from to . - The type name handling. + The value. + The result of the conversion. - + - Gets or sets how metadata properties are used during deserialization. + Performs an explicit conversion from to . - The metadata properties handling. + The value. + The result of the conversion. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Performs an explicit conversion from to . - The type name assembly format. + The value. + The result of the conversion. - + - Gets or sets how constructors are used during deserialization. + Performs an explicit conversion from to . - The constructor handling. + The value. + The result of the conversion. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Performs an explicit conversion from to []. - The contract resolver. + The value. + The result of the conversion. - + - Gets or sets the used by the serializer when resolving references. + Performs an explicit conversion from to . - The reference resolver. + The value. + The result of the conversion. - + - Gets or sets the used by the serializer when writing trace messages. + Performs an explicit conversion from to of . - The trace writer. + The value. + The result of the conversion. - + - Gets or sets the used by the serializer when resolving type names. + Performs an explicit conversion from to . - The binder. + The value. + The result of the conversion. - + - Gets or sets the error handler called during serialization and deserialization. + Performs an explicit conversion from to of . - The error handler called during serialization and deserialization. + The value. + The result of the conversion. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Performs an explicit conversion from to . - The context. + The value. + The result of the conversion. - + - Get or set how and values are formatting when writing JSON text. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Indicates how JSON text output is formatted. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how dates are written to JSON text. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how time zones are handling during serialization and deserialization. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how strings are escaped when writing JSON text. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the culture used when reading JSON. Defaults to . + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Performs an implicit conversion from to . - - true if there will be a check for additional content after deserializing an object; otherwise, false. - + The value to create a from. + The initialized with the specified value. - + - Represents a reader that provides validation. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class that - validates the content returned from the given . + Performs an implicit conversion from to . - The to read from while validating. + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream as a . + Performs an implicit conversion from of to . - A . + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream as a . + Performs an implicit conversion from to . - - A or a null reference if the next JSON token is null. - + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream as a . + Performs an implicit conversion from of to . - A . + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream as a . + Performs an implicit conversion from of to . - A . This method will return null at the end of an array. + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream as a . + Performs an implicit conversion from to . - A . This method will return null at the end of an array. + The value to create a from. + The initialized with the specified value. - + - Reads the next JSON token from the stream. + Performs an implicit conversion from of to . - - true if the next token was read successfully; false if there are no more tokens to read. - + The value to create a from. + The initialized with the specified value. - + - Sets an event handler for receiving schema validation errors. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets the text value of the current JSON token. + Performs an implicit conversion from of to . - + The value to create a from. + The initialized with the specified value. - + - Gets the depth of the current token in the JSON document. + Performs an implicit conversion from of to . - The depth of the current token in the JSON document. + The value to create a from. + The initialized with the specified value. - + - Gets the path of the current JSON token. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets the quotation mark character used to enclose the value of a string. + Performs an implicit conversion from to . - + The value to create a from. + The initialized with the specified value. - + - Gets the type of the current JSON token. + Performs an implicit conversion from to . - + The value to create a from. + The initialized with the specified value. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + Performs an implicit conversion from to . - + The value to create a from. + The initialized with the specified value. - + - Gets or sets the schema. + Performs an implicit conversion from to . - The schema. + The value to create a from. + The initialized with the specified value. - + - Gets the used to construct this . + Performs an implicit conversion from [] to . - The specified in the constructor. + The value to create a from. + The initialized with the specified value. - + - Compares tokens to determine whether they are equal. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Determines whether the specified objects are equal. + Performs an implicit conversion from to . - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - + The value to create a from. + The initialized with the specified value. - + - Returns a hash code for the specified object. + Performs an implicit conversion from of to . - 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 value to create a from. + The initialized with the specified value. - + - Specifies the member serialization options for the . + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . + Creates a for this token. + A that can be used to read this token and its descendants. - + - 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. + Creates a from an object. + The object that will be used to create . + A with the value of the specified object. - + - Specifies how object creation is handled by the . + 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. - + - Reuse existing objects, create new objects when needed. + 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. - + - Only reuse existing objects. + 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. - + - Always create new objects. + 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. - + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + 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. - + - Writes the JSON representation of the object. + Creates a from a . - The to write to. - The value. - The calling serializer. + 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. + - + - Reads the JSON representation of the object. + Creates a from a . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. + - + - Gets or sets the date time styles used when converting a date to and from JSON. + Load a from a string that contains JSON. - The date time styles used when converting a date to and from JSON. + A that contains JSON. + A populated from the string that contains JSON. - + - Gets or sets the date time format used when converting a date to and from JSON. + Load a from a string that contains JSON. - The date time format used when converting a date to and from 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. - + - Gets or sets the culture used when converting a date to and from JSON. + Creates a from a . - The culture used when converting a date to and from JSON. + 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. + - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + 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. + - + - Writes the JSON representation of the object. + Selects a using a JSONPath expression. Selects the token that matches the object path. - The to write to. - The value. - The calling serializer. + + A that contains a JSONPath expression. + + A , or null. - + - Reads the JSON representation of the object. + Selects a using a JSONPath expression. Selects the token that matches the object path. - 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. + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Converts XML to and from JSON. + Selects a collection of elements using a JSONPath expression. + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Writes the JSON representation of the object. + Selects a collection of elements using a JSONPath expression. - The to write to. - The calling serializer. - The value. + + A that contains a JSONPath 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. - + - Reads the JSON representation of the object. + Creates a new instance of the . All child tokens are recursively cloned. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + A new instance of the . - + - Checks if the attributeName is a namespace attribute. + Adds an object to the annotation list of this . - 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. + The annotation to add. - + - Determines whether this instance can convert the specified value type. + Get the first annotation object of the specified type from this . - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + 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 or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Gets the first annotation object of the specified type from this . - The name of the deserialize root element. + 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 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. + Gets a collection of annotations of the specified type for this . - true if the array attibute is written to the XML; otherwise, false. + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Gets or sets a value indicating whether to write the root JSON object. + Gets a collection of annotations of the specified type for this . - true if the JSON root object is omitted; otherwise, false. + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Removes the annotations of the specified type from this . + The type of annotations to remove. - + - Initializes a new instance of the class with the specified . + Removes the annotations of the specified type from this . - The TextReader containing the XML data to read. + The of annotations to remove. - + - Reads the next JSON token from the stream. + Compares tokens to determine whether they are equal. - - 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 . + Determines whether the specified objects are equal. + The first object of type to compare. + The second object of type to compare. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + true if the specified objects are equal; otherwise, false. - + - Reads the next JSON token from the stream as a . + Returns a hash code for the specified object. - A . This method will return null at the end of an array. + 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. - + - Reads the next JSON token from the stream as a . + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets the at the reader's current position. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. - + - Changes the state to closed. + Initializes a new instance of the class. + The token to read from. + The initial path of the token. It is prepended to the returned . - + - Gets a value indicating whether the class can return line information. + Reads the next JSON token from the underlying . - true if LineNumber and LinePosition can be provided; otherwise, false. + true if the next token was read successfully; false if there are no more tokens to read. - + - Gets the current line number. + Gets the path of the current JSON token. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - + - Gets the current line position. + Specifies the type of token. - - 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. + No token type has been set. - + - Initializes a new instance of the class. + A JSON object. - + - Initializes a new instance of the class with the specified name. + A JSON array. - Name of the property. - + - Gets or sets the converter used when serializing the property's collection items. + A JSON constructor. - The collection's items converter. - + - Gets or sets the null value handling used when serializing this property. + A JSON object property. - The null value handling. - + - Gets or sets the default value handling used when serializing this property. + A comment. - The default value handling. - + - Gets or sets the reference loop handling used when serializing this property. + An integer value. - The reference loop handling. - + - Gets or sets the object creation handling used when deserializing this property. + A float value. - The object creation handling. - + - Gets or sets the type name handling used when serializing this property. + A string value. - The type name handling. - + - Gets or sets whether this property's value is serialized as a reference. + A boolean value. - Whether this property's value is serialized as a reference. - + - Gets or sets the order of serialization and deserialization of a member. + A null value. - The numeric order of serialization or deserialization. - + - Gets or sets a value indicating whether this property is required. + An undefined value. - - A value indicating whether this property is required. - - + - Gets or sets the name of the property. + A date value. - The name of the property. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + A raw JSON value. - The collection's items reference loop handling. - + - Gets or sets the the type name handling used when serializing the property's collection items. + A collection of bytes value. - The collection's items type name handling. - + - Gets or sets whether this property's collection items are serialized as a reference. + A Guid value. - Whether this property's collection items are serialized as a reference. - + - Instructs the not to serialize the public field or public read/write property value. + A Uri value. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + A TimeSpan value. - + - Creates an instance of the JsonWriter class using the specified . + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The TextWriter to write to. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Gets the at the writer's current position. - + - Closes this stream and the underlying stream. + Gets the token being written. + The token being written. - + - Writes the beginning of a Json object. + Initializes a new instance of the class writing to the given . + The container being written to. - + - Writes the beginning of a Json array. + Initializes a new instance of the class. - + - Writes the start of a constructor with the given name. + Flushes whatever is in the buffer to the underlying . - The name of the constructor. - + - Writes the specified end token. + Closes this writer. + If is set to true, the JSON is auto-completed. - The end token to write. + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + - + - Writes the property name of a name/value pair on a Json object. + Writes the beginning of a JSON object. - The name of the property. - + - Writes the property name of a name/value pair on a JSON object. + Writes the beginning of a JSON array. - 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 start of a constructor with the given name. + The name of the constructor. - + - Writes the JSON value delimiter. + Writes the end. + The token. - + - Writes an indent space. + 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. + 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. + Writes a [] value. - The value to write. + 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. - - - - 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. - - - - - The exception thrown when an error occurs while reading Json text. - - - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Initializes a new instance of the class - with a specified error message. + Writes a value. - The error message that explains the reason for the exception. + The value to write. - + - 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. + Represents a value in JSON (string, integer, date, etc). - 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. + Initializes a new instance of the class from another object. - 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). + A object to copy from. - + - Gets the path to the JSON where the error occurred. + Initializes a new instance of the class with the given value. - The path to the JSON where the error occurred. + The value. - + - The exception thrown when an error occurs while reading Json text. + Initializes a new instance of the class with the given value. + The value. - + - Initializes a new instance of the class. + Initializes a new instance of the class with the given value. + The value. - + - Initializes a new instance of the class - with a specified error message. + Initializes a new instance of the class with the given value. - The error message that explains the reason for the exception. + The value. - + - 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. + Initializes a new instance of the class with the given value. - 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 value. - + - Initializes a new instance of the class. + Initializes a new instance of the class with the given value. - 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 value. - + - Gets the line number indicating where the error occurred. + Initializes a new instance of the class with the given value. - The line number indicating where the error occurred. + The value. - + - Gets the line position indicating where the error occurred. + Initializes a new instance of the class with the given value. - The line position indicating where the error occurred. + The value. - + - Gets the path to the JSON where the error occurred. + Initializes a new instance of the class with the given value. - The path to the JSON where the error occurred. + The value. - + - Represents a collection of . + Initializes a new instance of the class with the given value. + The value. - + - Provides methods for converting between common language runtime types and JSON types. + Initializes a new instance of the class with the given value. - - - + The value. - + - Represents JavaScript's boolean value true as a string. This field is read-only. + Initializes a new instance of the class with the given value. + The value. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + Initializes a new instance of the class with the given value. + The value. - + - Represents JavaScript's null as a string. This field is read-only. + Gets a value indicating whether this token has child tokens. + + true if this token has child values; otherwise, false. + - + - Represents JavaScript's undefined as a string. This field is read-only. + Creates a comment with the given value. + The value. + A comment with the given value. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + Creates a string with the given value. + The value. + A string with the given value. - + - Represents JavaScript's negative infinity as a string. This field is read-only. + Creates a null value. + A null value. - + - Represents JavaScript's NaN as a string. This field is read-only. + Creates a undefined value. + A undefined value. - + - Converts the to its JSON string representation. + Gets the node type for this . - The value to convert. - A JSON string representation of the . + The type. - + - Converts the to its JSON string representation using the specified. + Gets or sets the underlying token value. - 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 . + The underlying token value. - + - Converts the to its JSON string representation. + Writes this token to a . - The value to convert. - A JSON string representation of the . + A into which this method will write. + A collection of s which will be used when writing the token. - + - Converts the to its JSON string representation. + Indicates whether the current object is equal to another object of the same type. - The value to convert. - A JSON string representation of the . + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. - + - Converts the to its JSON string representation. + Determines whether the specified is equal to the current . - The value to convert. - A JSON string representation of the . + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Converts the to its JSON string representation. + Serves as a hash function for a particular type. - The value to convert. - A JSON string representation of the . + + A hash code for the current . + - + - Converts the to its JSON string representation. + Returns a that represents this instance. - The value to convert. - A JSON string representation of the . + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + A that represents this instance. + - + - Converts the to its JSON string representation. + Returns a that represents this instance. - The value to convert. - A JSON string representation of the . + The format. + + A that represents this instance. + - + - Converts the to its JSON string representation. + Returns a that represents this instance. - The value to convert. - A JSON string representation of the . + The format provider. + + A that represents this instance. + - + - Converts the to its JSON string representation. + Returns a that represents this instance. - The value to convert. - A JSON string representation of the . + The format. + The format provider. + + A that represents this instance. + - + - Converts the to its JSON string representation. + 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. - The value to convert. - A JSON string representation of the . + 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. + - + - Converts the to its JSON string representation. + Specifies how line information is handled when loading JSON. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Ignore line information. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Load line information. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Specifies how JSON arrays are merged together. - The value to convert. - A JSON string representation of the . - + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + - Converts the to its JSON string representation. + Specifies how null value properties are merged. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + The content's null value properties will be ignored during merging. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + The content's null value properties will be merged. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Specifies the member serialization options for the . - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . - The value to convert. - The string delimiter character. - A JSON string representation of the . - + - Converts the to its JSON string representation. + 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. - The value to convert. - A JSON string representation of the . - + - Serializes the specified object to a JSON string. + Specifies metadata property handling options for the . - The object to serialize. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using formatting. + Read metadata properties located at the start of a JSON object. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a collection of . + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - The object to serialize. - A collection 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 . + Do not try to read metadata properties. - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using . + Specifies missing member handling options for the . - 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 . + Ignore a missing member and do not attempt to deserialize it. - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using formatting and . + Throw a when a missing member is encountered during deserialization. - 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 JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a type, formatting and . + Specifies null value handling options for the . - 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. - - 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. - - - A JSON string representation of the object. - + + + + - + - Deserializes the JSON to a .NET object. + Include null values when serializing and deserializing objects. - The JSON to deserialize. - The deserialized object from the JSON string. - + - Deserializes the JSON to a .NET object using . + Ignore null values when serializing and deserializing objects. - 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. + Specifies how object creation is handled by the . - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - + - Deserializes the JSON to the specified .NET type. + Reuse existing objects, create new objects when needed. - 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. + Only reuse existing objects. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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 . + Always create new objects. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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 . + 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 . - 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 . + Do not preserve references when serializing types. - 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 . + Preserve references when serializing into a JSON object structure. - 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 . + Preserve references when serializing into a JSON array structure. - 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. + Preserve references when serializing. - The JSON to populate values from. - The target object to populate values onto. - + - Populates the object with values from the JSON string using . + Specifies reference loop handling options for the . - 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 XML node to a JSON string. + Throw a when a loop is encountered. - The node to serialize. - A JSON string of the XmlNode. - + - Serializes the XML node to a JSON string using formatting. + Ignore loop references and do not serialize. - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - + - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Serialize loop references. - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - + - Deserializes the XmlNode from a JSON string. + Indicating whether a property is required. - The JSON string. - The deserialized XmlNode - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + The property is not required. The default state. - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + The property must be defined in JSON but can be a null value. - 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 XmlNode - + - 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 - . + The property must be defined in JSON and cannot be a null value. - + - The exception thrown when an error occurs during Json serialization or deserialization. + The property is not required but it cannot be a null value. - + - Initializes a new instance of the class. + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Initializes a new instance of the class - with a specified error message. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The error message that explains the reason for the exception. + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + - + - 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. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - 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 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. + - + - Initializes a new instance of the class. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - 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 source to test. + The schema to test with. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + The source to test. + The schema to test with. + The validation event handler. - + - Initializes a new instance of the class. + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Creates a new instance. - The will not use default settings. + Gets or sets the id. - - A new instance. - The will not use default settings. - - + - Creates a new instance using the specified . - The will not use default settings. + Gets or sets the title. - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - + - Creates a new instance. - The will use default settings. + Gets or sets whether the object is required. - - A new instance. - The will use default settings. - - + - Creates a new instance using the specified . - The will use default settings. + Gets or sets whether the object is read-only. - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - + - Populates the JSON values onto the target object. + Gets or sets whether the object is visible to users. - 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. + Gets or sets whether the object is transient. - 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 . + Gets or sets the description of the object. - 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. + Gets or sets the types of values allowed by the object. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The type. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Gets or sets the pattern. - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + The pattern. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Gets or sets the minimum length. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The minimum length. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets or sets the maximum length. - The used to write the Json structure. - The to serialize. + The maximum length. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets or sets a number that the value should be divisible by. - 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. - + A number that the value should be divisible by. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets or sets the minimum. - 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. - + The minimum. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets or sets the maximum. - The used to write the Json structure. - The to serialize. + The maximum. - + - Occurs when the errors during serialization and deserialization. + 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 the used by the serializer when resolving references. + 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 used by the serializer when resolving type names. + Gets or sets the minimum number of items. + The minimum number of items. - + - Gets or sets the used by the serializer when writing trace messages. + Gets or sets the maximum number of items. - The trace writer. + The maximum number of items. - + - Gets or sets how type name writing and reading is handled by the serializer. + Gets or sets the of items. + The of items. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - The type name assembly format. + + true if items are validated using their array position; otherwise, false. + - + - Gets or sets how object references are preserved by the serializer. + Gets or sets the of additional items. + The of additional items. - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + Gets or sets a value indicating whether additional items are allowed. + + true if additional items are allowed; otherwise, false. + - + - 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 whether the array items must be unique. - + - Get or set how null values are handled during serialization and deserialization. + Gets or sets the of properties. + The of properties. - + - Get or set how null default are handled during serialization and deserialization. + Gets or sets the of additional properties. + The of additional properties. - + - Gets or sets how objects are created during deserialization. + Gets or sets the pattern properties. - The object creation handling. + The pattern properties. - + - Gets or sets how constructors are used during deserialization. + Gets or sets a value indicating whether additional properties are allowed. - The constructor handling. + + true if additional properties are allowed; otherwise, false. + - + - Gets or sets how metadata properties are used during deserialization. + Gets or sets the required property if this property is present. - The metadata properties handling. + The required property if this property is present. - + - Gets a collection that will be used during serialization. + Gets or sets the a collection of valid enum values allowed. - Collection that will be used during serialization. + A collection of valid enum values allowed. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Gets or sets disallowed types. + The disallowed types. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Gets or sets the default value. - The context. + The default value. - + - Indicates how JSON text output is formatted. + Gets or sets the collection of that this schema extends. + The collection of that this schema extends. - + - Get or set how dates are written to JSON text. + Gets or sets the format. + The format. - + - Get or set how time zones are handling during serialization and deserialization. + Initializes a new instance of the class. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Reads a from the specified . + The containing the JSON Schema to read. + The object representing the JSON Schema. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + 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. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + Load a from a string that contains JSON Schema. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - + - Get or set how strings are escaped when writing JSON text. + 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. - + - Get or set how and values are formatting when writing JSON text. + Writes this schema to a . + A into which this method will write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes this schema to a using the specified . + A into which this method will write. + The resolver used. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Returns a that represents the current . + + A that represents the current . + - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - + - Contains the LINQ to JSON extension methods. + Gets the line number indicating where the error occurred. + The line number indicating where the error occurred. - + - Returns a collection of tokens that contains the ancestors of every token in the source collection. + Gets the line position indicating where the error occurred. - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every node in the source collection. + The line position indicating where the error occurred. - + - Returns a collection of tokens that contains the descendants of every token in the source collection. + Gets the path to the JSON where the error occurred. - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every node in the source collection. + The path to the JSON where the error occurred. - + - Returns a collection of child properties of every object in the source collection. + Initializes a new instance of the class. - 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. + Initializes a new instance of the class + with a specified error message. - An of that contains the source collection. - The token key. - An of that contains the values of every node in the source collection with the given key. + The error message that explains the reason for the exception. - + - Returns a collection of child values of every object in the source collection. + 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. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + 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. - + - Returns a collection of converted child values of every object in the source collection with the given key. + Initializes a new instance of the class. - 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 node in the source collection with the given key. + 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). - + - Returns a collection of converted child values of every object in the source collection. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every node in the source collection. - + - Converts the value. + Gets or sets how undefined schemas are handled by the serializer. - The type to convert the value to. - A cast as a of . - A converted value. - + - Converts the value. + Gets or sets the contract resolver. - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. + The contract resolver. - + - Returns a collection of child tokens of every array in the source collection. + Generate a from the specified type. - The source collection type. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + The type to generate a from. + A generated from the specified type. - + - Returns a collection of converted child tokens of every array in the source collection. + Generate a from the specified type. - 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 node in the source collection. + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. - + - Returns the input typed as . + Generate a from the specified type. - An of that contains the source collection. - The input typed as . + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. - + - Returns the input typed as . + Generate a from the specified type. - The source collection type. - An of that contains the source collection. - The input typed as . + 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. - + - Represents a JSON constructor. + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Represents a token that can contain other tokens. + Gets or sets the loaded schemas. + The loaded schemas. - + - Raises the event. + Initializes a new instance of the class. - The instance containing the event data. - + - Raises the event. + Gets a for the specified reference. - The instance containing the event data. + The id. + A for the specified reference. - + - Returns a collection of the child tokens of this token, in document order. + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - An of containing the child tokens of this , in document order. - - + - Returns a collection of the child values of this token, in document order. + No type specified. - 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. + String type. - An containing the descendant tokens of the . - + - Adds the specified content as children of this . + Float type. - The content to be added. - + - Adds the specified content as the first children of this . + Integer type. - The content to be added. - + - Creates an that can be used to add tokens to the . + Boolean type. - An that is ready to have content written to it. - + - Replaces the children nodes of this token with the specified content. + Object type. - The content. - + - Removes the child nodes from this token. + Array type. - + - Merge the specified content into this . + Null type. - The content to be merged. - + - Merge the specified content into this using . + Any type. - The content to be merged. - The used to merge the content. - + - Occurs when the list changes or an item in the list changes. + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Occurs before an item is added to the collection. + Do not infer a schema Id. - + - Gets the container's children tokens. + Use the .NET type name as the schema Id. - The container's children tokens. - + - Gets a value indicating whether this token has child tokens. + Use the assembly qualified .NET type name as the schema Id. - - true if this token has child values; otherwise, false. - - + - Get the first child token of this token. + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - A containing the first child token of the . - - + - Get the last child token of this token. + Gets the associated with the validation error. - - A containing the last child token of the . - + The JsonSchemaException associated with the validation error. - + - Gets the count of child JSON tokens. + Gets the path of the JSON location where the validation error occurred. - The count of child JSON tokens + The path of the JSON location where the validation error occurred. - + - Initializes a new instance of the class. + Gets the text description corresponding to the validation error. + The text description. - + - Initializes a new instance of the class from another object. + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - A object to copy from. - + - Initializes a new instance of the class with the specified name and content. + A camel case naming strategy. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name and content. + Initializes a new instance of the class. - The constructor name. - The contents of the constructor. + + 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 with the specified name. + Initializes a new instance of the class. - The constructor name. + + 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. + - + - Writes this token to a . + Initializes a new instance of the class. - A into which this method will write. - A collection of which will be used when writing the token. - + - Loads an from a . + Resolves the specified property name. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The property name to resolve. + The resolved property name. - + - Gets the container's children tokens. + Resolves member mappings for a type, camel casing property names. - The container's children tokens. - + - Gets or sets the name of this constructor. + Initializes a new instance of the class. - The constructor name. - + - Gets the node type for this . + Resolves the contract for a given type. - The type. + The type to resolve a contract for. + The contract for a given type. - + - Gets the with the specified key. + Used by to resolve a for a given . - The with the specified key. - + - Represents a collection of objects. + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. - The type of token + + true if using dynamic code generation; otherwise, false. + - + - An empty collection of objects. + Gets or sets the default members search flags. + The default members search flags. - + - Initializes a new instance of the struct. + Gets or sets a value indicating whether compiler generated members should be serialized. - The enumerable. + + true if serialized compiler generated members; otherwise, false. + - + - Returns an enumerator that iterates through the collection. + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - A that can be used to iterate through the collection. - + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + - + - Returns an enumerator that iterates through a collection. + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - An object that can be used to iterate through the collection. - + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + - + - Determines whether the specified is equal to this instance. + Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + - + - Returns a hash code for this instance. + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + + true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. + - + - Gets the with the specified key. + 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. - + - Represents a JSON object. + Initializes a new instance of the class. - - - - + - 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. - + - Initializes a new instance of the class from another object. + Gets the serializable members for the type. - A object to copy from. + The type to get serializable members for. + The serializable members for the type. - + - Initializes a new instance of the class with the specified content. + Creates a for the given type. - The contents of the object. + Type of the object. + A for the given type. - + - Initializes a new instance of the class with the specified content. + Creates the constructor parameters. - The contents of the object. + The constructor to create properties for. + The type's member properties. + Properties for the given . - + - Gets an of this object's properties. + Creates a for the given . - An of this object's properties. + The matching member property. + The constructor parameter. + A created for the given . - + - Gets a the specified name. + Resolves the default for the contract. - The property name. - A with the specified name or null. + Type of the object. + The contract's default . - + - Gets an of this object's property values. + Creates a for the given type. - An of this object's property values. + Type of the object. + A for the given type. - + - Loads an from a . + Creates a for the given type. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + Type of the object. + A for the given type. - + - Load a from a string that contains JSON. + Creates a for the given type. - A that contains JSON. - A populated from the string that contains JSON. - - - + Type of the object. + A for the given type. - + - Creates a from an object. + Creates a for the given type. - The object that will be used to create . - A with the values of the specified object + Type of the object. + A for the given type. - + - Creates a from an object. + Creates a for the given type. - 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 + Type of the object. + A for the given type. - + - Writes this token to a . + Creates a for the given type. - A into which this method will write. - A collection of which will be used when writing the token. + Type of the object. + A for the given type. - + - Gets the with the specified property name. + Determines which contract type is created for the given type. - Name of the property. - The with the specified property name. + Type of the object. + A for the given type. - + - 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. + Creates properties for the given . - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . - + - 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. + Creates the used by the serializer to get and set values from a member. - 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. + The member. + The used by the serializer to get and set values from a member. - + - Adds the specified property name. + Creates a for the given . - Name of the property. - The value. + The member's parent . + The member to create a for. + A created for the given . - + - Removes the property with the specified name. + Resolves the name of the property. Name of the property. - true if item was successfully removed; otherwise, false. + Resolved name of the property. - + - Tries the get value. + Resolves the name of the extension data. By default no changes are made to extension data names. - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + Name of the extension data. + Resolved name of the extension data. - + - Returns an enumerator that iterates through the collection. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - A that can be used to iterate through the collection. - + Key of the dictionary. + Resolved key of the dictionary. - + - Raises the event with the provided arguments. + Gets the resolved name of the property. Name of the property. + Name of the property. - + - Returns the properties for this instance of a component. + The default naming strategy. Property names and dictionary keys are unchanged. - - 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. + Resolves the specified property name. - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - + The property name to resolve. + The resolved property name. - + - Returns a collection of custom attributes for this instance of a component. + The default serialization binder used when resolving and loading classes from type names. - - An containing the attributes for this object. - - + - Returns the class name of this instance of a component. + Initializes a new instance of the class. - - 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. + 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 name of the object, or null if the object does not have a name. + The type of the object the formatter creates a new instance of. - + - Returns a type converter for this instance of a component. + When overridden in a derived class, controls the binding of a serialized object to a type. - - A that is the converter for this object, or null if there is no for this object. - + 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. - + - Returns the default event for this instance of a component. + Represents a trace writer that writes to the application's instances. - - 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. + 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. - - A that represents the default property for this object, or null if this object does not have properties. - + + The that will be used to filter the trace messages passed to the writer. + - + - Returns an editor of the specified type for this instance of a component. + Writes the specified trace level, message and optional exception. - 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. - + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. - + - Returns the events for this instance of a component using the specified attribute array as a filter. + Get and set values for a using dynamic methods. - 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. + Initializes a new instance of the class. - - An that represents the events for this component instance. - + The member info. - + - Returns an object that contains the property described by the specified property descriptor. + Sets the value. - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - + The target to set the value on. + The value to set on the target. - + - Gets the container's children tokens. + Gets the value. - The container's children tokens. + The target to get the value from. + The value. - + - Occurs when a property value changes. + Provides information surrounding an error. - + - Gets the node type for this . + Gets the error. - The type. + The error. - + - Gets the with the specified key. + Gets the original object that caused the error. - The with the specified key. + The original object that caused the error. - + - Gets or sets the with the specified property name. + Gets the member that caused the error. - + The member that caused the error. - + - Represents a JSON array. + Gets the path of the JSON location where the error occurred. - - - + The path of the JSON location where the error occurred. - + - Initializes a new instance of the class. + Gets or sets a value indicating whether this is handled. + true if handled; otherwise, false. - + - Initializes a new instance of the class from another object. + Provides data for the Error event. - A object to copy from. - + - Initializes a new instance of the class with the specified content. + Gets the current object the error event is being raised against. - The contents of the array. + The current object the error event is being raised against. - + - Initializes a new instance of the class with the specified content. + Gets the error context. - The contents of the array. + The error context. - + - Loads an from a . + Initializes a new instance of the class. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The current object. + The error context. - + - Load a from a string that contains JSON. + Provides methods to get attributes. - A that contains JSON. - A populated from the string that contains JSON. - - - - + - Creates a from an object. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The object that will be used to create . - A with the values of the specified object + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Creates a from an object. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - 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 + 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. - + - Writes this token to a . + Used by to resolve a for a given . - A into which this method will write. - A collection of which will be used when writing the token. + + + + - + - Determines the index of a specific item in the . + Resolves the contract for a given type. - The object to locate in the . - - The index of if found in the list; otherwise, -1. - + The type to resolve a contract for. + The contract for a given type. - + - Inserts an item to the at the specified index. + Used to resolve references when serializing and deserializing JSON by the . - 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. + Resolves a reference to its object. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + The serialization context. + The reference to resolve. + The object that was resolved from the reference. - + - Returns an enumerator that iterates through the collection. + Gets the reference for the specified object. - - A that can be used to iterate through the collection. - + The serialization context. + The object to get a reference for. + The reference to the object. - + - Adds an item to the . + Determines whether the specified object is referenced. - The object to add to the . - The is read-only. + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + - + - Removes all items from the . + Adds a reference to the specified object. - The is read-only. + The serialization context. + The reference. + The object to reference. - + - Determines whether the contains a specific value. + Allows users to control class loading and mandate what class to load. - The object to locate in the . - - true if is found in the ; otherwise, false. - - + - Copies to. + When implemented, controls the binding of a serialized object to a type. - The array. - Index of the array. + 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. - + - Removes the first occurrence of a specific object from the . + When implemented, controls the binding of a serialized object to a type. - 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. + 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. - + - Gets the container's children tokens. + Represents a trace writer. - The container's children tokens. - + - Gets the node type for this . + 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 type. + The that will be used to filter the trace messages passed to the writer. - + - Gets the with the specified key. + Writes the specified trace level, message and optional exception. - The with the specified key. + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. - + - Gets or sets the at the specified index. + Provides methods to get and set values. - - + - Gets a value indicating whether the is read-only. + Sets the value. - true if the is read-only; otherwise, false. + The target to set the value on. + The value to set on the target. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Gets the value. + The target to get the value from. + The value. - + - Initializes a new instance of the class. + Contract details for a used by the . - The token to read from. - + - Reads the next JSON token from the stream as a . + Gets the of the collection items. - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The of the collection items. - + - Reads the next JSON token from the stream as a . + Gets a value indicating whether the collection type is a multidimensional array. - A . This method will return null at the end of an array. + true if the collection type is a multidimensional array; otherwise, false. - + - Reads the next JSON token from the stream as a . + Gets or sets the function used to create the object. When set this function will override . - A . This method will return null at the end of an array. + The function used to create the object. - + - Reads the next JSON token from the stream as a . + Gets a value indicating whether the creator has a parameter with the collection values. - A . This method will return null at the end of an array. + true if the creator has a parameter with the collection values; otherwise, false. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The underlying type for the contract. - + - Reads the next JSON token from the stream. + Contract details for a used by the . - - 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. + Gets or sets the default collection items . + The converter. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Gets or sets a value indicating whether the collection items preserve object references. + true if collection items preserve object references; otherwise, false. - + - Initializes a new instance of the class writing to the given . + Gets or sets the collection item reference loop handling. - The container being written to. + The reference loop handling. - + - Initializes a new instance of the class. + Gets or sets the collection item type name handling. + The type name handling. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Initializes a new instance of the class. + The underlying type for the contract. - + - Closes this stream and the underlying stream. + Handles serialization callback events. + The object that raised the callback event. + The streaming context. - + - Writes the beginning of a Json object. + Handles serialization error callback events. + The object that raised the callback event. + The streaming context. + The error context. - + - Writes the beginning of a Json array. + Sets extension data for an object during deserialization. + The object to set extension data on. + The extension data key. + The extension data value. - + - Writes the start of a constructor with the given name. + Gets extension data for an object during serialization. - The name of the constructor. + The object to set extension data on. - + - Writes the end. + Contract details for a used by the . - The token. - + - Writes the property name of a name/value pair on a Json object. + Gets the underlying type for the contract. - The name of the property. + The underlying type for the contract. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets or sets the type created during deserialization. - The value to write. + The type created during deserialization. - + - Writes a null value. + Gets or sets whether this type contract is serialized as a reference. + Whether this type contract is serialized as a reference. - + - Writes an undefined value. + Gets or sets the default for this contract. + The converter. - + - Writes raw JSON. + Gets the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this converter. - The raw JSON to write. - + - Writes out a comment /*...*/ containing the specified text. + Gets or sets all methods called immediately after deserialization of the object. - Text to place inside the comment. + The methods called immediately after deserialization of the object. - + - Writes a value. + Gets or sets all methods called during deserialization of the object. - The value to write. + The methods called during deserialization of the object. - + - Writes a value. + Gets or sets all methods called after serialization of the object graph. - The value to write. + The methods called after serialization of the object graph. - + - Writes a value. + Gets or sets all methods called before serialization of the object. - The value to write. + The methods called before serialization of the object. - + - Writes a value. + Gets or sets all method called when an error is thrown during the serialization of the object. - The value to write. + The methods called when an error is thrown during the serialization of the object. - + - Writes a value. + Gets or sets the default creator method used to create the object. - The value to write. + The default creator method used to create the object. - + - Writes a value. + Gets or sets a value indicating whether the default creator is non-public. - The value to write. + true if the default object creator is non-public; otherwise, false. - + - Writes a value. + Contract details for a used by the . - The value to write. - + - Writes a value. + Gets or sets the dictionary key resolver. - The value to write. + The dictionary key resolver. - + - Writes a value. + Gets the of the dictionary keys. - The value to write. + The of the dictionary keys. - + - Writes a value. + Gets the of the dictionary values. - The value to write. + The of the dictionary values. - + - Writes a value. + Gets or sets the function used to create the object. When set this function will override . - The value to write. + The function used to create the object. - + - Writes a value. + Gets a value indicating whether the creator has a parameter with the dictionary values. - The value to write. + true if the creator has a parameter with the dictionary values; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The underlying type for the contract. - + - Writes a value. + Contract details for a used by the . - The value to write. - + - Writes a value. + Gets or sets the object constructor. - The value to write. + The object constructor. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The underlying type for the contract. - + - Writes a value. + Contract details for a used by the . - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The underlying type for the contract. - + - Writes a value. + Contract details for a used by the . - The value to write. - + - Gets the token being writen. + Gets or sets the object member serialization. - The token being writen. + The member object serialization. - + - Represents a JSON property. + Gets or sets the missing member handling used when deserializing this object. + The missing member handling. - + - Initializes a new instance of the class from another object. + Gets or sets a value that indicates whether the object's properties are required. - A object to copy from. + + A value indicating whether the object's properties are required. + - + - Initializes a new instance of the class. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - The property name. - The property content. + How the object's properties with null values are handled during serialization and deserialization. - + - Initializes a new instance of the class. + Gets the object's properties. - The property name. - The property content. + The object's properties. - + - Writes this token to a . + Gets a collection of instances that define the parameters used with . - A into which this method will write. - A collection of which will be used when writing the token. - + - Loads an from a . + 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. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The function used to create the object. - + - Gets the container's children tokens. + Gets or sets the extension data setter. - The container's children tokens. - + - Gets the property name. + Gets or sets the extension data getter. - The property name. - + - Gets or sets the property value. + Gets or sets the extension data value type. - The property value. - + - Gets the node type for this . + Gets or sets the extension data name resolver. - The type. + The extension data name resolver. - + - Specifies the type of token. + Initializes a new instance of the class. + The underlying type for the contract. - + - No token type has been set. + Contract details for a used by the . - + - A JSON object. + Initializes a new instance of the class. + The underlying type for the contract. - + - A JSON array. + Maps a JSON property to a .NET member or constructor parameter. - + - A JSON constructor. + Gets or sets the name of the property. + The name of the property. - + - A JSON object property. + Gets or sets the type that declared this property. + The type that declared this property. - + - A comment. + Gets or sets the order of serialization of a member. + The numeric order of serialization. - + - An integer value. + Gets or sets the name of the underlying member or parameter. + The name of the underlying member or parameter. - + - A float value. + Gets the that will get and set the during serialization. + The that will get and set the during serialization. - + - A string value. + Gets or sets the for this property. + The for this property. - + - A boolean value. + Gets or sets the type of the property. + The type of the property. - + - A null value. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + The converter. - + - An undefined value. + Gets or sets the member converter. + The member converter. - + - A date value. + Gets or sets a value indicating whether this is ignored. + true if ignored; otherwise, false. - + - A raw JSON value. + Gets or sets a value indicating whether this is readable. + true if readable; otherwise, false. - + - A collection of bytes value. + Gets or sets a value indicating whether this is writable. + true if writable; otherwise, false. - + - A Guid value. + Gets or sets a value indicating whether this has a member attribute. + true if has a member attribute; otherwise, false. - + - A Uri value. + Gets the default value. + The default value. - + - A TimeSpan value. + Gets or sets a value indicating whether this is required. + A value indicating whether this is required. - + - Contains the JSON schema extension methods. + Gets a value indicating whether has a value specified. - + - Determines whether the is valid. + Gets or sets a value indicating whether this property preserves object references. - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - + + true if this instance is reference; otherwise, false. + - + - Determines whether the is valid. + Gets or sets the property null value 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. - + The null value handling. - + - Validates the specified . + Gets or sets the property default value handling. - The source to test. - The schema to test with. + The default value handling. - + - Validates the specified . + Gets or sets the property reference loop handling. - The source to test. - The schema to test with. - The validation event handler. + The reference loop handling. - + - Returns detailed information about the schema exception. + Gets or sets the property object creation handling. + The object creation handling. - + - Initializes a new instance of the class. + Gets or sets or sets the type name handling. + The type name handling. - + - Initializes a new instance of the class - with a specified error message. + Gets or sets a predicate used to determine whether the property should be serialized. - The error message that explains the reason for the exception. + A predicate used to determine whether the property should be serialized. - + - 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 a predicate used to determine whether the property should be deserialized. - 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. + A predicate used to determine whether the property should be deserialized. - + - Initializes a new instance of the class. + Gets or sets a predicate used to determine whether the property should be serialized. - 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). + A predicate used to determine whether the property should be serialized. - + - Gets the line number indicating where the error occurred. + Gets or sets an action used to set whether the property has been deserialized. - The line number indicating where the error occurred. + An action used to set whether the property has been deserialized. - + - Gets the line position indicating where the error occurred. + Returns a that represents this instance. - The line position indicating where the error occurred. + + A that represents this instance. + - + - Gets the path to the JSON where the error occurred. + Gets or sets the converter used when serializing the property's collection items. - The path to the JSON where the error occurred. + The collection's items converter. - + - Resolves from an id. + 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. + Gets or sets the type name handling used when serializing the property's collection items. + The collection's items type name handling. - + - Gets a for the specified reference. + Gets or sets the reference loop handling used when serializing the property's collection items. - The id. - A for the specified reference. + The collection's items reference loop handling. - + - Gets or sets the loaded schemas. + A collection of objects. - The loaded schemas. - + - Specifies undefined schema Id handling options for the . + Initializes a new instance of the class. + The type. - + - Do not infer a schema Id. + 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. - + - Use the .NET type name as the schema Id. + Adds a object. + The property to add to the collection. - + - Use the assembly qualified .NET type name as the schema Id. + 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. - + - Returns detailed information related to the . + Gets a property by property name. + The name of the property to get. + Type property name string comparison. + A matching property if found. - + - Gets the associated with the validation error. + Contract details for a used by the . - The JsonSchemaException associated with the validation error. - + - Gets the path of the JSON location where the validation error occurred. + Initializes a new instance of the class. - The path of the JSON location where the validation error occurred. + The underlying type for the contract. - + - Gets the text description corresponding to the validation error. + Lookup and create an instance of the type described by the argument. - The text description. + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. - + - Represents the callback method that will handle JSON schema validation events and the . + A kebab case naming strategy. - + - Resolves member mappings for a type, camel casing property names. + 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 . + - + - Used by to resolves a for a given . + 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. + - + - Used by to resolves a for a given . + Initializes a new instance of the class. - - - - - + - Resolves the contract for a given type. + Resolves the specified property name. - The type to resolve a contract for. - The contract for a given type. + The property name to resolve. + The resolved property name. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class. + 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - + + The that will be used to filter the trace messages passed to the writer. + - + - Resolves the contract for a given type. + Initializes a new instance of the class. - The type to resolve a contract for. - The contract for a given type. - + - Gets the serializable members for the type. + Writes the specified trace level, message and optional exception. - The type to get serializable members for. - The serializable members for the type. + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. - + - Creates a for the given type. + Returns an enumeration of the most recent trace messages. - Type of the object. - A for the given type. + An enumeration of the most recent trace messages. - + - Creates the constructor parameters. + Returns a of the most recent trace messages. - The constructor to create properties for. - The type's member properties. - Properties for the given . + + A of the most recent trace messages. + - + - Creates a for the given . + A base class for resolving how property names and dictionary keys are serialized. - The matching member property. - The constructor parameter. - A created for the given . - + - Resolves the default for the contract. + A flag indicating whether dictionary keys should be processed. + Defaults to false. - Type of the object. - The contract's default . - + - Creates a for the given type. + A flag indicating whether extension data names should be processed. + Defaults to false. - Type of the object. - A for the given type. - + - Creates a for the given type. + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. - Type of the object. - A for the given type. - + - Creates a for the given type. + Gets the serialized name for a given property name. - Type of the object. - A for the given type. + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. - + - Creates a for the given type. + Gets the serialized name for a given extension data name. - Type of the object. - A for the given type. + The initial extension data name. + The serialized extension data name. - + - Creates a for the given type. + Gets the serialized key for a given dictionary key. - Type of the object. - A for the given type. + The initial dictionary key. + The serialized dictionary key. - + - Creates a for the given type. + Resolves the specified property name. - Type of the object. - A for the given type. + The property name to resolve. + The resolved property name. - + - Determines which contract type is created for the given type. + Hash code calculation - Type of the object. - A for the given type. + - + - Creates properties for the given . + Object equality implementation - 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. + Compare to another NamingStrategy - The member. - The used by the serializer to get and set values from a member. + + - + - Creates a for the given . + Represents a method that constructs an object. - The member's parent . - The member to create a for. - A created for the given . + The object type to create. - + - Resolves the name of the property. + When applied to a method, specifies that the method is called when an error occurs serializing an object. - Name of the property. - Name of the property. - + - Gets the resolved name of the property. + Provides methods to get attributes from a , , or . - Name of the property. - Name of the property. - + - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. + Initializes a new instance of the class. - - true if using dynamic code generation; otherwise, false. - + The instance to get attributes for. This parameter should be a , , or . - + - Gets or sets the default members search flags. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The default members search flags. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - true if serialized compiler generated members; otherwise, false. - + 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. - + - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + Get and set values for a using reflection. - - 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. + Initializes a new instance of the class. - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - + The member info. - + - Initializes a new instance of the class. + Sets the value. + The target to set the value on. + The value to set on the target. - + - Resolves the name of the property. + Gets the value. - Name of the property. - The property name camel cased. + The target to get the value from. + The value. - + - The default serialization binder used when resolving and loading classes from type names. + A snake case naming strategy. - + - When overridden in a derived class, controls the binding of a serialized object to a type. + Initializes a new instance of the class. - 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. - + + 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 . + - + - Get and set values for a using dynamic methods. + 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. + - + - Provides methods to get and set values. + Initializes a new instance of the class. - + - Sets the value. + Resolves the specified property name. - The target to set the value on. - The value to set on the target. + The property name to resolve. + The resolved property name. - + - Gets the value. - - The target to get the value from. - The value. + Specifies how strings are escaped when writing JSON text. + - + - Initializes a new instance of the class. + Only control characters (e.g. newline) are escaped. - The member info. - + - Sets the value. + All non-ASCII and control characters (e.g. newline) are escaped. - The target to set the value on. - The value to set on the target. - + - Gets the value. + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - The target to get the value from. - The value. - + - Provides information surrounding an error. + Indicates the method that will be used during deserialization for locating and loading assemblies. - + - Gets the error. + 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. - The error. - + - Gets the original object that caused the error. + 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. - The original object that caused the error. - + - Gets the member that caused the error. + Specifies type name handling options for the . - The member that caused the error. + + 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 the path of the JSON location where the error occurred. + Do not include the .NET type name when serializing types. - The path of the JSON location where the error occurred. - + - Gets or sets a value indicating whether this is handled. + Include the .NET type name when serializing into a JSON object structure. - true if handled; otherwise, false. - + - Provides data for the Error event. + Include the .NET type name when serializing into a JSON array structure. - + - Initializes a new instance of the class. + Always include the .NET type name when serializing. - The current object. - The error context. - + - Gets the current object the error event is being raised against. + 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 . - The current object the error event is being raised against. - + - Gets the error context. + Determines whether the collection is null or empty. - The error context. + The collection. + + true if the collection is null or empty; otherwise, false. + - + - Contract details for a used by the . + Adds the elements of the specified collection to the specified generic . + The list to add to. + The collection of elements to add. - + - Initializes a new instance of the class. + 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 underlying type for the contract. + 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 the of the collection items. + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - The of the collection items. - + - Gets a value indicating whether the collection type is a multidimensional array. + Provides a set of static (Shared in Visual Basic) methods for + querying objects that implement . - true if the collection type is a multidimensional array; otherwise, false. - + - Handles serialization callback events. + Returns the input typed as . - The object that raised the callback event. - The streaming context. - + - Handles serialization error callback events. + Returns an empty that has the + specified type argument. - The object that raised the callback event. - The streaming context. - The error context. - + - Sets extension data for an object during deserialization. + Converts the elements of an to the + specified type. - The object to set extension data on. - The extension data key. - The extension data value. - + - Gets extension data for an object during serialization. + Filters the elements of an based on a specified type. - The object to set extension data on. - + - Contract details for a used by the . + Generates a sequence of integral numbers within a specified range. + The value of the first integer in the sequence. + The number of sequential integers to generate. - + - Initializes a new instance of the class. + Generates a sequence that contains one repeated value. - The underlying type for the contract. - + - Gets or sets the property name resolver. + Filters a sequence of values based on a predicate. - The property name resolver. - + - Gets the of the dictionary keys. + Filters a sequence of values based on a predicate. + Each element's index is used in the logic of the predicate function. - The of the dictionary keys. - + - Gets the of the dictionary values. + Projects each element of a sequence into a new form. - The of the dictionary values. - + - Contract details for a used by the . + Projects each element of a sequence into a new form by + incorporating the element's index. - + - Initializes a new instance of the class. + Projects each element of a sequence to an + and flattens the resulting sequences into one sequence. - The underlying type for the contract. - + - Gets or sets the ISerializable object constructor. + Projects each element of a sequence to an , + and flattens the resulting sequences into one sequence. The + index of each source element is used in the projected form of + that element. - The ISerializable object constructor. - + - Contract details for a used by the . + Projects each element of a sequence to an , + flattens the resulting sequences into one sequence, and invokes + a result selector function on each element therein. - + - Initializes a new instance of the class. + Projects each element of a sequence to an , + flattens the resulting sequences into one sequence, and invokes + a result selector function on each element therein. The index of + each source element is used in the intermediate projected form + of that element. - The underlying type for the contract. - + - Contract details for a used by the . + Returns elements from a sequence as long as a specified condition is true. - + - Initializes a new instance of the class. + Returns elements from a sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. - The underlying type for the contract. - + - Maps a JSON property to a .NET member or constructor parameter. + Base implementation of First operator. - + - Returns a that represents this instance. + Returns the first element of a sequence. - - A that represents this instance. - - + - Gets or sets the name of the property. + Returns the first element in a sequence that satisfies a specified condition. - The name of the property. - + - Gets or sets the type that declared this property. + Returns the first element of a sequence, or a default value if + the sequence contains no elements. - The type that declared this property. - + - Gets or sets the order of serialization and deserialization of a member. + Returns the first element of the sequence that satisfies a + condition or a default value if no such element is found. - The numeric order of serialization or deserialization. - + - Gets or sets the name of the underlying member or parameter. + Base implementation of Last operator. - The name of the underlying member or parameter. - + - Gets the that will get and set the during serialization. + Returns the last element of a sequence. - The that will get and set the during serialization. - + - Gets or sets the type of the property. + Returns the last element of a sequence that satisfies a + specified condition. - 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. + Returns the last element of a sequence, or a default value if + the sequence contains no elements. - The converter. - + - Gets or sets the member converter. + Returns the last element of a sequence that satisfies a + condition or a default value if no such element is found. - The member converter. - + - Gets or sets a value indicating whether this is ignored. + Base implementation of Single operator. - true if ignored; otherwise, false. - + - Gets or sets a value indicating whether this is readable. + Returns the only element of a sequence, and throws an exception + if there is not exactly one element in the sequence. - true if readable; otherwise, false. - + - Gets or sets a value indicating whether this is writable. + Returns the only element of a sequence that satisfies a + specified condition, and throws an exception if more than one + such element exists. - true if writable; otherwise, false. - + - Gets or sets a value indicating whether this has a member attribute. + Returns the only element of a sequence, or a default value if + the sequence is empty; this method throws an exception if there + is more than one element in the sequence. - true if has a member attribute; otherwise, false. - + - Gets the default value. + Returns the only element of a sequence that satisfies a + specified condition or a default value if no such element + exists; this method throws an exception if more than one element + satisfies the condition. - The default value. - + - Gets or sets a value indicating whether this is required. + Returns the element at a specified index in a sequence. - A value indicating whether this is required. - + - Gets or sets a value indicating whether this property preserves object references. + Returns the element at a specified index in a sequence or a + default value if the index is out of range. - - true if this instance is reference; otherwise, false. - - + - Gets or sets the property null value handling. + Inverts the order of the elements in a sequence. - The null value handling. - + - Gets or sets the property default value handling. + Returns a specified number of contiguous elements from the start + of a sequence. - The default value handling. - + - Gets or sets the property reference loop handling. + Bypasses a specified number of elements in a sequence and then + returns the remaining elements. - The reference loop handling. - + - Gets or sets the property object creation handling. + Bypasses elements in a sequence as long as a specified condition + is true and then returns the remaining elements. - The object creation handling. - + - Gets or sets or sets the type name handling. + Bypasses elements in a sequence as long as a specified condition + is true and then returns the remaining elements. The element's + index is used in the logic of the predicate function. - The type name handling. - + - Gets or sets a predicate used to determine whether the property should be serialize. + Returns the number of elements in a sequence. - 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. + Returns a number that represents how many elements in the + specified sequence satisfy a condition. - 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. + Returns a that represents the total number + of elements in a sequence. - An action used to set whether the property has been deserialized. - + - Gets or sets the converter used when serializing the property's collection items. + Returns a that represents how many elements + in a sequence satisfy a condition. - The collection's items converter. - + - Gets or sets whether this property's collection items are serialized as a reference. + Concatenates two sequences. - 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. + Creates a from an . - The collection's items type name handling. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Creates an array from an . - The collection's items reference loop handling. - + - A collection of objects. + Returns distinct elements from a sequence by using the default + equality comparer to compare values. - + - Initializes a new instance of the class. + Returns distinct elements from a sequence by using a specified + to compare values. - The type. - + - When implemented in a derived class, extracts the key from the specified element. + Creates a from an + according to a specified key + selector function. - The element from which to extract the key. - The key for the specified element. - + - Adds a object. + Creates a from an + according to a specified key + selector function and a key comparer. - 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. + Creates a from an + according to specified key + and element selector functions. - Name of the property. - A matching property if found. - + - Gets a property by property name. + Creates a from an + according to a specified key + selector function, a comparer and an element selector function. - The name of the property to get. - Type property name string comparison. - A matching property if found. - + - Specifies missing member handling options for the . + Groups the elements of a sequence according to a specified key + selector function. - + - Ignore a missing member and do not attempt to deserialize it. + Groups the elements of a sequence according to a specified key + selector function and compares the keys by using a specified + comparer. - + - Throw a when a missing member is encountered during deserialization. + Groups the elements of a sequence according to a specified key + selector function and projects the elements for each group by + using a specified function. - + - Specifies null value handling options for the . + Groups the elements of a sequence according to a specified key + selector function and creates a result value from each group and + its key. - - - - - + - Include null values when serializing and deserializing objects. + Groups the elements of a sequence according to a key selector + function. The keys are compared by using a comparer and each + group's elements are projected by using a specified function. - + - Ignore null values when serializing and deserializing objects. + Groups the elements of a sequence according to a specified key + selector function and creates a result value from each group and + its key. The elements of each group are projected by using a + specified function. - + - Specifies reference loop handling options for the . + Groups the elements of a sequence according to a specified key + selector function and creates a result value from each group and + its key. The keys are compared by using a specified comparer. - + - Throw a when a loop is encountered. + Groups the elements of a sequence according to a specified key + selector function and creates a result value from each group and + its key. Key values are compared by using a specified comparer, + and the elements of each group are projected by using a + specified function. - + - Ignore loop references and do not serialize. + Applies an accumulator function over a sequence. - + - Serialize loop references. + Applies an accumulator function over a sequence. The specified + seed value is used as the initial accumulator value. - + - An in-memory representation of a JSON Schema. + Applies an accumulator function over a sequence. The specified + seed value is used as the initial accumulator value, and the + specified function is used to select the result value. - + - Initializes a new instance of the class. + Produces the set union of two sequences by using the default + equality comparer. - + - Reads a from the specified . + Produces the set union of two sequences by using a specified + . - The containing the JSON Schema to read. - The object representing the JSON Schema. - + - Reads a from the specified . + Returns the elements of the specified sequence or the type + parameter's default value in a singleton collection if the + sequence is empty. - 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. + Returns the elements of the specified sequence or the specified + value in a singleton collection if the sequence is empty. - A that contains JSON. - A populated from the string that contains JSON. - + - Parses the specified json. + Determines whether all elements of a sequence satisfy a condition. - The json. - The resolver. - A populated from the string that contains JSON. - + - Writes this schema to a . + Determines whether a sequence contains any elements. - A into which this method will write. - + - Writes this schema to a using the specified . + Determines whether any element of a sequence satisfies a + condition. - A into which this method will write. - The resolver used. - + - Returns a that represents the current . + Determines whether a sequence contains a specified element by + using the default equality comparer. - - A that represents the current . - - + - Gets or sets the id. + Determines whether a sequence contains a specified element by + using a specified . - + - Gets or sets the title. + Determines whether two sequences are equal by comparing the + elements by using the default equality comparer for their type. - + - Gets or sets whether the object is required. + Determines whether two sequences are equal by comparing their + elements by using a specified . - + - Gets or sets whether the object is read only. + Base implementation for Min/Max operator. - + - Gets or sets whether the object is visible to users. + Base implementation for Min/Max operator for nullable types. - + - Gets or sets whether the object is transient. + Returns the minimum value in a generic sequence. - + - Gets or sets the description of the object. + Invokes a transform function on each element of a generic + sequence and returns the minimum resulting value. - + - Gets or sets the types of values allowed by the object. + Returns the maximum value in a generic sequence. - The type. - + - Gets or sets the pattern. + Invokes a transform function on each element of a generic + sequence and returns the maximum resulting value. - The pattern. - + - Gets or sets the minimum length. + Makes an enumerator seen as enumerable once more. - The minimum length. + + The supplied enumerator must have been started. The first element + returned is the element the enumerator was on when passed in. + DO NOT use this method if the caller must be a generator. It is + mostly safe among aggregate operations. + - + - Gets or sets the maximum length. + Sorts the elements of a sequence in ascending order according to a key. - The maximum length. - + - Gets or sets a number that the value should be divisble by. + Sorts the elements of a sequence in ascending order by using a + specified comparer. - A number that the value should be divisble by. - + - Gets or sets the minimum. + Sorts the elements of a sequence in descending order according to a key. - The minimum. - + - Gets or sets the maximum. + Sorts the elements of a sequence in descending order by using a + specified comparer. - The maximum. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Performs a subsequent ordering of the elements in a sequence in + ascending order according to a key. - 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. + Performs a subsequent ordering of the elements in a sequence in + ascending order by using a specified comparer. - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - + - Gets or sets the minimum number of items. + Performs a subsequent ordering of the elements in a sequence in + descending order, according to a key. - The minimum number of items. - + - Gets or sets the maximum number of items. + Performs a subsequent ordering of the elements in a sequence in + descending order by using a specified comparer. - The maximum number of items. - + - Gets or sets the of items. + Base implementation for Intersect and Except operators. - The of items. - + - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + Produces the set intersection of two sequences by using the + default equality comparer to compare values. - - true if items are validated using their array position; otherwise, false. - - + - Gets or sets the of additional items. + Produces the set intersection of two sequences by using the + specified to compare values. - The of additional items. - + - Gets or sets a value indicating whether additional items are allowed. + Produces the set difference of two sequences by using the + default equality comparer to compare values. - - true if additional items are allowed; otherwise, false. - - + - Gets or sets whether the array items must be unique. + Produces the set difference of two sequences by using the + specified to compare values. - + - Gets or sets the of properties. + Creates a from an + according to a specified key + selector function. - The of properties. - + - Gets or sets the of additional properties. + Creates a from an + according to a specified key + selector function and key comparer. - The of additional properties. - + - Gets or sets the pattern properties. + Creates a from an + according to specified key + selector and element selector functions. - The pattern properties. - + - Gets or sets a value indicating whether additional properties are allowed. + Creates a from an + according to a specified key + selector function, a comparer, and an element selector function. - - true if additional properties are allowed; otherwise, false. - - + - Gets or sets the required property if this property is present. + Correlates the elements of two sequences based on matching keys. + The default equality comparer is used to compare keys. - The required property if this property is present. - + - Gets or sets the a collection of valid enum values allowed. + Correlates the elements of two sequences based on matching keys. + The default equality comparer is used to compare keys. A + specified is used to compare keys. - A collection of valid enum values allowed. - + - Gets or sets disallowed types. + Correlates the elements of two sequences based on equality of + keys and groups the results. The default equality comparer is + used to compare keys. - The disallow types. - + - Gets or sets the default value. + Correlates the elements of two sequences based on equality of + keys and groups the results. The default equality comparer is + used to compare keys. A specified + is used to compare keys. - The default value. - + - Gets or sets the collection of that this schema extends. + Computes the sum of a sequence of values. - The collection of that this schema extends. - + - Gets or sets the format. + Computes the sum of a sequence of + values that are obtained by invoking a transform function on + each element of the input sequence. - The format. - + - Generates a from a specified . + Computes the average of a sequence of values. - + - Generate a from the specified type. + Computes the average of a sequence of values + that are obtained by invoking a transform function on each + element of the input sequence. - The type to generate a from. - A generated from the specified type. - + - Generate a from the specified type. + Computes the sum of a sequence of nullable values. - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - + - Generate a from the specified type. + Computes the sum of a sequence of nullable + values that are obtained by invoking a transform function on + each element of the input sequence. - 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. + Computes the average of a sequence of nullable values. - 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 how undefined schemas are handled by the serializer. + Computes the average of a sequence of nullable values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Gets or sets the contract resolver. + Returns the minimum value in a sequence of nullable + values. - The contract resolver. - + - The value types allowed by the . + Invokes a transform function on each element of a sequence and + returns the minimum nullable value. - + - No type specified. + Returns the maximum value in a sequence of nullable + values. - + - String type. + Invokes a transform function on each element of a sequence and + returns the maximum nullable value. - + - Float type. + Computes the sum of a sequence of values. - + - Integer type. + Computes the sum of a sequence of + values that are obtained by invoking a transform function on + each element of the input sequence. - + - Boolean type. + Computes the average of a sequence of values. - + - Object type. + Computes the average of a sequence of values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Array type. + Computes the sum of a sequence of nullable values. - + - Null type. + Computes the sum of a sequence of nullable + values that are obtained by invoking a transform function on + each element of the input sequence. - + - Any type. + Computes the average of a sequence of nullable values. - + - Contract details for a used by the . + Computes the average of a sequence of nullable values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Initializes a new instance of the class. + Returns the minimum value in a sequence of nullable + values. - The underlying type for the contract. - + - Gets or sets the object member serialization. + Invokes a transform function on each element of a sequence and + returns the minimum nullable value. - The member object serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + Returns the maximum value in a sequence of nullable + values. - - A value indicating whether the object's properties are required. - - + - Gets the object's properties. + Invokes a transform function on each element of a sequence and + returns the maximum nullable value. - The object's properties. - + - Gets the constructor parameters required for any non-default constructor + Computes the sum of a sequence of nullable values. - + - Gets a collection of instances that define the parameters used with . + Computes the sum of a sequence of + values that are obtained by invoking a transform function on + each element of the input sequence. - + - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. + Computes the average of a sequence of values. - The override constructor. - + - Gets or sets the parametrized constructor used to create the object. + Computes the average of a sequence of values + that are obtained by invoking a transform function on each + element of the input sequence. - 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. + Computes the sum of a sequence of nullable values. - The function used to create the object. - + - Gets or sets the extension data setter. + Computes the sum of a sequence of nullable + values that are obtained by invoking a transform function on + each element of the input sequence. - + - Gets or sets the extension data getter. + Computes the average of a sequence of nullable values. - + - Contract details for a used by the . + Computes the average of a sequence of nullable values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Initializes a new instance of the class. + Returns the minimum value in a sequence of nullable + values. - The underlying type for the contract. - + - Represents a method that constructs an object. + Invokes a transform function on each element of a sequence and + returns the minimum nullable value. - The object type to create. - + - When applied to a method, specifies that the method is called when an error occurs serializing an object. + Returns the maximum value in a sequence of nullable + values. - + - Get and set values for a using reflection. + Invokes a transform function on each element of a sequence and + returns the maximum nullable value. - + - Initializes a new instance of the class. + Computes the sum of a sequence of values. - The member info. - + - Sets the value. + Computes the sum of a sequence of + values that are obtained by invoking a transform function on + each element of the input sequence. - The target to set the value on. - The value to set on the target. - + - Gets the value. + Computes the average of a sequence of values. - The target to get the value from. - The value. - + - Specifies type name handling options for the . + Computes the average of a sequence of values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Do not include the .NET type name when serializing types. + Computes the sum of a sequence of nullable values. - + - Include the .NET type name when serializing into a JSON object structure. + Computes the sum of a sequence of nullable + values that are obtained by invoking a transform function on + each element of the input sequence. - + - Include the .NET type name when serializing into a JSON array structure. + Computes the average of a sequence of nullable values. - + - Always include the .NET type name when serializing. + Computes the average of a sequence of nullable values + that are obtained by invoking a transform function on each + element of the input sequence. - + - Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Returns the minimum value in a sequence of nullable + values. - + - 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. + Invokes a transform function on each element of a sequence and + returns the minimum nullable value. - 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. + Returns the maximum value in a sequence of nullable + values. - - + - Gets a dictionary of the names and values of an Enum type. + Invokes a transform function on each element of a sequence and + returns the maximum nullable value. - The enum type to get names and values for. - - + - Specifies the type of Json token. + Computes the sum of a sequence of values. - + - This is returned by the if a method has not been called. + Computes the sum of a sequence of + values that are obtained by invoking a transform function on + each element of the input sequence. - + - An object start token. + Computes the average of a sequence of values. - + - An array start token. + Computes the average of a sequence of values + that are obtained by invoking a transform function on each + element of the input sequence. - + - A constructor start token. + Computes the sum of a sequence of nullable values. - + - An object property name. + Computes the sum of a sequence of nullable + values that are obtained by invoking a transform function on + each element of the input sequence. - + - A comment. + Computes the average of a sequence of nullable values. - + - Raw JSON. + Computes the average of a sequence of nullable values + that are obtained by invoking a transform function on each + element of the input sequence. - + - An integer. + Returns the minimum value in a sequence of nullable + values. - + - A float. + Invokes a transform function on each element of a sequence and + returns the minimum nullable value. - + - A string. + Returns the maximum value in a sequence of nullable + values. - + - A boolean. + Invokes a transform function on each element of a sequence and + returns the maximum nullable value. - + - A null token. + Represents a collection of objects that have a common key. - + - An undefined token. + Gets the key of the . - + - An object end token. + Defines an indexer, size property, and Boolean search method for + data structures that map keys to + sequences of values. - + - An array end token. + Represents a sorted sequence. - + - A constructor end token. + Performs a subsequent ordering on the elements of an + according to a key. - + - A Date. + Represents a collection of keys each mapped to one or more values. - + - Byte data. + Gets the number of key/value collection pairs in the . - + - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Gets the collection of values indexed by the specified key. - + - Determines whether the collection is null or empty. + Determines whether a specified key is in the . - The collection. - - true if the collection is null or empty; otherwise, false. - - + - Adds the elements of the specified collection to the specified generic IList. + Applies a transform function to each key and its associated + values and returns the results. - The list to add to. - The collection of elements to add. - + - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. + Returns a generic enumerator that iterates through the . - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. + + + + See issue #11 + for why this method is needed and cannot be expressed as a + lambda at the call site. + + + + + See issue #11 + for why this method is needed and cannot be expressed as a + lambda at the call site. + @@ -8991,15 +10144,6 @@ 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. @@ -9046,22 +10190,20 @@ 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. + 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -9071,12 +10213,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. @@ -9086,7 +10228,7 @@ - A array is being written. + An array is being written. @@ -9101,8 +10243,56 @@ - A write method has not been called. + A write method has not been called. + + + + + This attribute allows us to define extension methods without + requiring .NET Framework 3.5. For more information, see the section, + Extension Methods in .NET Framework 2.0 Apps, + of Basic Instincts: Extension Methods + column in MSDN Magazine, + issue Nov 2007. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll new file mode 100644 index 0000000..b965fb5 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.xml similarity index 74% rename from packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.xml index 8e08389..6058a14 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.xml @@ -9,1364 +9,1855 @@ Represents a BSON Oid (object id). - - - Initializes a new instance of the class. - - The Oid value. - Gets or sets the value of the Oid. The value of the Oid. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + 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. - + - Initializes a new instance of the class with the specified . + 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. + - + - Reads the next JSON token from the stream. + Gets or sets a value indicating whether the root object will be read as a JSON array. - true if the next token was read successfully; false if there are no more tokens to read. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets the used when reading values from BSON. - A . This method will return null at the end of an array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Reads the next JSON token from the underlying . - A . This method will return null at the end of an array. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Skips the children of the current token. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Sets the current token. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - The new token. - + - Sets the current token and value. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. - The new token. - The value. + The used when writing values to BSON. - + - Sets the state based on current token type. + Initializes a new instance of the class. + The to write to. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Initializes a new instance of the class. + The to write to. - + - Releases unmanaged and - optionally - managed resources + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Changes the to Closed. + Writes the end. + The token. - + - Gets the current reader state. + Writes a comment /*...*/ containing the specified text. - The current reader state. + Text to place inside the comment. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the start of a constructor with the given name. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The name of the constructor. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes raw JSON. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + The raw JSON to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how time zones are handling when reading JSON. + Writes the beginning of a JSON array. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets the type of the current JSON token. + Writes a null value. - + - Gets the text value of the current JSON token. + Writes an undefined value. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a value. + The value to write. - + - Gets the depth of the current token in the JSON document. + Writes a value. - The depth of the current token in the JSON document. + The value to write. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a value. + The value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a [] value. + The [] value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value that represents a BSON object id. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The Object ID value to write. - + - Initializes a new instance of the class. + Writes a BSON regex. - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The regex pattern. + The regex options. - + - Reads the next JSON token from the stream as a . + Specifies how constructors are used when initializing objects during deserialization by the . - - 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 . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the JSON representation of the object. - A . This method will return null at the end of an array. + The to write to. + The value. + The calling serializer. - + - Reads the next JSON token from the stream as a . + Reads the JSON representation of the object. - - A . This method will return null at the end of an array. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Reads the next JSON token from the stream. + Determines whether this instance can convert the specified object type. + Type of the object. - true if the next token was read successfully; false if there are no more tokens to read. + true if this instance can convert the specified object type; otherwise, false. - + - Changes the to Closed. + Converts a to and from JSON and BSON. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Writes the JSON representation of the object. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + The to write to. + The value. + The calling serializer. - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Reads the JSON representation of the object. - - true if the root object will be read as a JSON array; otherwise, false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets the used when reading values from BSON. + Determines whether this instance can convert the specified object type. - The used when reading values from BSON. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Creates a custom object. + The object type to convert. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Creates an instance of the JsonWriter class. + 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. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Closes this stream and the underlying stream. + 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. + - + - Writes the beginning of a Json object. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of a Json object. + Converts a to and from JSON. - + - Writes the beginning of a Json array. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the end of an array. + 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. - + - Writes the start of a constructor with the given name. + Determines whether this instance can convert the specified value type. - The name of the constructor. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Writes the end constructor. + Converts a to and from JSON. - + - Writes the property name of a name/value pair on a JSON object. + Writes the JSON representation of the object. - The name of the property. + The to write to. + The value. + The calling serializer. - + - Writes the property name of a name/value pair on a JSON object. + Reads the JSON representation of the 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 to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the end of the current Json object or array. + 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. + - + - Writes the current token and its children. + Provides a base class for converting a to and from JSON. - The to read the token from. - + - Writes the current token. + Determines whether this instance can convert the specified object type. - The to read the token from. - A flag indicating whether the current token's children should be written. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the specified end token. + Converts an Entity Framework to and from JSON. - The end token to write. - + - Writes indent characters. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the JSON value delimiter. + 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. - + - Writes an indent space. + 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. + - + - Writes a null value. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - + - Writes an undefined value. + 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. - + - Writes raw JSON without changing the writer's state. + Gets or sets the date time format used when converting a date to and from JSON. - The raw JSON to write. + The date time format used when converting a date to and from JSON. - + - Writes raw JSON where a value is expected and updates the writer's state. + Gets or sets the culture used when converting a date to and from JSON. - The raw JSON to write. + The culture used when converting a date to and from JSON. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. - - - - Writes a value. - - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from Unix epoch time - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts XML to and from JSON. - The value to write. - + - Writes a value. + 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 value to write. + The name of the deserialized root element. - + - Writes a value. + Gets or sets a value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. - The value to write. + true if the array attribute is written to the XML; otherwise, false. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets or sets a value indicating whether to write the root JSON object. - The value to write. + true if the JSON root object is omitted; otherwise, false. - + - Writes out a comment /*...*/ containing the specified text. + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. - Text to place inside the comment. + true if special characters are encoded; otherwise, false. - + - Writes out the given white space. + Writes the JSON representation of the object. - The string of white space characters. + The to write to. + The calling serializer. + The value. - + - Sets the state of the JsonWriter, + Reads the JSON representation of the object. - The JsonToken being written. - The value being written. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Checks if the is a namespace attribute. - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - + 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. - + - Gets the top. + Determines whether this instance can convert the specified value type. - The top. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Gets the state of the writer. + Specifies how dates are formatted when writing JSON text. - + - Gets the path of the writer. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - + - Indicates how JSON text output is formatted. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - + - Get or set how dates are written to JSON text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - + - Get or set how time zones are handling when writing JSON text. + Date formatted strings are not parsed to a date type and are read as strings. - + - Get or set how strings are escaped when writing JSON text. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how and values are formatting when writing JSON text. + Specifies how to treat the time value when converting between string and . - + - Gets or sets the culture used when writing JSON. Defaults to . + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - + - Initializes a new instance of the class. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - The stream. - + - Initializes a new instance of the class. + 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. - The writer. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Time zone information should be preserved when converting. - + - Writes the end. + The default JSON name table implementation. - The token. - + - Writes out a comment /*...*/ containing the specified text. + Initializes a new instance of the class. - Text to place inside the comment. - + - Writes the start of a constructor with the given name. + Gets a string containing the same characters as the specified range of characters in the given array. - The name of the constructor. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Writes raw JSON. + Adds the specified string into name table. - The raw JSON to write. + The string to add. + This method is not thread-safe. + The resolved string. - + - Writes raw JSON where a value is expected and updates the writer's state. + Specifies default value handling options for the . - The raw JSON to write. + + + + - + - Writes the beginning of a Json array. + 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. - + - Writes the beginning of a Json object. + 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. - + - Writes the property name of a name/value pair on a Json object. + Members with a default value but no JSON will be set to their default value when deserializing. - The name of the property. - + - Closes this stream and the underlying stream. + 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. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - The value to write. - + - Writes a null value. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - + - Writes an undefined value. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - + - Writes a value. + 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. - The value to write. - + - Writes a value. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The value to write. - + - Writes a value. + Floating point numbers are parsed to . - The value to write. - + - Writes a value. + Floating point numbers are parsed to . - The value to write. - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Provides an interface for using pooled arrays. - The value to write. + The array type content. - + - Writes a value. + Rent an array from the pool. This array must be returned when it is no longer needed. - The value to write. + 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. - + - Writes a value. + Return an array to the pool. - The value to write. + The array that is being returned. - + - Writes a value. + Provides an interface to enable a class to return line and position information. - The value to write. - + - Writes a value. + Gets a value indicating whether the class can return line information. - The value to write. + + true if and can be provided; otherwise, false. + - + - Writes a value. + Gets the current line number. - The value to write. + The current line number or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Instructs the how to serialize the collection. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether null items are allowed in the collection. - The value to write. + true if null items are allowed in the collection; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with a flag indicating whether the array can contain null items. - The value to write. + A flag indicating whether the array can contain null items. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value that represents a BSON object id. + Instructs the how to serialize the object. - The Object ID value to write. - + - Writes a BSON regex. + Gets or sets the id. - The regex pattern. - The regex options. + The id. - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + Gets or sets the title. - The used when writing values to BSON. + The title. - + - Specifies how constructors are used when initializing objects during deserialization by the . + Gets or sets the description. + The description. - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + Gets or sets the collection's items converter. + The collection's items converter. - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + 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" })] + + - + - Converts a binary value to and from a base 64 string value. + Gets or sets the of the . + The of the . - + - Converts an object to and from JSON. + 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" })] + + - + - Writes the JSON representation of the object. + Gets or sets a value that indicates whether to preserve object references. - The to write to. - The value. - The calling serializer. + + true to keep object reference; otherwise, false. The default is false. + - + - Reads the JSON representation of the object. + Gets or sets a value that indicates whether to preserve collection's items references. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + true to keep collection's items object references; otherwise, false. The default is false. + - + - Determines whether this instance can convert the specified object type. + Gets or sets the reference loop handling used when serializing the collection's items. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The reference loop handling. - + - Gets the of the JSON produced by the JsonConverter. + Gets or sets the type name handling used when serializing the collection's items. - The of the JSON produced by the JsonConverter. + The type name handling. - + - Gets a value indicating whether this can read JSON. + Initializes a new instance of the class. - true if this can read JSON; otherwise, false. - + - Gets a value indicating whether this can write JSON. + Initializes a new instance of the class with the specified container Id. - true if this can write JSON; otherwise, false. + The container Id. - + - Writes the JSON representation of the object. + Provides methods for converting between .NET types and JSON types. - The to write to. - The value. - The calling serializer. + + + - + - Reads the JSON representation of the object. + 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 + . - 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. + Represents JavaScript's boolean value true as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Converts a to and from JSON and BSON. + Represents JavaScript's boolean value false as a string. This field is read-only. - + - Writes the JSON representation of the object. + Represents JavaScript's null as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's undefined as a string. This field is read-only. - 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. + Represents JavaScript's positive infinity as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Create a custom object + Represents JavaScript's negative infinity as a string. This field is read-only. - The object type to convert. - + - Writes the JSON representation of the object. + Represents JavaScript's NaN as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. - + - Creates an object which will then be populated by the serializer. + Deserializes the JSON to the given anonymous type using . - Type of the object. - The created object. + + 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. - + - Determines whether this instance can convert the specified object type. + Deserializes the JSON to the specified .NET type using a collection of . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. - + - Gets a value indicating whether this can write JSON. + Deserializes the JSON to the specified .NET type using . - - true if this can write JSON; otherwise, false. - + 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. - + - Converts a to and from JSON. + 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. - + - Writes the JSON representation of the object. + Deserializes the JSON to the specified .NET type using . - The to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Populates the object with values from the JSON string. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The JSON to populate values from. + The target object to populate values onto. - + - Determines whether this instance can convert the specified value type. + Populates the object with values from the JSON string using . - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + 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. + - + - Converts a to and from JSON. + Serializes the to a JSON string. + The node to serialize. + A JSON string of the . - + - Writes the JSON representation of the object. + Serializes the to a JSON string using formatting. - The to write to. - The value. - The calling serializer. + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . - + - Reads the JSON representation of the object. + Serializes the to a JSON string using formatting and omits the root object if is true. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . - + - Determines whether this instance can convert the specified value type. + Deserializes the from a JSON string. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The JSON string. + The deserialized . - + - Provides a base class for converting a to and from JSON. + 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 . - + - Determines whether this instance can convert the specified object type. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The JSON string. + The name of the root element to append when deserializing. + + A value 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 a F# discriminated union type to and from JSON. + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . - + - Writes the JSON representation of the object. + Serializes the to a JSON string. - The to write to. - The value. - The calling serializer. + The node to convert to JSON. + A JSON string of the . - + - Reads the JSON representation of the object. + Serializes the to a JSON string using formatting. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . - + - Determines whether this instance can convert the specified object type. + Serializes the to a JSON string using formatting and omits the root object if is true. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . - + - Converts an Entity Framework EntityKey to and from JSON. + Deserializes the from a JSON string. + The JSON string. + The deserialized . - + - Writes the JSON representation of the object. + Deserializes the from a JSON string nested in a root element specified by . - The to write to. - The value. - The calling serializer. + The JSON string. + The name of the root element to append when deserializing. + The deserialized . - + - Reads the JSON representation of the object. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The JSON string. + The name of the root element to append when deserializing. + + A value 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 . - + - Determines whether this instance can convert the specified object type. + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . - + - Converts an ExpandoObject to and from JSON. + Converts an object to and from JSON. - + Writes the JSON representation of the object. @@ -1374,7 +1865,7 @@ The value. The calling serializer. - + Reads the JSON representation of the object. @@ -1384,7 +1875,7 @@ The calling serializer. The object value. - + Determines whether this instance can convert the specified object type. @@ -1393,61 +1884,33 @@ 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). - - - - - 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. - - + - Gets or sets the date time styles used when converting a date to and from JSON. + Gets a value indicating whether this can read JSON. - The date time styles used when converting a date to and from JSON. + true if this can read JSON; otherwise, false. - + - Gets or sets the date time format used when converting a date to and from JSON. + Gets a value indicating whether this can write JSON. - The date time format used when converting a date to and from JSON. + true if this can write JSON; otherwise, false. - + - Gets or sets the culture used when converting a date to and from JSON. + Converts an object to and from JSON. - The culture used when converting a date to and from JSON. + The object type to convert. - + - 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. - + Writes the JSON representation of the object. @@ -1455,40 +1918,28 @@ 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 existing value of object being read. 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 existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. The calling serializer. The object value. - + Determines whether this instance can convert the specified object type. @@ -1497,4586 +1948,4414 @@ true if this instance can convert the specified object type; otherwise, false. - + - Converts a to and from JSON and BSON. + Instructs the to use the specified when serializing the member or class. - + - Writes the JSON representation of the object. + Gets the of the . - The to write to. - The value. - The calling serializer. + The of the . - + - Reads the JSON representation of the object. + The parameter list to use when constructing the described by . + If null, the default constructor is used. - 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. + Initializes a new instance of the class. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + Type of the . - + - Converts an to and from its name string value. + Initializes a new instance of the class. + Type of the . + Parameter list to use when constructing the . Can be null. - + - Initializes a new instance of the class. + Represents a collection of . - + - Writes the JSON representation of the object. + Instructs the how to serialize the collection. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - 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. + Initializes a new instance of the class with the specified container Id. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The container Id. - + - Gets or sets a value indicating whether the written enum text should be camel case. + The exception thrown when an error occurs during JSON serialization or deserialization. - true if the written enum text will be camel case; otherwise, false. - + - Gets or sets a value indicating whether integer values are allowed. + Initializes a new instance of the class. - true if integers are allowed; otherwise, false. - + - Converts a to and from a string (e.g. "1.2.3.4"). + Initializes a new instance of the class + with a specified error message. + The error message that explains the reason for the exception. - + - Writes the JSON representation of the object. + 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 to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - 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. + 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). - + - Determines whether this instance can convert the specified object type. + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. - 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 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. + - + - Writes the JSON representation of the object. + Initializes a new instance of the class. - The to write to. - The calling serializer. - The value. - + - Reads the JSON representation of the object. + Instructs the not to serialize the public field or public read/write property value. - 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. + Base class for a table of atomized string objects. - 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. + Gets a string containing the same characters as the specified range of characters in the given array. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Instructs the how to serialize the object. - 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. + Gets or sets the member serialization. - true if the array attibute is written to the XML; otherwise, false. + The member serialization. - + - Gets or sets a value indicating whether to write the root JSON object. + Gets or sets the missing member handling used when deserializing this object. - true if the JSON root object is omitted; otherwise, false. + The missing member handling. - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + How the object's properties with null values are handled during serialization and deserialization. - + - Floating point numbers are parsed to . + Gets or sets a value that indicates whether the object's properties are required. + + A value indicating whether the object's properties are required. + - + - Floating point numbers are parsed to . + Initializes a new instance of the class. - + - Specifies how dates are formatted when writing JSON text. + Initializes a new instance of the class with the specified member serialization. + The member serialization. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Initializes a new instance of the class with the specified container Id. + The container Id. - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Instructs the to always serialize the member with the specified name. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Gets or sets the type used when serializing the property's collection items. + The collection's items type. - + - Date formatted strings are not parsed to a date type and are read as strings. + 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" })] + + - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Gets or sets the of the . + The of the . - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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" })] + + - + - Specifies how to treat the time value when converting between string and . + Gets or sets the null value handling used when serializing this property. + The null value handling. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + Gets or sets the default value handling used when serializing this property. + The default value handling. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Gets or sets the reference loop handling used when serializing this property. + The reference loop handling. - + - 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. + Gets or sets the object creation handling used when deserializing this property. + The object creation handling. - + - Time zone information should be preserved when converting. + Gets or sets the type name handling used when serializing this property. + The type name handling. - + - Specifies default value handling options for the . + Gets or sets whether this property's value is serialized as a reference. - - - - + Whether this property's value is serialized as a reference. - + - 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. + Gets or sets the order of serialization of a member. + The numeric order of serialization. - + - 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. + Gets or sets a value indicating whether this property is required. + + A value indicating whether this property is required. + - + - Members with a default value but no JSON will be set to their default value when deserializing. + Gets or sets the name of the property. + The name of the property. - + - 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. + Gets or sets the reference loop handling used when serializing the property's collection items. + The collection's items reference loop handling. - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + Gets or sets the type name handling used when serializing the property's collection items. + The collection's items type name handling. - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + 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. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Initializes a new instance of the class. - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Initializes a new instance of the class with the specified name. + Name of the property. - + - Specifies formatting options for the . + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - + - No special formatting is applied. This is the default. + Specifies the state of the reader. - + - Causes child objects to be indented according to the and settings. + A read method has not been called. - + - Provides an interface to enable a class to return line and position information. + The end of the file has been reached successfully. - + - Gets a value indicating whether the class can return line information. + Reader is at a property. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Reader is at the start of an object. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + - Gets the current line position. + Reader is in an object. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + - Instructs the how to serialize the collection. + Reader is at the start of an array. - + - Instructs the how to serialize the object. + Reader is in an array. - + - Initializes a new instance of the class. + The method has been called. - + - Initializes a new instance of the class with the specified container Id. + Reader has just read a value. - The container Id. - + - Gets or sets the id. + Reader is at the start of a constructor. - The id. - + - Gets or sets the title. + Reader is in a constructor. - The title. - + - Gets or sets the description. + An error occurred that prevents the read operation from continuing. - The description. - + - Gets the collection's items converter. + The end of the file has been reached successfully. - The collection's items converter. - + - Gets or sets a value that indicates whether to preserve object references. + Gets the current reader state. - - true to keep object reference; otherwise, false. The default is false. - + The current reader state. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to keep collection's items object references; otherwise, false. The default is false. + true to close the source when this reader is closed; otherwise false. The default is true. - + - Gets or sets the reference loop handling used when serializing the collection's items. + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. - The reference loop handling. + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + - + - Gets or sets the type name handling used when serializing the collection's items. + Gets the quotation mark character used to enclose the value of a string. - The type name handling. - + - Initializes a new instance of the class. + Gets or sets how time zones are handled when reading JSON. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - A flag indicating whether the array can contain null items. - + - Initializes a new instance of the class with the specified container Id. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The container Id. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Gets or sets how custom date formatted strings are parsed when reading JSON. - true if null items are allowed in the collection; otherwise, false. - + - Instructs the to use the specified constructor when deserializing that object. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - + - Provides methods for converting between common language runtime types and JSON types. + Gets the type of the current JSON token. - - - - + - Represents JavaScript's boolean value true as a string. This field is read-only. + Gets the text value of the current JSON token. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + Gets the .NET type for the current JSON token. - + - Represents JavaScript's null as a string. This field is read-only. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Represents JavaScript's undefined as a string. This field is read-only. + Gets the path of the current JSON token. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + Gets or sets the culture used when reading JSON. Defaults to . - + - Represents JavaScript's negative infinity as a string. This field is read-only. + Initializes a new instance of the class. - + - Represents JavaScript's NaN as a string. This field is read-only. + 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. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a of . - The value to convert. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation using the specified. + Reads the next JSON token from the source as a . - 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 . + A . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a []. - The value to convert. - A JSON string representation of the . + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Converts the to its JSON string representation using the specified. + Reads the next JSON token from the source as a of . - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a of . - The value to convert. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a of . - The value to convert. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a of . - The value to convert. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Reads the next JSON token from the source as a of . - The value to convert. - A JSON string representation of the . + A of . This method will return null at the end of an array. - + - Converts the to its JSON string representation. + Skips the children of the current token. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Sets the current token. - The value to convert. - A JSON string representation of the . + The new token. - + - Converts the to its JSON string representation. + Sets the current token and value. - The value to convert. - A JSON string representation of the . + The new token. + The value. - + - Converts the to its JSON string representation. + Sets the current token and value. - The value to convert. - A JSON string representation of the . + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. - + - Converts the to its JSON string representation. + Sets the state based on current token type. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Releases unmanaged and - optionally - managed resources. - The value to convert. - A JSON string representation of the . + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Converts the to its JSON string representation. + Changes the reader's state to . + If is set to true, the source is also closed. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + The exception thrown when an error occurs while reading JSON text. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Gets the line number indicating where the error occurred. - The value to convert. - A JSON string representation of the . + The line number indicating where the error occurred. - + - Converts the to its JSON string representation. + Gets the line position indicating where the error occurred. - The value to convert. - A JSON string representation of the . + The line position indicating where the error occurred. - + - Converts the to its JSON string representation. + Gets the path to the JSON where the error occurred. - The value to convert. - A JSON string representation of the . + The path to the JSON where the error occurred. - + - Converts the to its JSON string representation. + Initializes a new instance of the class. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Initializes a new instance of the class + with a specified error message. - The value to convert. - A JSON string representation of the . + The error message that explains the reason for the exception. - + - Converts the to its JSON string representation. + 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 value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Initializes a new instance of the class. - The value to convert. - The string delimiter character. - A JSON string representation of the . + 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 the to its JSON string representation. + 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 value to convert. - A JSON string representation of the . + 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. - + - Serializes the specified object to a JSON string. + Instructs the to always serialize the member, and to require that the member has a value. - The object to serialize. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using formatting. + The exception thrown when an error occurs during JSON serialization or deserialization. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a collection of . + Gets the line number indicating where the error occurred. - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. + The line number indicating where the error occurred. - + - Serializes the specified object to a JSON string using formatting and a collection of . + Gets the line position indicating where the error occurred. - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. + The line position indicating where the error occurred. - + - Serializes the specified object to a JSON string using . + Gets the path to the JSON where the error occurred. - 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. - + The path to the JSON where the error occurred. - + - Serializes the specified object to a JSON string using a type, formatting and . + Initializes a new instance of the class. - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using formatting and . + Initializes a new instance of the class + with a specified error message. - 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 JSON string representation of the object. - + The error message that explains the reason for the exception. - + - Serializes the specified object to a JSON string using a type, formatting and . + 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 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. - - 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. - - - A JSON string representation of the object. - + 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. - + - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. + Initializes a new instance of the class. - 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. - + 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). - + - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. + 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 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. - + 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. - + - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. - 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. + Occurs when the errors during serialization and deserialization. - The JSON to deserialize. - The deserialized object from the JSON string. - + - Deserializes the JSON to a .NET object using . + Gets or sets the used by the serializer when resolving references. - 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. + Gets or sets the used by the serializer when resolving type names. - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - + - Deserializes the JSON to the specified .NET type. + Gets or sets the used by the serializer when resolving type names. - 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. + Gets or sets the used by the serializer when writing trace messages. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. + The trace writer. - + - Deserializes the JSON to the given anonymous type using . + Gets or sets the equality comparer used by the serializer when comparing references. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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. + The equality comparer. - + - Deserializes the JSON to the specified .NET type using a collection of . + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + + 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 . + - + - Deserializes the JSON to the specified .NET type using . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - 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. + The type name assembly format. - + - Deserializes the JSON to the specified .NET type using a collection of . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The type name assembly format. - + - Deserializes the JSON to the specified .NET type using . + Gets or sets how object references are preserved by the serializer. + The default value is . - 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. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . - 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. + 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 default value is . - 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. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - 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. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - 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. + Gets or sets how objects are created during deserialization. + The default value is . - The JSON to populate values from. - The target object to populate values onto. + The object creation handling. - + - Populates the object with values from the JSON string using . + Gets or sets how constructors are used during deserialization. + The default value is . - 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. - + The constructor handling. - + - Asynchronously populates the object with values from the JSON string using . + Gets or sets how metadata properties are used during deserialization. + The default value is . - 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. - + The metadata properties handling. - + - Serializes the XML node to a JSON string. + Gets a collection that will be used during serialization. - The node to serialize. - A JSON string of the XmlNode. + Collection that will be used during serialization. - + - Serializes the XML node to a JSON string using formatting. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - + - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Gets or sets the used by the serializer when invoking serialization callback methods. - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. + The context. - + - Deserializes the XmlNode from a JSON string. + Indicates how JSON text output is formatted. + The default value is . - The JSON string. - The deserialized XmlNode - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Gets or sets how dates are written to JSON text. + The default value is . - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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 XmlNode - + - Serializes the to a JSON string. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - The node to convert to JSON. - A JSON string of the XNode. - + - Serializes the to a JSON string using formatting. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - + - Deserializes the from a JSON string. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The JSON string. - The deserialized XNode - + - Deserializes the from a JSON string nested in a root elment specified by . + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Gets or sets the culture used when reading JSON. + The default value is . - 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 XNode - + - 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 - . + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - + - Instructs the to use the specified when serializing the member or class. + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + - + - Initializes a new instance of the class. + Initializes a new instance of the class. - Type of the converter. - + - Gets the type of the converter. + Creates a new instance. + The will not use default settings + from . - The type of the converter. + + A new instance. + The will not use default settings + from . + - + - Represents a collection of . + 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 . + - + - Instructs the how to serialize the collection. + Creates a new instance. + The will use default settings + from . + + A new instance. + The will use default settings + from . + - + - Initializes a new instance of the class. + 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 . + - + - Initializes a new instance of the class with the specified container Id. + Populates the JSON values onto the target object. - The container Id. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Populates the JSON values onto the target object. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Initializes a new instance of the class. + Deserializes the JSON structure contained by the specified . + The that contains the JSON structure to deserialize. + The being deserialized. - + - Initializes a new instance of the class - with a specified error message. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The error message that explains the reason for the exception. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - 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. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - 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 containing the object. + The type of the object to deserialize. + The instance of being deserialized. - + - Initializes a new instance of the class. + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - 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 containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Serializes the specified and writes the JSON structure + using the specified . + The used to write the JSON structure. + The to serialize. - + - Initializes a new instance of the class. + 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. + - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + Serializes the specified and writes the JSON structure + using the specified . - - true to write extension data when serializing the object; otherwise, false. The default is true. - + 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. + - + - Gets or sets a value that indicates whether to read extension data when deserializing the object. + Serializes the specified and writes the JSON structure + using the specified . - - true to read extension data when deserializing the object; otherwise, false. The default is true. - + The used to write the JSON structure. + The to serialize. - + - Instructs the not to serialize the public field or public read/write property value. + Specifies the settings on a object. - + - Instructs the how to serialize the object. + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + The default value is . + Reference loop handling. - + - Initializes a new instance of the class. + 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 default value is . + Missing member handling. - + - Initializes a new instance of the class with the specified member serialization. + Gets or sets how objects are created during deserialization. + The default value is . - The member serialization. + The object creation handling. - + - Initializes a new instance of the class with the specified container Id. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - The container Id. + Null value handling. - + - Gets or sets the member serialization. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The member serialization. + The default value handling. - + - Gets or sets a value that indicates whether the object's properties are required. + Gets or sets a collection that will be used during serialization. - - A value indicating whether the object's properties are required. - + The converters. - + - Instructs the to always serialize the member with the specified name. + Gets or sets how object references are preserved by the serializer. + The default value is . + The preserve references handling. - + - Initializes a new instance of the class. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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 with the specified name. + Gets or sets how metadata properties are used during deserialization. + The default value is . - Name of the property. + The metadata properties handling. - + - Gets or sets the converter used when serializing the property's collection items. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The collection's items converter. + The type name assembly format. - + - Gets or sets the null value handling used when serializing this property. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The null value handling. + The type name assembly format. - + - Gets or sets the default value handling used when serializing this property. + Gets or sets how constructors are used during deserialization. + The default value is . - The default value handling. + The constructor handling. - + - Gets or sets the reference loop handling used when serializing this property. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The reference loop handling. + The contract resolver. - + - Gets or sets the object creation handling used when deserializing this property. + Gets or sets the equality comparer used by the serializer when comparing references. - The object creation handling. + The equality comparer. - + - Gets or sets the type name handling used when serializing this property. + Gets or sets the used by the serializer when resolving references. - The type name handling. + The reference resolver. - + - Gets or sets whether this property's value is serialized as a reference. + Gets or sets a function that creates the used by the serializer when resolving references. - Whether this property's value is serialized as a reference. + A function that creates the used by the serializer when resolving references. - + - Gets or sets the order of serialization and deserialization of a member. + Gets or sets the used by the serializer when writing trace messages. - The numeric order of serialization or deserialization. + The trace writer. - + - Gets or sets a value indicating whether this property is required. + Gets or sets the used by the serializer when resolving type names. - - A value indicating whether this property is required. - + The binder. - + - Gets or sets the name of the property. + Gets or sets the used by the serializer when resolving type names. - The name of the property. + The binder. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets the error handler called during serialization and deserialization. - The collection's items reference loop handling. + The error handler called during serialization and deserialization. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the used by the serializer when invoking serialization callback methods. - The collection's items type name handling. + The context. - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - Whether this property's collection items are serialized as a reference. - + - The exception thrown when an error occurs while reading Json text. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - + - Initializes a new instance of the class. + Indicates how JSON text output is formatted. + The default value is . - + - Initializes a new instance of the class - with a specified error message. + Gets or sets how dates are written to JSON text. + The default value is . - 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. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - 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). - + - Gets the line number indicating where the error occurred. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - The line position indicating where the error occurred. - + - Gets the path to the JSON where the error occurred. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The path to the JSON where the error occurred. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Gets or sets the culture used when reading JSON. + The default value is . - + - Initializes a new instance of the class. + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - Initializes a new instance of the class - with a specified error message. + Initializes a new instance of the class. - 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. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - 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. + Initializes a new instance of the class with the specified . - 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 containing the JSON data to read. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Gets or sets the reader's property name table. - + - Initializes a new instance of the class. + Gets or sets the reader's character buffer pool. - + - Creates a new instance. - The will not use default settings. + Reads the next JSON token from the underlying . - A new instance. - The will not use default settings. + true if the next token was read successfully; false if there are no more tokens to read. - + - Creates a new instance using the specified . - The will not use default settings. + Reads the next JSON token from the underlying as a of . - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - + A of . This method will return null at the end of an array. - + - Creates a new instance. - The will use default settings. + Reads the next JSON token from the underlying as a of . - - A new instance. - The will use default settings. - + A of . This method will return null at the end of an array. - + - Creates a new instance using the specified . - The will use default settings. + Reads the next JSON token from the underlying as a . - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - + A . This method will return null at the end of an array. - + - Populates the JSON values onto the target object. + Reads the next JSON token from the underlying as a []. - The that contains the JSON structure to reader values from. - The target object to populate values onto. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Populates the JSON values onto the target object. + Reads the next JSON token from the underlying as a of . - The that contains the JSON structure to reader values from. - The target object to populate values onto. + A of . This method will return null at the end of an array. - + - Deserializes the Json structure contained by the specified . + Reads the next JSON token from the underlying as a of . - The that contains the JSON structure to deserialize. - The being deserialized. + A of . This method will return null at the end of an array. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Reads the next JSON token from the underlying as a of . - The containing the object. - The of object being deserialized. - The instance of being deserialized. + A of . This method will return null at the end of an array. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Reads the next JSON token from the underlying as a of . - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + A of . This method will return null at the end of an array. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The containing the object. - The of object being deserialized. - The instance of being deserialized. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets a value indicating whether the class can return line information. - The used to write the Json structure. - The to serialize. + + true if and can be provided; otherwise, false. + - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets the current line number. - 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. - + + The current line number or 0 if no line information is available (for example, returns false). + - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Gets the current line position. - 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. - + + The current line position or 0 if no line information is available (for example, returns false). + - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The used to write the Json structure. - The to serialize. - + - Occurs when the errors during serialization and deserialization. + Gets or sets the writer's character array pool. - + - Gets or sets the used by the serializer when resolving references. + Gets or sets how many s to write for each level in the hierarchy when is set to . - + - Gets or sets the used by the serializer when resolving type names. + Gets or sets which character to use to quote attribute values. - + - Gets or sets the used by the serializer when writing trace messages. + Gets or sets which character to use for indenting when is set to . - The trace writer. - + - Gets or sets how type name writing and reading is handled by the serializer. + Gets or sets a value indicating whether object names will be surrounded with quotes. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Initializes a new instance of the class using the specified . - The type name assembly format. + The to write to. - + - Gets or sets how object references are preserved by the serializer. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Writes the beginning of a JSON object. - + - Get or set how null values are handled during serialization and deserialization. + Writes the beginning of a JSON array. - + - Get or set how null default are handled during serialization and deserialization. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Gets or sets how objects are created during deserialization. + Writes the specified end token. - The object creation handling. + The end token to write. - + - Gets or sets how constructors are used during deserialization. + Writes the property name of a name/value pair on a JSON object. - The constructor handling. + The name of the property. - + - Gets or sets how metadata properties are used during deserialization. + Writes the property name of a name/value pair on a JSON object. - The metadata properties handling. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Gets a collection that will be used during serialization. + Writes indent characters. - 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. + Writes the JSON value delimiter. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Writes an indent space. - The context. - + - Indicates how JSON text output is formatted. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Get or set how dates are written to JSON text. + Writes a null value. - + - Get or set how time zones are handling during serialization and deserialization. + Writes an undefined value. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes raw JSON. + The raw JSON to write. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes a value. + The value to write. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + Writes a value. + The value to write. - + - Get or set how strings are escaped when writing JSON text. + Writes a value. + The value to write. - + - Get or set how and values are formatting when writing JSON text. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a value. + The value to write. - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Writes a of value. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + The of value to write. - + - Specifies the settings on a object. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a of value. + The of value to write. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Writes a value. - Reference loop handling. + The value to write. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Writes a value. - Missing member handling. + The value to write. - + - Gets or sets how objects are created during deserialization. + Writes a value. - The object creation handling. + The value to write. - + - Gets or sets how null values are handled during serialization and deserialization. + Writes a value. - Null value handling. + The value to write. - + - Gets or sets how null default are handled during serialization and deserialization. + Writes a value. - The default value handling. + The value to write. - + - Gets or sets a collection that will be used during serialization. + Writes a value. - The converters. + The value to write. - + - Gets or sets how object references are preserved by the serializer. + Writes a value. - The preserve references handling. + The value to write. - + - Gets or sets how type name writing and reading is handled by the serializer. + Writes a value. - The type name handling. + The value to write. - + - Gets or sets how metadata properties are used during deserialization. + Writes a [] value. - The metadata properties handling. + The [] value to write. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Writes a value. - The type name assembly format. + The value to write. - + - Gets or sets how constructors are used during deserialization. + Writes a value. - The constructor handling. + The value to write. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Writes a value. - The contract resolver. + The value to write. - + - Gets or sets the used by the serializer when resolving references. + Writes a value. - The reference resolver. + The value to write. - + - Gets or sets the used by the serializer when writing trace messages. + Writes a comment /*...*/ containing the specified text. - The trace writer. + Text to place inside the comment. - + - Gets or sets the used by the serializer when resolving type names. + Writes the given white space. - The binder. + The string of white space characters. - + - Gets or sets the error handler called during serialization and deserialization. + Specifies the type of JSON token. - The error handler called during serialization and deserialization. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + This is returned by the if a read method has not been called. - The context. - + - Get or set how and values are formatting when writing JSON text. + An object start token. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + An array start token. - + - Indicates how JSON text output is formatted. + A constructor start token. - + - Get or set how dates are written to JSON text. + An object property name. - + - Get or set how time zones are handling during serialization and deserialization. + A comment. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Raw JSON. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + An integer. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + A float. - + - Get or set how strings are escaped when writing JSON text. + A string. - + - Gets or sets the culture used when reading JSON. Defaults to . + A boolean. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + A null token. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + An undefined token. - + - Initializes a new instance of the class with the specified . + An object end token. - The TextReader containing the XML data to read. - + - Reads the next JSON token from the stream. + An array end token. - - 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 constructor end token. - - 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 Date. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Byte data. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Sets an event handler for receiving schema validation errors. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets the text value of the current JSON token. - A . This method will return null at the end of an array. + - + - Changes the state to closed. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Gets a value indicating whether the class can return line information. + Gets the path of the current JSON token. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Gets the quotation mark character used to enclose the value of a string. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + - + - Gets the current line position. + Gets the type of the current JSON token. - - 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 the .NET type for the current JSON token. + - + - Creates an instance of the JsonWriter class using the specified . + Initializes a new instance of the class that + validates the content returned from the given . - The TextWriter to write to. + The to read from while validating. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Gets or sets the schema. + The schema. - + - Closes this stream and the underlying stream. + Gets the used to construct this . + The specified in the constructor. - + - Writes the beginning of a Json object. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Writes the beginning of a Json array. + Reads the next JSON token from the underlying as a of . + A of . - + - Writes the start of a constructor with the given name. + Reads the next JSON token from the underlying as a []. - The name of the constructor. + + A [] or null if the next JSON token is null. + - + - Writes the specified end token. + Reads the next JSON token from the underlying as a of . - The end token to write. + A of . - + - Writes the property name of a name/value pair on a Json object. + Reads the next JSON token from the underlying as a of . - The name of the property. + A of . - + - Writes the property name of a name/value pair on a JSON object. + Reads the next JSON token from the underlying as a of . - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. + A of . - + - Writes indent characters. + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - Writes the JSON value delimiter. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Writes an indent space. + Reads the next JSON token from the underlying as a of . + A of . - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Reads the next JSON token from the underlying . - The value to write. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Writes a null value. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - Writes an undefined value. + 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. + - + - Writes raw JSON. + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - The raw JSON to write. + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + - + - Writes a value. + Gets the top. - The value to write. + The top. - + - Writes a value. + Gets the state of the writer. - The value to write. - + - Writes a value. + Gets the path of the writer. - The value to write. - + - Writes a value. + Gets or sets a value indicating how JSON text output should be formatted. - The value to write. - + - Writes a value. + Gets or sets how dates are written to JSON text. - The value to write. - + - Writes a value. + Gets or sets how time zones are handled when writing JSON text. - The value to write. - + - Writes a value. + Gets or sets how strings are escaped when writing JSON text. - The value to write. - + - Writes a value. + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. - The value to write. - + - Writes a value. + Gets or sets how and values are formatted when writing JSON text. - The value to write. - + - Writes a value. + Gets or sets the culture used when writing JSON. Defaults to . - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Flushes whatever is in the buffer to the destination and also flushes the destination. - The value to write. - + - Writes a value. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - The value to write. - + - Writes a value. + Writes the beginning of a JSON object. - The value to write. - + - Writes a value. + Writes the end of a JSON object. - The value to write. - + - Writes a value. + Writes the beginning of a JSON array. - The value to write. - + - Writes a value. + Writes the end of an array. - The value to write. - + - Writes a value. + Writes the start of a constructor with the given name. - The value to write. + The name of the constructor. - + - Writes a value. + Writes the end constructor. - The value to write. - + - Writes a value. + Writes the property name of a name/value pair of a JSON object. - The value to write. + The name of the property. - + - Writes a value. + Writes the property name of a name/value pair of a JSON object. - The value to write. + 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 a value. + Writes the end of the current JSON object or array. - The value to write. - + - Writes out a comment /*...*/ containing the specified text. + Writes the current token and its children. - Text to place inside the comment. + The to read the token from. - + - Writes out the given white space. + Writes the current token. - The string of white space characters. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + 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. . + - + - Gets or sets which character to use to quote attribute values. + Writes the token. + The to write. - + - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Writes the specified end token. + The end token to write. - + - Gets or sets a value indicating whether object names will be surrounded with quotes. + Writes indent characters. - + - Specifies the type of Json token. + Writes the JSON value delimiter. - + - This is returned by the if a method has not been called. + Writes an indent space. - + - An object start token. + Writes a null value. - + - An array start token. + Writes an undefined value. - + - A constructor start token. + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - An object property name. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - A comment. + Writes a value. + The value to write. - + - Raw JSON. + Writes a value. + The value to write. - + - An integer. + Writes a value. + The value to write. - + - A float. + Writes a value. + The value to write. - + - A string. + Writes a value. + The value to write. - + - A boolean. + Writes a value. + The value to write. - + - A null token. + Writes a value. + The value to write. - + - An undefined token. + Writes a value. + The value to write. - + - An object end token. + Writes a value. + The value to write. - + - An array end token. + Writes a value. + The value to write. - + - A constructor end token. + Writes a value. + The value to write. - + - A Date. + Writes a value. + The value to write. - + - Byte data. + Writes a value. + The value to write. - + - Represents a reader that provides validation. + Writes a value. + The value to write. - + - Initializes a new instance of the class that - validates the content returned from the given . + Writes a value. - The to read from while validating. + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. - A . + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. - - A or a null reference if the next JSON token is null. - + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. - A . + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . + The of value to write. - + - Reads the next JSON token from the stream. + Writes a of value. - - true if the next token was read successfully; false if there are no more tokens to read. - + The of value to write. - + - Sets an event handler for receiving schema validation errors. + Writes a of value. + The of value to write. - + - Gets the text value of the current JSON token. + Writes a of value. - + The of value to write. - + - Gets the depth of the current token in the JSON document. + Writes a of value. - The depth of the current token in the JSON document. + The of value to write. - + - Gets the path of the current JSON token. + Writes a of value. + The of value to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes a of value. - + The of value to write. - + - Gets the type of the current JSON token. + Writes a of value. - + The of value to write. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + Writes a of value. - + The of value to write. - + - Gets or sets the schema. + Writes a of value. - The schema. + The of value to write. - + - Gets the used to construct this . + Writes a of value. - The specified in the constructor. + The of value to write. - + - The exception thrown when an error occurs while reading Json text. + Writes a of value. + The of value to write. - + - Initializes a new instance of the class. + Writes a of value. + The of value to write. - + - Initializes a new instance of the class - with a specified error message. + Writes a of value. - The error message that explains the reason for the exception. + The of value to write. - + - 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. + Writes a of value. - 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 of value to write. - + - Initializes a new instance of the class. + Writes a [] value. - 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 [] value to write. - + - Gets the path to the JSON where the error occurred. + Writes a value. - The path to the JSON where the error occurred. + The value to write. - + - Contains the LINQ to JSON extension methods. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Returns a collection of tokens that contains the ancestors of every token in the source collection. + Writes a comment /*...*/ containing the specified text. - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every node in the source collection. + Text to place inside the comment. - + - Returns a collection of tokens that contains the descendants of every token in the source collection. + Writes the given white space. - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every node in the source collection. + The string of white space characters. - + - Returns a collection of child properties of every object in the source collection. + Releases unmanaged and - optionally - managed resources. - An of that contains the source collection. - An of that contains the properties of every object in the source collection. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Returns a collection of child values of every object in the source collection with the given key. + Sets the state of the . - An of that contains the source collection. - The token key. - An of that contains the values of every node in the source collection with the given key. + The being written. + The value being written. - + - Returns a collection of child values of every object in the source collection. + The exception thrown when an error occurs while writing JSON text. - An of that contains the source collection. - An of that contains the values of every node in the source collection. - + - Returns a collection of converted child values of every object in the source collection with the given key. + Gets the path to the JSON where the error occurred. - 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 node in the source collection with the given key. + The path to the JSON where the error occurred. - + - Returns a collection of converted child values of every object in the source collection. + Initializes a new instance of the class. - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every node in the source collection. - + - Converts the value. + Initializes a new instance of the class + with a specified error message. - The type to convert the value to. - A cast as a of . - A converted value. + The error message that explains the reason for the exception. - + - Converts the value. + 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 source collection type. - The type to convert the value to. - A cast as a of . - A converted value. + 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. - + - Returns a collection of child tokens of every array in the source collection. + Initializes a new instance of the class. - The source collection type. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + 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). - + - Returns a collection of converted child tokens of every array in the source collection. + 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. - 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 node in the source collection. + 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. - + - Returns the input typed as . + Specifies how JSON comments are handled when loading JSON. - An of that contains the source collection. - The input typed as . - + - Returns the input typed as . + Ignore comments. - The source collection type. - An of that contains the source collection. - The input typed as . - + - Represents a collection of objects. + Load comments as a with type . - The type of token - + - Gets the with the specified key. + Specifies how duplicate property names are handled when loading JSON. - - + - Represents a JSON array. + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - - - - + - Represents a token that can contain other tokens. + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - + - Represents an abstract JSON token. + Throw a when a duplicate property is encountered. - + - Compares the values of two tokens, including the values of all descendant tokens. + Contains the LINQ to JSON extension methods. - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - + - Adds the specified content immediately after this token. + Returns a collection of tokens that contains the ancestors of every token in the source collection. - A content object that contains simple content or a collection of content objects to be added after this token. + 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. - + - Adds the specified content immediately before this token. + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - A content object that contains simple content or a collection of content objects to be added before this token. + 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 the ancestor tokens of this token. + Returns a collection of tokens that contains the descendants of every token in the source collection. - A collection of the ancestor tokens of this token. + 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 the sibling tokens after this token, in document order. + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - A collection of the sibling tokens after this tokens, in document order. + 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 the sibling tokens before this token, in document order. + Returns a collection of child properties of every object in the source collection. - A collection of the sibling tokens before this token, in document order. + An of that contains the source collection. + An of that contains the properties of every object in the source collection. - + - Gets the with the specified key converted to the specified type. + Returns a collection of child values of every object in the source collection with the given key. - The type to convert the token to. + An of that contains the source collection. The token key. - The converted token value. + An of that contains the values of every token in the source collection with the given key. - + - Returns a collection of the child tokens of this token, in document order. + Returns a collection of child values of every object in the source collection. - An of containing the child tokens of this , in document order. + An of that contains the source collection. + An of that contains the values of every token in the source collection. - + - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + Returns a collection of converted child values of every object in the source collection with the given key. - The type to filter the child tokens on. - A containing the child tokens of this , in document order. + 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 the child values of this token, in document order. + Returns a collection of converted child values of every object in the source collection. - The type to convert the values to. - A containing the child values of this , in document order. + 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. - + - Removes this token from its parent. + Converts the value. + The type to convert the value to. + A cast as a of . + A converted value. - + - Replaces this token with the specified token. + Converts the value. - The value. + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. - + - Writes this token to a . + Returns a collection of child tokens of every array in the source collection. - A into which this method will write. - A collection of which will be used when writing the token. + 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 the indented JSON for this token. + Returns a collection of converted child tokens of every array in the source collection. - - The indented JSON for this token. - + 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 JSON for this token using the given formatting and converters. + Returns the input typed as . - 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. + An of that contains the source collection. + The input typed as . - + - Performs an explicit conversion from to . + Returns the input typed as . - The value. - The result of the conversion. + The source collection type. + An of that contains the source collection. + The input typed as . - + - Performs an explicit conversion from to . + Represents a collection of objects. - The value. - The result of the conversion. + The type of token. - + - Performs an explicit conversion from to . + Gets the of with the specified key. - The value. - The result of the conversion. + - + - Performs an explicit conversion from to . + Represents a JSON array. - The value. - The result of the conversion. + + + - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Gets the node type for this . - The value. - The result of the conversion. + The type. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class from another object. - The value. - The result of the conversion. + A object to copy from. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified content. - The value. - The result of the conversion. + The contents of the array. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified content. - The value. - The result of the conversion. + The contents of the array. - + - Performs an explicit conversion from to . + Loads an from a . - The value. - The result of the conversion. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Performs an explicit conversion from to . + Loads an from a . - The value. - The result of the conversion. + 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 . - + - Performs an explicit conversion from to . + Load a from a string that contains JSON. - The value. - The result of the conversion. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Performs an explicit conversion from to . + Load a from a string that contains JSON. - The value. - The result of the conversion. + 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. + + + - + - Performs an explicit conversion from to . + Creates a from an object. - The value. - The result of the conversion. + The object that will be used to create . + A with the values of the specified object. - + - Performs an explicit conversion from to . + Creates a from an object. - The value. - The result of the conversion. + 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. - + - Performs an explicit conversion from to . + Writes this token to a . - The value. - The result of the conversion. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an explicit conversion from to . + Gets the with the specified key. - The value. - The result of the conversion. + The with the specified key. - + - Performs an explicit conversion from to . + Gets or sets the at the specified index. - The value. - The result of the conversion. + - + - Performs an explicit conversion from to . + Determines the index of a specific item in the . - The value. - The result of the conversion. + The object to locate in the . + + The index of if found in the list; otherwise, -1. + - + - Performs an explicit conversion from to . + Inserts an item to the at the specified index. - The value. - The result of the conversion. + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + - + - Performs an explicit conversion from to . + Removes the item at the specified index. - The value. - The result of the conversion. + The zero-based index of the item to remove. + + is not a valid index in the . + - + - Performs an explicit conversion from to . - - The value. - The result of the conversion. + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + - + - Performs an explicit conversion from to . + Adds an item to the . - The value. - The result of the conversion. + The object to add to the . - + - Performs an explicit conversion from to . + Removes all items from the . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Determines whether the contains a specific value. - The value. - The result of the conversion. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Performs an explicit conversion from to . + Copies the elements of the to an array, starting at a particular array index. - The value. - The result of the conversion. + The array. + Index of the array. - + - Performs an explicit conversion from to . + Gets a value indicating whether the is read-only. - The value. - The result of the conversion. + true if the is read-only; otherwise, false. - + - Performs an explicit conversion from to . + Removes the first occurrence of a specific object from the . - The value. - The result of the conversion. + 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 . + - + - Performs an explicit conversion from to . + Represents a JSON constructor. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Gets or sets the name of this constructor. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Gets the node type for this . - The value. - The result of the conversion. + The type. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class from another object. - The value. - The result of the conversion. + A object to copy from. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified name. - The value to create a from. - The initialized with the specified value. + The constructor name. - + - Performs an implicit conversion from to . + Writes this token to a . - The value to create a from. - The initialized with the specified value. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an implicit conversion from to . + Gets the with the specified key. - The value to create a from. - The initialized with the specified value. + The with the specified key. - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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 . - + - Performs an implicit conversion from to . + Represents a token that can contain other tokens. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Occurs when the list changes or an item in the list changes. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Occurs before an item is added to the collection. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets the container's children tokens. - The value to create a from. - The initialized with the specified value. + The container's children tokens. - + - Performs an implicit conversion from to . + Raises the event. - The value to create a from. - The initialized with the specified value. + The instance containing the event data. - + - Performs an implicit conversion from to . + Raises the event. - The value to create a from. - The initialized with the specified value. + The instance containing the event data. - + - Performs an implicit conversion from to . + Gets a value indicating whether this token has child tokens. - The value to create a from. - The initialized with the specified value. + + true if this token has child values; otherwise, false. + - + - Performs an implicit conversion from to . + Get the first child token of this token. - The value to create a from. - The initialized with the specified value. + + A containing the first child token of the . + - + - Performs an implicit conversion from to . + Get the last child token of this token. - The value to create a from. - The initialized with the specified value. + + A containing the last child token of the . + - + - Performs an implicit conversion from to . + Returns a collection of the child tokens of this token, in document order. - The value to create a from. - The initialized with the specified value. + + An of containing the child tokens of this , in document order. + - + - Performs an implicit conversion from to . + Returns a collection of the child values of this token, in document order. - The value to create a from. - The initialized with the specified value. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Performs an implicit conversion from to . + Returns a collection of the descendant tokens for this token in document order. - The value to create a from. - The initialized with the specified value. + An of containing the descendant tokens of the . - + - Performs an implicit conversion from to . + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - The value to create a from. - The initialized with the specified value. + An of containing this token, and all the descendant tokens of the . - + - Performs an implicit conversion from to . + Adds the specified content as children of this . - The value to create a from. - The initialized with the specified value. + The content to be added. - + - Performs an implicit conversion from to . + Adds the specified content as the first children of this . - The value to create a from. - The initialized with the specified value. + The content to be added. - + - Performs an implicit conversion from to . + Creates a that can be used to add tokens to the . - The value to create a from. - The initialized with the specified value. + A that is ready to have content written to it. - + - Performs an implicit conversion from to . + Replaces the child nodes of this token with the specified content. - The value to create a from. - The initialized with the specified value. + The content. - + - Performs an implicit conversion from to . + Removes the child nodes from this token. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Merge the specified content into this . - The value to create a from. - The initialized with the specified value. + The content to be merged. - + - Performs an implicit conversion from to . + Merge the specified content into this using . - The value to create a from. - The initialized with the specified value. + The content to be merged. + The used to merge the content. - + - Performs an implicit conversion from to . + Gets the count of child JSON tokens. - The value to create a from. - The initialized with the specified value. + The count of child JSON tokens. - + - Performs an implicit conversion from to . + Represents a collection of objects. - The value to create a from. - The initialized with the specified value. + The type of token. - + - Performs an implicit conversion from to . + An empty collection of objects. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the struct. - The value to create a from. - The initialized with the specified value. + The enumerable. - + - Performs an implicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value to create a from. - The initialized with the specified value. + + A that can be used to iterate through the collection. + - + - Performs an implicit conversion from to . + Gets the of with the specified key. - The value to create a from. - The initialized with the specified value. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Returns a hash code for this instance. - The value to create a from. - The initialized with the specified value. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Performs an implicit conversion from to . + Represents a JSON object. - The value to create a from. - The initialized with the specified value. + + + - + - Creates an for this token. + Gets the container's children tokens. - An that can be used to read this token and its descendants. + The container's children tokens. - + - Creates a from an object. + Occurs when a property value changes. - The object that will be used to create . - A with the value of the specified object - + - Creates a from an object using the specified . + Occurs when a property value is changing. - 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 . + Initializes a new instance of the class. - 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 . + Initializes a new instance of the class from another object. - The object type that the token will be deserialized to. - The new object created from the JSON value. + A object to copy from. - + - Creates the specified .NET type from the using the specified . + Initializes a new instance of the class with the specified content. - 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. + The contents of the object. - + - Creates the specified .NET type from the using the specified . + Initializes a new instance of the class with the specified content. - 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. + The contents of the object. - + - Creates a from a . + Gets the node type for this . - 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. - + The type. - + - Load a from a string that contains JSON. + Gets an of of this object's properties. - A that contains JSON. - A populated from the string that contains JSON. + An of of this object's properties. - + - Creates a from a . + Gets a with the specified name. - 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. - + The property name. + A with the specified name or null. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. - - A that contains a JPath expression. - - A , or null. + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Gets a of of this object's property values. - - 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 . + A of of this object's property values. - + - Selects a collection of elements using a JPath expression. + Gets the with the specified key. - - A that contains a JPath expression. - - An that contains the selected elements. + The with the specified key. - + - Selects a collection of elements using a JPath expression. + Gets or sets the with the specified property name. - - 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. + Loads a from a . - The expression tree representation of the runtime value. - - The to bind this object. - + 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. + - + - Returns the responsible for binding operations performed on this object. + Loads a from a . - The expression tree representation of the runtime value. - - The to bind this object. - + 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. + - + - Creates a new instance of the . All child tokens are recursively cloned. + Load a from a string that contains JSON. - A new instance of the . + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + - + - Gets a comparer that can compare two tokens for value equality. + Load a from a string that contains JSON. - A that can compare two nodes for value equality. + 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. + + + + - + - Gets or sets the parent. + Creates a from an object. - The parent. + The object that will be used to create . + A with the values of the specified object. - + - Gets the root of this . + Creates a from an object. - The root of this . + 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. - + - Gets the node type for this . + Writes this token to a . - The type. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets a value indicating whether this token has child tokens. + Gets the with the specified property name. - - true if this token has child values; otherwise, false. - + Name of the property. + The with the specified property name. - + - Gets the next sibling token of this node. + 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. - The that contains the next sibling token. + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Gets the previous sibling token of this node. + 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. - The that contains the previous sibling token. + 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. - + - Gets the path of the JSON token. + Adds the specified property name. + Name of the property. + The value. - + - Gets the with the specified key. + Determines whether the JSON object has the specified property name. - The with the specified key. + Name of the property. + true if the JSON object has the specified property name; otherwise, false. - + - Get the first child token of this token. + Removes the property with the specified name. - A containing the first child token of the . + Name of the property. + true if item was successfully removed; otherwise, false. - + - Get the last child token of this token. + Tries to get the with the specified property name. - A containing the last child token of the . + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - + - Raises the event. + Returns an enumerator that can be used to iterate through the collection. - The instance containing the event data. + + A that can be used to iterate through the collection. + - + - Raises the event. + Raises the event with the provided arguments. - The instance containing the event data. + Name of the property. - + - Raises the event. + Raises the event with the provided arguments. - The instance containing the event data. + Name of the property. - + - Returns a collection of the child tokens of this token, in document order. + Represents a JSON property. - - An of containing the child tokens of this , in document order. - - + - Returns a collection of the child values of this token, in document order. + Gets the container's children tokens. - The type to convert the values to. - - A containing the child values of this , in document order. - + The container's children tokens. - + - Returns a collection of the descendant tokens for this token in document order. + Gets the property name. - An containing the descendant tokens of the . + The property name. - + - Adds the specified content as children of this . + Gets or sets the property value. - The content to be added. + The property value. - + - Adds the specified content as the first children of this . + Initializes a new instance of the class from another object. - The content to be added. + A object to copy from. - + - Creates an that can be used to add tokens to the . + Gets the node type for this . - An that is ready to have content written to it. + The type. - + - Replaces the children nodes of this token with the specified content. + Initializes a new instance of the class. - The content. + The property name. + The property content. - + - Removes the child nodes from this token. + Initializes a new instance of the class. + The property name. + The property content. - + - Merge the specified content into this . + Writes this token to a . - The content to be merged. + A into which this method will write. + A collection of which will be used when writing the token. - + - Merge the specified content into this using . + Loads a from a . - The content to be merged. - The used to merge the content. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Occurs when the list changes or an item in the list changes. + 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 . - + - Occurs before an item is added to the collection. + Represents a view of a . - + - Occurs when the items list of the collection has changed, or the collection is reset. + Initializes a new instance of the class. + The name. - + - Gets the container's children tokens. + When overridden in a derived class, returns whether resetting an object changes its value. - The container's children tokens. + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. - + - Gets a value indicating whether this token has child tokens. + When overridden in a derived class, gets the current value of the property on a component. - - true if this token has child values; otherwise, false. - + + The value of a property for a given component. + + The component with the property for which to retrieve the value. - + - Get the first child token of this token. + When overridden in a derived class, resets the value for this property of the component to the default value. - - A containing the first child token of the . - + The component with the property value that is to be reset to the default value. - + - Get the last child token of this token. + When overridden in a derived class, sets the value of the component to a different value. - - A containing the last child token of the . - + The component with the property value that is to be set. + The new value. - + - Gets the count of child JSON tokens. + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - The count of child JSON tokens + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. - + - Initializes a new instance of the class. + 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. + - + - Initializes a new instance of the class from another object. + When overridden in a derived class, gets a value indicating whether this property is read-only. - A object to copy from. + + true if the property is read-only; otherwise, false. + - + - Initializes a new instance of the class with the specified content. + When overridden in a derived class, gets the type of the property. - The contents of the array. + + A that represents the type of the property. + - + - Initializes a new instance of the class with the specified content. + Gets the hash code for the name of the member. - The contents of the array. + + + The hash code for the name of the member. + - + - Loads an from a . + Represents a raw JSON string. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - + - Load a from a string that contains JSON. + Initializes a new instance of the class from another object. - A that contains JSON. - A populated from the string that contains JSON. - - - + A object to copy from. - + - Creates a from an object. + Initializes a new instance of the class. - The object that will be used to create . - A with the values of the specified object + The raw json. - + - Creates a from an object. + Creates an instance of with the content of the reader's current token. - 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 + The reader. + An instance of with the content of the reader's current token. - + - Writes this token to a . + Specifies the settings used when loading JSON. - A into which this method will write. - A collection of which will be used when writing the token. - + - Determines the index of a specific item in the . + Initializes a new instance of the class. - 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. + Gets or sets how JSON comments are handled when loading JSON. + The default value is . - 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. + The JSON comment handling. - + - Removes the item at the specified index. + Gets or sets how JSON line info is handled when loading JSON. + The default value is . - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + The JSON line info handling. - + - Returns an enumerator that iterates through the collection. + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . - - A that can be used to iterate through the collection. - + The JSON duplicate property name handling. - + - Adds an item to the . + Specifies the settings used when merging JSON. - The object to add to the . - The is read-only. - + - Removes all items from the . + Initializes a new instance of the class. - The is read-only. - + - Determines whether the contains a specific value. + Gets or sets the method used when merging JSON arrays. - The object to locate in the . - - true if is found in the ; otherwise, false. - + The method used when merging JSON arrays. - + - Copies to. + Gets or sets how null value properties are merged. - The array. - Index of the array. + How null value properties are merged. - + - Removes the first occurrence of a specific object from the . + Gets or sets the comparison used to match property names while merging. + 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. - 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. + The comparison used to match property names while merging. - + - Gets the container's children tokens. + Represents an abstract JSON token. - The container's children tokens. - + - Gets the node type for this . + Gets a comparer that can compare two tokens for value equality. - The type. + A that can compare two nodes for value equality. - + - Gets the with the specified key. + Gets or sets the parent. - The with the specified key. + The parent. - + - Gets or sets the at the specified index. + Gets the root of this . - + The root of this . - + - Gets a value indicating whether the is read-only. + Gets the node type for this . - true if the is read-only; otherwise, false. + The type. - + - Represents a JSON constructor. + Gets a value indicating whether this token has child tokens. + + true if this token has child values; otherwise, false. + - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class from another object. + Gets the next sibling token of this node. - A object to copy from. + The that contains the next sibling token. - + - Initializes a new instance of the class with the specified name and content. + Gets the previous sibling token of this node. - The constructor name. - The contents of the constructor. + The that contains the previous sibling token. - + - Initializes a new instance of the class with the specified name and content. + Gets the path of the JSON token. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name. + Adds the specified content immediately after this token. - The constructor name. + A content object that contains simple content or a collection of content objects to be added after this token. - + - Writes this token to a . + Adds the specified content immediately before this token. - A into which this method will write. - A collection of which will be used when writing the token. + A content object that contains simple content or a collection of content objects to be added before this token. - + - Loads an from a . + Returns a collection of the ancestor tokens of this token. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A collection of the ancestor tokens of this token. - + - Gets the container's children tokens. + Returns a collection of tokens that contain this token, and the ancestors of this token. - The container's children tokens. + A collection of tokens that contain this token, and the ancestors of this token. - + - Gets or sets the name of this constructor. + Returns a collection of the sibling tokens after this token, in document order. - The constructor name. + A collection of the sibling tokens after this tokens, in document order. - + - Gets the node type for this . + Returns a collection of the sibling tokens before this token, in document order. - The type. + A collection of the sibling tokens before this token, in document order. - + Gets the with the specified key. The with the specified key. - - - Represents a collection of objects. - - The type of token - - + - An empty collection of objects. + 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. - + - Initializes a new instance of the struct. + Get the first child token of this token. - The enumerable. + A containing the first child token of the . - + - Returns an enumerator that iterates through the collection. + Get the last child token of this token. - - A that can be used to iterate through the collection. - + A containing the last child token of the . - + - Returns an enumerator that iterates through a collection. + Returns a collection of the child tokens of this token, in document order. - - An object that can be used to iterate through the collection. - + An of containing the child tokens of this , in document order. - + - Determines whether the specified is equal to this instance. + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The type to filter the child tokens on. + A containing the child tokens of this , in document order. - + - Returns a hash code for this instance. + Returns a collection of the child values of this token, in document order. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + The type to convert the values to. + A containing the child values of this , in document order. - + - Gets the with the specified key. + Removes this token from its parent. - - + - Represents a JSON object. + Replaces this token with the specified token. - - - + The value. - + - Initializes a new instance of the class. + Writes this token to a . + A into which this method will write. + A collection of which will be used when writing the token. - + - Initializes a new instance of the class from another object. + Returns the indented JSON for this token. - A object to copy from. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + The indented JSON for this token. + - + - Initializes a new instance of the class with the specified content. + Returns the JSON for this token using the given formatting and converters. - The contents of the object. + 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. - + - Initializes a new instance of the class with the specified content. + Performs an explicit conversion from to . - The contents of the object. + The value. + The result of the conversion. - + - Gets an of this object's properties. + Performs an explicit conversion from to . - An of this object's properties. + The value. + The result of the conversion. - + - Gets a the specified name. + Performs an explicit conversion from to of . - The property name. - A with the specified name or null. + The value. + The result of the conversion. - + - Gets an of this object's property values. + Performs an explicit conversion from to of . - An of this object's property values. + The value. + The result of the conversion. - + - Loads an from a . + Performs an explicit conversion from to of . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value. + The result of the conversion. - + - Load a from a string that contains JSON. + Performs an explicit conversion from to of . - A that contains JSON. - A populated from the string that contains JSON. - - - + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to of . - The object that will be used to create . - A with the values of the specified object + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to of . - 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 + The value. + The result of the conversion. - + - Writes this token to a . + Performs an explicit conversion from to of . - A into which this method will write. - A collection of which will be used when writing the token. + The value. + The result of the conversion. - + - Gets the with the specified property name. + Performs an explicit conversion from to . - Name of the property. - The with the specified property name. + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to . - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to . - 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. + The result of the conversion. - + - Adds the specified property name. + Performs an explicit conversion from to . - Name of the property. The value. + The result of the conversion. - + - Removes the property with the specified name. + Performs an explicit conversion from to . - Name of the property. - true if item was successfully removed; otherwise, false. + The value. + The result of the conversion. - + - Tries the get value. + Performs an explicit conversion from to . - Name of the property. The value. - true if a value was successfully retrieved; otherwise, false. + The result of the conversion. - + - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - + Performs an explicit conversion from to of . + + The value. + The result of the conversion. - + - Raises the event with the provided arguments. + Performs an explicit conversion from to of . - Name of the property. + The value. + The result of the conversion. - + - Raises the event with the provided arguments. + Performs an explicit conversion from to of . - Name of the property. + The value. + The result of the conversion. - + - Returns the properties for this instance of a component. + Performs an explicit conversion from to of . - - A that represents the properties for this component instance. - + The value. + The result of the conversion. - + - Returns the properties for this instance of a component using the attribute array as a filter. + Performs an explicit conversion from to of . - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - + The value. + The result of the conversion. - + - Returns a collection of custom attributes for this instance of a component. + Performs an explicit conversion from to of . - - An containing the attributes for this object. - + The value. + The result of the conversion. - + - Returns the class name of this instance of a component. + Performs an explicit conversion from to of . - - The class name of the object, or null if the class does not have a name. - + The value. + The result of the conversion. - + - Returns the name of this instance of a component. + Performs an explicit conversion from to of . - - The name of the object, or null if the object does not have a name. - + The value. + The result of the conversion. - + - Returns a type converter for this instance of a component. + Performs an explicit conversion from to . - - A that is the converter for this object, or null if there is no for this object. - + The value. + The result of the conversion. - + - Returns the default event for this instance of a component. + Performs an explicit conversion from to of . - - An that represents the default event for this object, or null if this object does not have events. - + The value. + The result of the conversion. - + - Returns the default property for this instance of a component. + Performs an explicit conversion from to of . - - A that represents the default property for this object, or null if this object does not have properties. - + The value. + The result of the conversion. - + - Returns an editor of the specified type for this instance of a component. + Performs an explicit conversion from to . - 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. - + The value. + The result of the conversion. - + - Returns the events for this instance of a component using the specified attribute array as a filter. + Performs an explicit conversion from to . - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - + The value. + The result of the conversion. - + - Returns the events for this instance of a component. + Performs an explicit conversion from to . - - An that represents the events for this component instance. - + The value. + The result of the conversion. - + - Returns an object that contains the property described by the specified property descriptor. + Performs an explicit conversion from to . - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - + The value. + The result of the conversion. - + - Returns the responsible for binding operations performed on this object. + Performs an explicit conversion from to . - The expression tree representation of the runtime value. - - The to bind this object. - + The value. + The result of the conversion. - + - Gets the container's children tokens. + Performs an explicit conversion from to []. - The container's children tokens. + The value. + The result of the conversion. - + - Occurs when a property value changes. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Occurs when a property value is changing. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Gets the node type for this . + Performs an explicit conversion from to . - The type. + The value. + The result of the conversion. - + - Gets the with the specified key. + Performs an explicit conversion from to of . - The with the specified key. + The value. + The result of the conversion. - + - Gets or sets the with the specified property name. + Performs an explicit conversion from to . - + The value. + The result of the conversion. - + - Specifies the settings used when merging JSON. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the method used when merging JSON arrays. + Performs an implicit conversion from to . - The method used when merging JSON arrays. + The value to create a from. + The initialized with the specified value. - + - Represents a JSON property. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from of to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from of to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Writes this token to a . + Performs an implicit conversion from of to . - A into which this method will write. - A collection of which will be used when writing the token. + The value to create a from. + The initialized with the specified value. - + - Loads an from a . + Performs an implicit conversion from of to . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to create a from. + The initialized with the specified value. - + - Gets the container's children tokens. + Performs an implicit conversion from of to . - The container's children tokens. + The value to create a from. + The initialized with the specified value. - + - Gets the property name. + Performs an implicit conversion from of to . - The property name. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the property value. + Performs an implicit conversion from of to . - The property value. + The value to create a from. + The initialized with the specified value. - + - Gets the node type for this . + Performs an implicit conversion from of to . - The type. + The value to create a from. + The initialized with the specified value. - + - Represents a view of a . + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - The name. + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, returns whether resetting an object changes its value. + Performs an implicit conversion from to . - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, gets the current value of the property on a component. + Performs an implicit conversion from of to . - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, resets the value for this property of the component to the default value. + Performs an implicit conversion from to . - The component with the property value that is to be reset to the default value. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, sets the value of the component to a different value. + Performs an implicit conversion from of to . - The component with the property value that is to be set. - The new value. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + Performs an implicit conversion from of to . - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, gets the type of the component this property is bound to. + Performs an implicit conversion from 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. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, gets a value indicating whether this property is read-only. + Performs an implicit conversion from of to . - - true if the property is read-only; otherwise, false. - + The value to create a from. + The initialized with the specified value. - + - When overridden in a derived class, gets the type of the property. + Performs an implicit conversion from of to . - - A that represents the type of the property. - + The value to create a from. + The initialized with the specified value. - + - Gets the hash code for the name of the member. + Performs an implicit conversion from of to . - - - The hash code for the name of the member. - + The value to create a from. + The initialized with the specified value. - + - Represents a raw JSON string. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Represents a value in JSON (string, integer, date, etc). + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from [] to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Creates a for this token. - The value. + A that can be used to read this token and its descendants. - + - Initializes a new instance of the class with the given value. + Creates a from an object. - The value. + The object that will be used to create . + A with the value of the specified object. - + - Initializes a new instance of the class with the given value. + Creates a from an object using the specified . - The value. + 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. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Creates a comment with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A comment with the given value. + 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 string with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A string with the given value. + 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 null value. + Creates a from a . - A null value. + 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 null value. + Creates a from a . - A null value. + 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. + - + - Writes this token to a . + Load a from a string that contains JSON. - A into which this method will write. - A collection of which will be used when writing the token. + A that contains JSON. + A populated from the string that contains JSON. - + - Indicates whether the current object is equal to another object of the same type. + Load a from a string that contains JSON. - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. + 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. - + - Determines whether the specified is equal to the current . + Creates a from a . - The to compare with the current . + 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. - true if the specified is equal to the current ; otherwise, false. + 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. - - The parameter is null. - - + - Serves as a hash function for a particular type. + Creates a from a . + A positioned at the token to read into this . - A hash code for the current . + 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. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A , or null. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - The format. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath 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. + Creates a new instance of the . All child tokens are recursively cloned. - The expression tree representation of the runtime value. - - The to bind this object. - + A new instance of the . - + - 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. + Adds an object to the annotation list of this . - 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. - + The annotation to add. - + - Gets a value indicating whether this token has child tokens. + Get the first annotation object of the specified type from this . - - true if this token has child values; otherwise, false. - + 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 node type for this . + Gets the first annotation object of the specified type from this . - The type. + 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 or sets the underlying token value. + Gets a collection of annotations of the specified type for this . - The underlying token value. + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Initializes a new instance of the class from another object. + Gets a collection of annotations of the specified type for this . - A object to copy from. + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . - + - Initializes a new instance of the class. + Removes the annotations of the specified type from this . - The raw json. + The type of annotations to remove. - + - Creates an instance of with the content of the reader's current token. + Removes the annotations of the specified type from this . - The reader. - An instance of with the content of the reader's current token. + The of annotations to remove. @@ -6090,7 +6369,7 @@ The first object of type to compare. The second object of type to compare. - true if the specified objects are equal; otherwise, false. + true if the specified objects are equal; otherwise, false. @@ -6099,63 +6378,37 @@ 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. - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - 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 . + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets the at the reader's current position. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. + The initial path of the token. It is prepended to the returned . - 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. + true if the next token was read successfully; false if there are no more tokens to read. @@ -6260,8 +6513,19 @@ - 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 JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + The token being written. @@ -6276,22 +6540,26 @@ - 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. + - Writes the beginning of a Json object. + Writes the beginning of a JSON object. - Writes the beginning of a Json array. + Writes the beginning of a JSON array. @@ -6308,14 +6576,14 @@ - Writes the property name of a name/value pair on a Json object. + 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. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -6337,7 +6605,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -6359,113 +6627,356 @@ 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. + + + - Writes a value. + Creates a comment with the given value. - The value to write. + The value. + A comment with the given value. - + - Writes a value. + Creates a string with the given value. - The value to write. + The value. + A string with the given value. - + - Writes a value. + Creates a null value. - The value to write. + A null value. - + - Writes a value. + Creates a undefined value. - The value to write. + A undefined value. - + - Writes a value. + Gets the node type for this . - The value to write. + The type. - + - Writes a value. + Gets or sets the underlying token value. - The value to write. + The underlying token value. - + - Writes a value. + Writes this token to a . - The value to write. + A into which this method will write. + A collection of s which will be used when writing the token. - + - Writes a value. + Indicates whether the current object is equal to another object of the same type. - The value to write. + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. - + - Writes a value. + Determines whether the specified is equal to the current . - The value to write. + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Writes a value. + Serves as a hash function for a particular type. - The value to write. + + A hash code for the current . + - + - Writes a value. + Returns a that represents this instance. - The value to write. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format provider. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + The format provider. + + A that represents this instance. + - + - Writes a value. + 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. - The value to write. + 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. + - + - Writes a value. + Specifies how line information is handled when loading JSON. - The value to write. - + - Writes a value. + Ignore line information. - The value to write. - + - Gets the token being writen. + Load line information. - The token being writen. @@ -6484,6 +6995,21 @@ 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 . @@ -6497,7 +7023,7 @@ - Only members must be marked with or are serialized. + Only members marked with or are serialized. This member serialization mode can also be set by marking the class with . @@ -6505,7 +7031,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. @@ -6548,8 +7074,8 @@ Specifies null value handling options for the . - - + + @@ -6585,10 +7111,10 @@ 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 . - + @@ -6651,14 +7177,29 @@ 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 https://www.newtonsoft.com/jsonschema for more details. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6668,7 +7209,12 @@ + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6679,14 +7225,24 @@ + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://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 https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6694,65 +7250,14 @@ + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - - 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 . - - Gets or sets the id. @@ -6770,7 +7275,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6814,9 +7319,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. @@ -6832,15 +7337,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 (). @@ -6929,7 +7434,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -6937,22 +7442,101 @@ 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 https://www.newtonsoft.com/jsonschema for more details. + + + + - Gets or sets the collection of that this schema extends. + Gets the line number indicating where the error occurred. - The collection of that this schema extends. + The line number indicating where the error occurred. - + - Gets or sets the format. + Gets the line position indicating where the error occurred. - The format. + The line position indicating where the error occurred. - + - Returns detailed information about the schema exception. + Gets the path to the JSON where the error occurred. + The path to the JSON where the error occurred. @@ -6972,7 +7556,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. @@ -6980,31 +7564,29 @@ 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). - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. + The parameter is null. + The class name is null or is zero (0). - + - Gets the line position indicating where the error occurred. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The line position indicating where the error occurred. - + - Gets the path to the JSON where the error occurred. + Gets or sets how undefined schemas are handled by the serializer. - The path to the JSON where the error occurred. - + - Generates a from a specified . + Gets or sets the contract resolver. + The contract resolver. @@ -7038,21 +7620,21 @@ Specify whether the generated root will be nullable. A generated from the specified type. - - - Gets or sets how undefined schemas are handled by the serializer. - - - + - Gets or sets the contract resolver. + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The contract resolver. - + - Resolves from an id. + Gets or sets the loaded schemas. + The loaded schemas. @@ -7066,15 +7648,14 @@ The id. A for the specified reference. - - - Gets or sets the loaded schemas. - - The loaded schemas. - + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -7124,7 +7705,12 @@ + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -7144,7 +7730,12 @@ + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -7167,50 +7758,145 @@ + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Resolves member mappings for a type, camel casing property names. + 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 . + + + - Used by to resolves a for a given . + 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. + - + - Used by to resolves a for a given . + 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. - + - Initializes a new instance of the class. + 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 a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - @@ -7251,10 +7937,10 @@ - Resolves the default for the contract. + Resolves the default for the contract. Type of the object. - The contract's default . + The contract's default . @@ -7291,13 +7977,6 @@ 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. @@ -7340,108 +8019,49 @@ Resolves the name of the property. Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - 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. - + Resolved name of the property. - + - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + Resolves the name of the extension data. By default no changes are made to extension data names. - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - + Name of the extension data. + Resolved name of the extension data. - + - Initializes a new instance of the class. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + Key of the dictionary. + Resolved key of the dictionary. - + - Resolves the name of the property. + Gets the resolved name of the property. Name of the property. - The property name camel cased. - - - - 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 + Name of the property. - + - Gets the reference for the sepecified object. + The default naming strategy. Property names and dictionary keys are unchanged. - The serialization context. - The object to get a reference for. - The reference to the object. - + - Determines whether the specified object is referenced. + Resolves the specified property name. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + The property name to resolve. + The resolved property name. - + - Adds a reference to the specified object. + The default serialization binder used when resolving and loading classes from type names. - The serialization context. - The reference. - The object to reference. - + - The default serialization binder used when resolving and loading classes from type names. + Initializes a new instance of the class. @@ -7459,76 +8079,36 @@ 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. - - - - - Represents a trace 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. - - - - 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. + Specifies the name of the serialized object. + Specifies the name of the serialized object. - + - Writes the specified trace level, message and optional exception. + Represents a trace writer that writes to the application's instances. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. 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. - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - + - Sets the value. + Writes the specified trace level, message and optional exception. - The target to set the value on. - The value to set on the target. + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. - + - Gets the value. + Get and set values for a using dynamic methods. - The target to get the value from. - The value. @@ -7590,13 +8170,6 @@ Provides data for the Error event. - - - Initializes a new instance of the class. - - The current object. - The error context. - Gets the current object the error event is being raised against. @@ -7609,151 +8182,192 @@ The error context. - + - Get and set values for a using dynamic methods. + Initializes a new instance of the class. + The current object. + The error context. - + - Initializes a new instance of the class. + Provides methods to get attributes. - The member info. - + - Sets the value. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The target to set the value on. - The value to set on the target. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Gets the value. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - The target to get the value from. - The value. + 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. - + - Contract details for a used by the . + Used by to resolve a for a given . + + + + - + - Contract details for a used by the . + Resolves the contract for a given type. + The type to resolve a contract for. + The contract for a given type. - + - Contract details for a used by the . + Used to resolve references when serializing and deserializing JSON by the . - + - Gets the underlying type for the contract. + Resolves a reference to its object. - The underlying type for the contract. + The serialization context. + The reference to resolve. + The object that was resolved from the reference. - + - Gets or sets the type created during deserialization. + Gets the reference for the specified object. - The type created during deserialization. + The serialization context. + The object to get a reference for. + The reference to the object. - + - Gets or sets whether this type contract is serialized as a reference. + Determines whether the specified object is referenced. - Whether this type contract is serialized as a reference. + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + - + - Gets or sets the default for this contract. + Adds a reference to the specified object. - The converter. + The serialization context. + The reference. + The object to reference. - + - Gets or sets all methods called immediately after deserialization of the object. + Allows users to control class loading and mandate what class to load. - The methods called immediately after deserialization of the object. - + - Gets or sets all methods called during deserialization of the object. + When implemented, controls the binding of a serialized object to a type. - The methods called during deserialization of the object. + 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. - + - Gets or sets all methods called after serialization of the object graph. + When implemented, controls the binding of a serialized object to a type. - The methods called after serialization of the object graph. + 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. - + - Gets or sets all methods called before serialization of the object. + Represents a trace writer. - 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. + 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. - 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. + Sets the value. - The method called immediately after deserialization of the object. + The target to set the value on. + The value to set on the target. - + - Gets or sets the method called during deserialization of the object. + Gets the value. - The method called during deserialization of the object. + The target to get the value from. + The value. - + - Gets or sets the method called after serialization of the object graph. + Contract details for a used by the . - The method called after serialization of the object graph. - + - Gets or sets the method called before serialization of the object. + Gets the of the collection items. - The method called before serialization of the object. + The of the collection items. - + - Gets or sets the method called when an error is thrown during the serialization of the object. + Gets a value indicating whether the collection type is a multidimensional array. - The method called when an error is thrown during the serialization of the object. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets the default creator method used to create the object. + Gets or sets the function used to create the object. When set this function will override . - The default creator method used to create the object. + The function used to create the object. - + - Gets or sets a value indicating whether the default creator is non public. + Gets a value indicating whether the creator has a parameter with the collection values. - true if the default object creator is non-public; otherwise, false. + true if the creator has a parameter with the collection values; otherwise, false. - + - Initializes a new instance of the class. + 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 . + Gets or sets the default collection items . The converter. @@ -7775,69 +8389,129 @@ The type name handling. - + - Initializes a new instance of the class. + Initializes a new instance of the class. The underlying type for the contract. - + - Gets the of the collection items. + Handles serialization callback events. - The of the collection items. + The object that raised the callback event. + The streaming context. - + - Gets a value indicating whether the collection type is a multidimensional array. + Handles serialization error callback events. - true if the collection type is a multidimensional array; otherwise, false. + The object that raised the callback event. + The streaming context. + The error context. - + - Handles serialization callback events. + Sets extension data for an object during deserialization. - The object that raised the callback event. - The streaming context. + 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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. + + - Handles serialization error callback events. + Gets or sets all method called when an error is thrown during the serialization of the object. - The object that raised the callback event. - The streaming context. - The error context. + The methods called when an error is thrown during the serialization of the object. - + - Sets extension data for an object during deserialization. + Gets or sets the default creator method used to create the object. - The object to set extension data on. - The extension data key. - The extension data value. + The default creator method used to create the object. - + - Gets extension data for an object during serialization. + Gets or sets a value indicating whether the default creator is non-public. - The object to set extension data on. + true if the default object creator is non-public; otherwise, false. Contract details for a used by the . - - - Initializes a new instance of the class. - - The underlying type for the contract. - - + - Gets or sets the property name resolver. + Gets or sets the dictionary key resolver. - The property name resolver. + The dictionary key resolver. @@ -7851,33 +8525,34 @@ The of the dictionary values. - + - Contract details for a used by the . + Gets or sets the function used to create the object. When set this function will override . + The function used to create the object. - + - Initializes a new instance of the class. + Gets a value indicating whether the creator has a parameter with the dictionary values. - The underlying type for the contract. + true if the creator has a parameter with the dictionary values; otherwise, false. - + - Gets the object's properties. + Initializes a new instance of the class. - The object's properties. + The underlying type for the contract. - + - Gets or sets the property name resolver. + Contract details for a used by the . - The property name resolver. - + - Contract details for a used by the . + Gets or sets the object constructor. + The object constructor. @@ -7885,12 +8560,6 @@ The underlying type for the contract. - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - Contract details for a used by the . @@ -7907,18 +8576,18 @@ Contract details for a used by the . - - - Initializes a new instance of the class. - - The underlying type for the contract. - Gets or sets the object member serialization. The member object serialization. + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + Gets or sets a value that indicates whether the object's properties are required. @@ -7927,39 +8596,26 @@ A value indicating whether the object's properties are required. - + - Gets the object's properties. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - The object's properties. + How the object's properties with null values are handled during serialization and deserialization. - + - Gets the constructor parameters required for any non-default constructor + Gets the object's properties. + The object's properties. 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 . + 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. @@ -7974,6 +8630,23 @@ 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 . @@ -7990,14 +8663,6 @@ Maps a JSON property to a .NET member or constructor parameter. - - - Returns a that represents this instance. - - - A that represents this instance. - - Gets or sets the name of the property. @@ -8012,9 +8677,9 @@ - Gets or sets the order of serialization and deserialization of a member. + Gets or sets the order of serialization of a member. - The numeric order of serialization or deserialization. + The numeric order of serialization. @@ -8028,6 +8693,12 @@ 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. @@ -8036,8 +8707,8 @@ - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -8083,6 +8754,11 @@ A value indicating whether this is required. + + + Gets a value indicating whether has a value specified. + + Gets or sets a value indicating whether this property preserves object references. @@ -8123,9 +8799,15 @@ - 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 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 serialize. + A predicate used to determine whether the property should be deserialized. @@ -8139,6 +8821,14 @@ 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. @@ -8153,13 +8843,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. @@ -8190,7 +8880,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. @@ -8215,12 +8905,74 @@ 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. + + + + A kebab 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. + 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. @@ -8248,15 +9000,78 @@ A of the most recent trace messages. - + - 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. + A base class for resolving how property names and dictionary keys are serialized. - - The that will be used to filter the trace messages passed to the writer. - + + + + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + @@ -8269,6 +9084,32 @@ 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. @@ -8294,6 +9135,50 @@ 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. @@ -8314,10 +9199,30 @@ 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. + + 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 . + @@ -8342,34 +9247,27 @@ 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. - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - Converts the value to the specified type. If the value is unable to be converted, the @@ -8383,45 +9281,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 - 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 + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - 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. @@ -8436,15 +9302,6 @@ 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. @@ -8493,25 +9350,18 @@ - 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -8521,12 +9371,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. @@ -8536,7 +9386,7 @@ - A array is being written. + An array is being written. @@ -8551,8 +9401,46 @@ - A write method has not been called. + A write method has not been called. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll new file mode 100644 index 0000000..628aaf0 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.xml similarity index 72% rename from packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.xml index b94d3cd..0cbf62c 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.xml @@ -4,1666 +4,2061 @@ Newtonsoft.Json - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Represents a BSON Oid (object id). - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Gets or sets the value of the Oid. + The value of the Oid. - + - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. + The Oid value. - + - Reads the next JSON token from the stream. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - 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 . + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - A . This method will return null at the end of an array. + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets a value indicating whether the root object will be read as a JSON array. - A . This method will return null at the end of an array. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets the used when reading values from BSON. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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. - + - Skips the children of the current token. + 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. - + - Sets the current token. + Reads the next JSON token from the underlying . - The new token. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Sets the current token and value. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The new token. - The value. - + - Sets the state based on current token type. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + The used when writing values to BSON. - + - Releases unmanaged and - optionally - managed resources + Initializes a new instance of the class. - true to release both managed and unmanaged resources; false to release only unmanaged resources. + The to write to. - + - Changes the to Closed. + Initializes a new instance of the class. + The to write to. - + - Gets the current reader state. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - The current reader state. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the end. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The token. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes a comment /*...*/ containing the specified text. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + Text to place inside the comment. - + - Gets the quotation mark character used to enclose the value of a string. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Get or set how time zones are handling when reading JSON. + Writes raw JSON. + The raw JSON to write. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the beginning of a JSON array. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Gets the type of the current JSON token. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets the text value of the current JSON token. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a null value. - + - Gets the depth of the current token in the JSON document. + Writes an undefined value. - The depth of the current token in the JSON document. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a value. + The value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value. - The stream. + The [] value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a [] value that represents a BSON object id. - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The Object ID value to write. - + - Reads the next JSON token from the stream as a . + Writes a BSON regex. - A . This method will return null at the end of an array. + The regex pattern. + The regex options. - + - Reads the next JSON token from the stream as a . + Specifies how constructors are used when initializing objects during deserialization by the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - - A . This method will return null at the end of an array. - - + - Reads the next JSON token from the stream. + Writes the JSON representation of the object. - - true if the next token was read successfully; false if there are no more tokens to read. - + The to write to. + The value. + The calling serializer. - + - Changes the to Closed. + 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. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Determines whether this instance can convert the specified object type. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Converts a to and from JSON and BSON. - - true if the root object will be read as a JSON array; otherwise, false. - - + - Gets or sets the used when reading values from BSON. + Writes the JSON representation of the object. - The used when reading values from BSON. + The to write to. + The value. + The calling serializer. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + 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. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + 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 an instance of the JsonWriter class. + Creates a custom object. + The object type to convert. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Closes this stream and the underlying stream. + 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. - + - Writes the beginning of a Json object. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Writes the end of a Json 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. + - + - Writes the beginning of a Json array. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of an array. + Converts a to and from JSON. - + - Writes the start of a constructor with the given name. + Writes the JSON representation of the object. - The name of the constructor. + The to write to. + The value. + The calling serializer. - + - Writes the end constructor. + 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. - + - Writes the property name of a name/value pair on a JSON object. + Determines whether this instance can convert the specified value type. - The name of the property. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Writes the property name of a name/value pair on a JSON object. + Converts a to and from JSON. - 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 JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the current token and its children. + Reads the JSON representation of the object. - The to read the token from. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the current token. + Determines whether this instance can convert the specified value type. - The to read the token from. - A flag indicating whether the current token's children should be written. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Writes the specified end token. + Provides a base class for converting a to and from JSON. - The end token to write. - + - Writes indent characters. + 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. + - + - Writes the JSON value delimiter. + Converts a F# discriminated union type to and from JSON. - + - Writes an indent space. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes a null 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. - + - Writes an undefined 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. + - + - Writes raw JSON without changing the writer's state. + Converts an Entity Framework to and from JSON. - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + Writes the JSON representation of the object. - The raw JSON to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Gets a value indicating whether this can write JSON. - The value to write. + + true if this can write JSON; otherwise, false. + - + - Writes a value. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - The value to write. - + - Writes a value. + Gets or sets the date time styles used when converting a date to and from JSON. - The value to write. + The date time styles used when converting a date to and from JSON. - + - Writes a value. + Gets or sets the date time format used when converting a date to and from JSON. - The value to write. + The date time format used when converting a date to and from JSON. - + - Writes a value. + Gets or sets the culture used when converting a date to and from JSON. - The value to write. + The culture used when converting a date to and from JSON. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Converts a to and from Unix epoch time - The value to write. - + - Writes out a comment /*...*/ containing the specified text. + Writes the JSON representation of the object. - Text to place inside the comment. + The to write to. + The value. + The calling serializer. - + - Writes out the given white space. + Reads the JSON representation of the object. - The string of white space characters. + 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. - + - Sets the state of the JsonWriter, + Converts a to and from a string (e.g. "1.2.3.4"). - The JsonToken being written. - The value being written. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Writes the JSON representation of the object. - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - + The to write to. + The value. + The calling serializer. - + - Gets the top. + Reads the JSON representation of the object. - The top. + 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. - + - Gets the state of the writer. + 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 path of the writer. + Converts XML to and from JSON. - + - Indicates how JSON text output is formatted. + 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. - + - Get or set how dates are written to JSON text. + Gets or sets a value 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. - + - Get or set how time zones are handling when writing JSON text. + Gets or sets a value indicating whether to write the root JSON object. + true if the JSON root object is omitted; otherwise, false. - + - Get or set how strings are escaped when writing JSON text. + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + true if special characters are encoded; otherwise, false. - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + Writes the JSON representation of the object. + The to write to. + The calling serializer. + The value. - + - Get or set how and values are formatting when writing JSON text. + 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. - + - Gets or sets the culture used when writing JSON. Defaults to . + 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. - + - Initializes a new instance of the class. + Determines whether this instance can convert the specified value type. - The stream. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Initializes a new instance of the class. + Specifies how dates are formatted when writing JSON text. - The writer. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - + - Writes the end. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - The token. - + - Writes out a comment /*...*/ containing the specified text. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - Text to place inside the comment. - + - Writes the start of a constructor with the given name. + Date formatted strings are not parsed to a date type and are read as strings. - The name of the constructor. - + - Writes raw JSON. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The raw JSON to write. - + - Writes the beginning of a Json array. + Specifies how to treat the time value when converting between string and . - + - Writes the beginning of a Json object. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - + - Writes the property name of a name/value pair on a Json object. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - The name of the property. - + - Closes this stream and the underlying stream. + 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. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Time zone information should be preserved when converting. - The value to write. - + - Writes a null value. + The default JSON name table implementation. - + - Writes an undefined value. + Initializes a new instance of the class. - + - Writes a value. + Gets a string containing the same characters as the specified range of characters in the given array. - The value to write. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Writes a value. + Adds the specified string into name table. - The value to write. + The string to add. + This method is not thread-safe. + The resolved string. - + - Writes a value. + Specifies default value handling options for the . - The value to write. + + + + - + - Writes a value. + 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. - The value to write. - + - Writes a value. + 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. - The value to write. - + - Writes a value. + Members with a default value but no JSON will be set to their default value when deserializing. - The value to write. - + - Writes a value. + 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. - The value to write. - + - Writes a value. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - The value to write. - + - Writes a value. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - The value to write. - + - Writes a value. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - The value to write. - + - Writes a value. + 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. - The value to write. - + - Writes a value. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The value to write. - + - Writes a value. + Floating point numbers are parsed to . - The value to write. - + - Writes a value. + Floating point numbers are parsed to . - The value to write. - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Provides an interface for using pooled arrays. - The value to write. + The array type content. - + - Writes a value. + Rent an array from the pool. This array must be returned when it is no longer needed. - The value to write. + 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. - + - Writes a value. + Return an array to the pool. - The value to write. + The array that is being returned. - + - Writes a value that represents a BSON object id. + Provides an interface to enable a class to return line and position information. - The Object ID value to write. - + - Writes a BSON regex. + Gets a value indicating whether the class can return line information. - The regex pattern. - The regex options. + + true if and can be provided; otherwise, false. + - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + Gets the current line number. - The used when writing values to BSON. + The current line number or 0 if no line information is available (for example, when returns false). - + - Represents a BSON Oid (object id). + Gets the current line position. + The current line position or 0 if no line information is available (for example, when returns false). - + - Initializes a new instance of the class. + Instructs the how to serialize the collection. - The Oid value. - + - Gets or sets the value of the Oid. + Gets or sets a value indicating whether null items are allowed in the collection. - The value of the Oid. + true if null items are allowed in the collection; otherwise, false. - + - Converts a binary value to and from a base 64 string value. + Initializes a new instance of the class. - + - Converts an object to and from JSON. + 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. - + - Writes the JSON representation of the object. + Initializes a new instance of the class with the specified container Id. - The to write to. - The value. - The calling serializer. + The container Id. - + - Reads the JSON representation of the object. + Instructs the to use the specified constructor when deserializing that 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. + Instructs the how to serialize the object. - 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. + Gets or sets the id. - The of the JSON produced by the JsonConverter. + The id. - + - Gets a value indicating whether this can read JSON. + Gets or sets the title. - true if this can read JSON; otherwise, false. + The title. - + - Gets a value indicating whether this can write JSON. + Gets or sets the description. - true if this can write JSON; otherwise, false. + The description. - + - Writes the JSON representation of the object. + Gets or sets the collection's items converter. - The to write to. - The value. - The calling serializer. + The collection's items converter. - + - Reads the JSON representation of the object. + 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. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Determines whether this instance can convert the specified object type. + Gets or sets the of the . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The of the . - + - Converts a to and from JSON. + 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" })] + + - + - Writes the JSON representation of the object. + Gets or sets a value that indicates whether to preserve object references. - The to write to. - The value. - The calling serializer. + + true to keep object reference; otherwise, false. The default is false. + - + - Reads the JSON representation of the object. + Gets or sets a value that indicates whether to preserve collection's items references. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + true to keep collection's items object references; otherwise, false. The default is false. + - + - Determines whether this instance can convert the specified value type. + Gets or sets the reference loop handling used when serializing the collection's items. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The reference loop handling. - + - Converts a to and from JSON. + Gets or sets the type name handling used when serializing the collection's items. + The type name handling. - + - Writes the JSON representation of the object. + Initializes a new instance of the class. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class with the specified container Id. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The container Id. - + - Determines whether this instance can convert the specified value type. + Provides methods for converting between .NET types and JSON types. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + + + - + - Create a custom object + 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 + . - The object type to convert. - + - Writes the JSON representation of the object. + Represents JavaScript's boolean value true as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's boolean value false as a string. This field is read-only. - 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. + Represents JavaScript's null as a string. This field is read-only. - Type of the object. - The created object. - + - Determines whether this instance can convert the specified object type. + Represents JavaScript's undefined as a string. This field is read-only. - 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. + Represents JavaScript's positive infinity as a string. This field is read-only. - - true if this can write JSON; otherwise, false. - - + - Provides a base class for converting a to and from JSON. + Represents JavaScript's negative infinity as a string. This field is read-only. - + - Determines whether this instance can convert the specified object type. + Represents JavaScript's NaN as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Converts an Entity Framework EntityKey to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation using the specified. - The to write to. - The value. - The calling serializer. + 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 . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation using the specified. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + The format the date will be converted to. + A JSON string representation of the . - + - Converts a to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts a to and from JSON and BSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts a to and from JSON and BSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts an to and from its name string value. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Initializes a new instance of the class. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Gets or sets a value indicating whether the written enum text should be camel case. + Converts the to its JSON string representation. - true if the written enum text will be camel case; otherwise, false. + The value to convert. + A JSON string representation of the . - + - Gets or sets a value indicating whether integer values are allowed. + Converts the to its JSON string representation. - true if integers are allowed; otherwise, false. + The value to convert. + The string delimiter character. + A JSON string representation of the . - + - Specifies how constructors are used when initializing objects during deserialization by 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 . - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + Serializes the specified object to a JSON string. + The object to serialize. + A JSON string representation of the object. - + - Converts a to and from a string (e.g. "1.2.3.4"). + 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. + - + - Writes the JSON representation of the object. + Serializes the specified object to a JSON string using a collection of . - The to write to. - The value. - The calling serializer. + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. - + - Reads the JSON representation of the object. + Serializes the specified object to a JSON string using formatting and a collection of . - 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. + 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. - + - Determines whether this instance can convert the specified object type. + Serializes the specified object to a JSON string using . - Type of the object. + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. - true if this instance can convert the specified object type; otherwise, false. + A JSON string representation of the object. - + - Specifies how dates are formatted when writing JSON text. + 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. + - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + 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. + - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + 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. + - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Deserializes the JSON to a .NET object. + The JSON to deserialize. + The deserialized object from the JSON string. - + - Date formatted strings are not parsed to a date type and are read as strings. + 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. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Deserializes the JSON to the specified .NET type. + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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. - + - Specifies how to treat the time value when converting between string and . + 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. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + 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. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + 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. - + - 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. + 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. - + - Time zone information should be preserved when converting. + 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. - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + 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. - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Populates the object with values from the JSON string. + The JSON to populate values from. + The target object to populate values onto. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + 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. + - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Serializes the to a JSON string. + The node to serialize. + A JSON string of the . - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Serializes the to a JSON string using formatting. + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . - + - Floating point numbers are parsed to . + 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 . - + - Floating point numbers are parsed to . + Deserializes the from a JSON string. + The JSON string. + The deserialized . - + - Specifies formatting options for the . + 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 . - + - No special formatting is applied. This is the default. + 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 value 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 . - + - Causes child objects to be indented according to the and settings. + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . - + - Instructs the to use the specified constructor when deserializing that object. + Serializes the to a JSON string. + The node to convert to JSON. + A JSON string of the . - + - Instructs the how to serialize the collection. + 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 . - + - Instructs the how to serialize the object. + 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 . - + - Initializes a new instance of the class. + Deserializes the from a JSON string. + The JSON string. + The deserialized . - + - Initializes a new instance of the class with the specified container Id. + Deserializes the from a JSON string nested in a root element specified by . - The container Id. + The JSON string. + The name of the root element to append when deserializing. + The deserialized . - + - Gets or sets the id. + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. - The id. + The JSON string. + The name of the root element to append when deserializing. + + A value 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 . - + - Gets or sets the title. + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. - The title. + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . - + - Gets or sets the description. + Converts an object to and from JSON. - The description. - + - Gets the collection's items converter. + Writes the JSON representation of the object. - The collection's items converter. + The to write to. + The value. + The calling serializer. - + - Gets or sets a value that indicates whether to preserve object references. + Reads the JSON representation of the object. - - true to keep object reference; otherwise, false. The default is false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Determines whether this instance can convert the specified object type. - - true to keep collection's items object references; otherwise, false. The default is false. - + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Gets or sets the reference loop handling used when serializing the collection's items. + Gets a value indicating whether this can read JSON. - The reference loop handling. + true if this can read JSON; otherwise, false. - + - Gets or sets the type name handling used when serializing the collection's items. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. - The type name handling. @@ -1678,7 +2073,7 @@ - The exception thrown when an error occurs during Json serialization or deserialization. + The exception thrown when an error occurs during JSON serialization or deserialization. @@ -1699,7 +2094,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. @@ -1707,8 +2102,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). @@ -1716,11 +2111,6 @@ and write values during serialization. - - - Initializes a new instance of the class. - - Gets or sets a value that indicates whether to write extension data when serializing the object. @@ -1737,4987 +2127,5535 @@ true to read extension data when deserializing the object; otherwise, false. The default is true. - + - Represents a view of a . + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Instructs the not to serialize the public field or public read/write property value. - The name. - + - When overridden in a derived class, returns whether resetting an object changes its value. + Base class for a table of atomized string objects. - - 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. + Gets a string containing the same characters as the specified range of characters in the given array. - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - When overridden in a derived class, resets the value for this property of the component to the default value. + Instructs the how to serialize the object. - 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. + Gets or sets the member serialization. - The component with the property value that is to be set. - The new value. - + The member serialization. - + - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + Gets or sets the missing member handling used when deserializing this object. - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - + The missing member handling. - + - When overridden in a derived class, gets the type of the component this property is bound to. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - 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. - + How the object's properties with null values are handled during serialization and deserialization. - + - When overridden in a derived class, gets a value indicating whether this property is read-only. + Gets or sets a value that indicates whether the object's properties are required. - - true if the property is read-only; otherwise, false. - + + A value indicating whether the object's properties are required. + - + - When overridden in a derived class, gets the type of the property. + Initializes a new instance of the class. - - A that represents the type of the property. - - + - Gets the hash code for the name of the member. + Initializes a new instance of the class with the specified member serialization. - - - The hash code for the name of the member. - + The member serialization. - + - Specifies the settings used when merging JSON. + Initializes a new instance of the class with the specified container Id. + The container Id. - + - Gets or sets the method used when merging JSON arrays. + Instructs the to always serialize the member with the specified name. - The method used when merging JSON arrays. - + - Specifies how JSON arrays are merged together. + Gets or sets the type used when serializing the property's collection items. + The collection's items type. - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - + - Specifies metadata property handling options for 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(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Read metadata properties located at the start of a JSON object. + Gets or sets the of the . + The of the . - + - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + 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" })] + + - + - Do not try to read metadata properties. + Gets or sets the null value handling used when serializing this property. + The null value handling. - + - Represents a trace writer that writes to the application's instances. + Gets or sets the default value handling used when serializing this property. + The default value handling. - + - Represents a trace writer. + Gets or sets the reference loop handling used when serializing this property. + The reference loop handling. - + - Writes the specified trace level, message and optional exception. + Gets or sets the object creation handling used when deserializing this property. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + The object creation handling. - + - 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. + Gets or sets the type name handling used when serializing this property. - The that will be used to filter the trace messages passed to the writer. + The type name handling. - + - Writes the specified trace level, message and optional exception. + Gets or sets whether this property's value is serialized as a reference. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + Whether this property's value is serialized as a reference. - + - 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. + 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. - The that will be used to filter the trace messages passed to the writer. + A value indicating whether this property is required. - + - Contract details for a used by the . + Gets or sets the name of the property. + The name of the property. - + - Contract details for a used by the . + Gets or sets the reference loop handling used when serializing the property's collection items. + The collection's items reference loop handling. - + - Gets the underlying type for the contract. + Gets or sets the type name handling used when serializing the property's collection items. - The underlying type for the contract. + The collection's items type name handling. - + - Gets or sets the type created during deserialization. + Gets or sets whether this property's collection items are serialized as a reference. - The type created during deserialization. + Whether this property's collection items are serialized as a reference. - + - Gets or sets whether this type contract is serialized as a reference. + Initializes a new instance of the class. - Whether this type contract is serialized as a reference. - + - Gets or sets the default for this contract. + Initializes a new instance of the class with the specified name. - The converter. + Name of the property. - + - Gets or sets all methods called immediately after deserialization of the object. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - The methods called immediately after deserialization of the object. - + - Gets or sets all methods called during deserialization of the object. + Specifies the state of the reader. - The methods called during deserialization of the object. - + - Gets or sets all methods called after serialization of the object graph. + A read method has not been called. - The methods called after serialization of the object graph. - + - Gets or sets all methods called before serialization of the object. + The end of the file has been reached successfully. - 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. + Reader is at a property. - 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. + Reader is at the start of an object. - The method called immediately after deserialization of the object. - + - Gets or sets the method called during deserialization of the object. + Reader is in an object. - The method called during deserialization of the object. - + - Gets or sets the method called after serialization of the object graph. + Reader is at the start of an array. - The method called after serialization of the object graph. - + - Gets or sets the method called before serialization of the object. + Reader is in an array. - 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 has been called. - 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. + Reader has just read a value. - The default creator method used to create the object. - + - Gets or sets a value indicating whether the default creator is non public. + Reader is at the start of a constructor. - true if the default object creator is non-public; otherwise, false. - + - Initializes a new instance of the class. + Reader is in a constructor. - The underlying type for the contract. - + - Gets or sets the default collection items . + An error occurred that prevents the read operation from continuing. - The converter. - + - Gets or sets a value indicating whether the collection items preserve object references. + The end of the file has been reached successfully. - true if collection items preserve object references; otherwise, false. - + - Gets or sets the collection item reference loop handling. + Gets the current reader state. - The reference loop handling. + The current reader state. - + - Gets or sets the collection item type name handling. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - The type name handling. + + true to close the source when this reader is closed; otherwise false. The default is true. + - + - 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 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. + - + - Initializes a new instance of the class. + Gets the quotation mark character used to enclose the value of a string. - + - Writes the specified trace level, message and optional exception. + Gets or sets how time zones are handled when reading JSON. - 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. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - An enumeration of the most recent trace messages. - + - Returns a of the most recent trace messages. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - A of the most recent trace messages. - - + - 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. + Gets or sets how custom date formatted strings are parsed when reading JSON. - - The that will be used to filter the trace messages passed to the writer. - - + - Provides an interface to enable a class to return line and position information. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - + - Gets a value indicating whether the class can return line information. + Gets the type of the current JSON token. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Gets the text value of the current JSON token. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + - Gets the current line position. + Gets the .NET type for the current JSON token. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + - Specifies how strings are escaped when writing JSON text. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Only control characters (e.g. newline) are escaped. + Gets the path of the current JSON token. - + - All non-ASCII and control characters (e.g. newline) are escaped. + Gets or sets the culture used when reading JSON. Defaults to . - + - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + Initializes a new instance of the class. - + - Represents a raw JSON string. + 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. - + - Represents a value in JSON (string, integer, date, etc). + Reads the next JSON token from the source as a of . + A of . This method will return null at the end of an array. - + - Represents an abstract JSON token. + Reads the next JSON token from the source as a . + A . This method will return null at the end of an array. - + - Represents a collection of objects. + Reads the next JSON token from the source as a []. - The type of token + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Gets the with the specified key. + Reads the next JSON token from the source as a of . - + A of . This method will return null at the end of an array. - + - Compares the values of two tokens, including the values of all descendant tokens. + Reads the next JSON token from the source as a of . - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. + A of . This method will return null at the end of an array. - + - Adds the specified content immediately after this token. + Reads the next JSON token from the source as a of . - A content object that contains simple content or a collection of content objects to be added after this token. + A of . This method will return null at the end of an array. - + - Adds the specified content immediately before this token. + Reads the next JSON token from the source as a of . - A content object that contains simple content or a collection of content objects to be added before this token. + A of . This method will return null at the end of an array. - + - Returns a collection of the ancestor tokens of this token. + Reads the next JSON token from the source as a of . - A collection of the ancestor tokens of this token. + A of . This method will return null at the end of an array. - + - Returns a collection of the sibling tokens after this token, in document order. + Skips the children of the current token. - 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. + Sets the current token. - A collection of the sibling tokens before this token, in document order. + The new token. - + - Gets the with the specified key converted to the specified type. + Sets the current token and value. - The type to convert the token to. - The token key. - The converted token value. + The new token. + The value. - + - Returns a collection of the child tokens of this token, in document order. + Sets the current token and value. - An of containing the child tokens of this , in document order. + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. - + - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + Sets the state based on current token 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. + Releases unmanaged and - optionally - managed resources. - The type to convert the values to. - A containing the child values of this , in document order. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Removes this token from its parent. + Changes the reader's state to . + If is set to true, the source is also closed. - + - Replaces this token with the specified token. + The exception thrown when an error occurs while reading JSON text. - The value. - + - Writes this token to a . + Gets the line number indicating where the error occurred. - A into which this method will write. - A collection of which will be used when writing the token. + The line number indicating where the error occurred. - + - Returns the indented JSON for this token. + Gets the line position indicating where the error occurred. - - The indented JSON for this token. - + The line position indicating where the error occurred. - + - Returns the JSON for this token using the given formatting and converters. + Gets the path to the JSON where the error occurred. - 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. + The path to the JSON where the error occurred. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class + with a specified error message. - The value. - The result of the conversion. + The error message that explains the reason for the exception. - + - Performs an explicit conversion from to . + 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 value. - The result of the conversion. + 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. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. + 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). - + - Performs an explicit conversion from to . + 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 value. - The result of the conversion. + 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. - + - Performs an explicit conversion from to . + Instructs the to always serialize the member, and to require that the member has a value. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + The exception thrown when an error occurs during JSON serialization or deserialization. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the line number indicating where the error occurred. - The value. - The result of the conversion. + The line number indicating where the error occurred. - + - Performs an explicit conversion from to . + Gets the line position indicating where the error occurred. - The value. - The result of the conversion. + The line position indicating where the error occurred. - + - Performs an explicit conversion from to . + Gets the path to the JSON where the error occurred. - The value. - The result of the conversion. + The path to the JSON where the error occurred. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class + with a specified error message. - The value. - The result of the conversion. + The error message that explains the reason for the exception. - + - Performs an explicit conversion from to . + 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 value. - The result of the conversion. + 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. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. + 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). - + - Performs an explicit conversion from to . + 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 value. - The result of the conversion. + 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. - + - Performs an explicit conversion from to . + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Occurs when the errors during serialization and deserialization. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving references. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving type names. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving type names. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when writing trace messages. - The value. - The result of the conversion. + The trace writer. - + - Performs an explicit conversion from to . + Gets or sets the equality comparer used by the serializer when comparing references. - The value. - The result of the conversion. + The equality comparer. - + - Performs an explicit conversion from to . + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . - The value. - The result of the conversion. + + 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 . + - + - Performs an explicit conversion from to . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The value. - The result of the conversion. + The type name assembly format. - + - Performs an explicit conversion from to . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The value. - The result of the conversion. + The type name assembly format. - + - Performs an explicit conversion from to . + Gets or sets how object references are preserved by the serializer. + The default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + 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 default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how objects are created during deserialization. + The default value is . - The value. - The result of the conversion. + The object creation handling. - + - Performs an explicit conversion from to . + Gets or sets how constructors are used during deserialization. + The default value is . - The value. - The result of the conversion. + The constructor handling. - + - Performs an explicit conversion from to . + Gets or sets how metadata properties are used during deserialization. + The default value is . - The value. - The result of the conversion. + The metadata properties handling. - + - Performs an explicit conversion from to . + Gets a collection that will be used during serialization. - The value. - The result of the conversion. + Collection that will be used during serialization. - + - Performs an explicit conversion from to . - - The value. - The result of the conversion. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when invoking serialization callback methods. - The value. - The result of the conversion. + The context. - + - Performs an explicit conversion from to . + Indicates how JSON text output is formatted. + The default value is . - The value. - The result of the conversion. - + - Performs an implicit conversion from to . + Gets or sets how dates are written to JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets the culture used when reading JSON. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. - The value to create a from. - The initialized with the specified value. + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + - + - Performs an implicit conversion from to . + Initializes a new instance of the class. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Creates a new instance. + The will not use default settings + from . - The value to create a from. - The initialized with the specified value. + + A new instance. + The will not use default settings + from . + - + - Performs an implicit conversion from to . + Creates a new instance using the specified . + The will not use default settings + from . - The value to create a from. - The initialized with the specified value. + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + - + - Performs an implicit conversion from to . + Creates a new instance. + The will use default settings + from . - The value to create a from. - The initialized with the specified value. + + A new instance. + The will use default settings + from . + - + - Performs an implicit conversion from to . + Creates a new instance using the specified . + The will use default settings + from as well as the specified . - The value to create a from. - The initialized with the specified value. + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + - + - Performs an implicit conversion from to . + Populates the JSON values onto the target object. - The value to create a from. - The initialized with the specified value. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Performs an implicit conversion from to . + Populates the JSON values onto the target object. - The value to create a from. - The initialized with the specified value. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Performs an implicit conversion from to . + Deserializes the JSON structure contained by the specified . - The value to create a from. - The initialized with the specified value. + The that contains the JSON structure to deserialize. + The being deserialized. - + - Performs an implicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value to create a from. - The initialized with the specified value. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Performs an implicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value to create a from. - The initialized with the specified value. + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. - + - Performs an implicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value to create a from. - The initialized with the specified value. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Performs an implicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value to create a from. - The initialized with the specified value. + The used to write the JSON structure. + The to serialize. - + - Performs an implicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value to create a from. - The initialized with the specified value. + The used to write the JSON structure. + The to serialize. - + - Performs an implicit conversion from to . + Specifies the settings on a object. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + The default value is . - The value to create a from. - The initialized with the specified value. + Reference loop handling. - + - Performs an implicit conversion from to . + 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 default value is . - The value to create a from. - The initialized with the specified value. + Missing member handling. - + - Performs an implicit conversion from to . + Gets or sets how objects are created during deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. + The object creation handling. - + - Performs an implicit conversion from to . + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. + Null value handling. - + - Performs an implicit conversion from to . + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. + The default value handling. - + - Performs an implicit conversion from to . + Gets or sets a collection that will be used during serialization. - The value to create a from. - The initialized with the specified value. + The converters. - + - Performs an implicit conversion from to . + Gets or sets how object references are preserved by the serializer. + The default value is . - The value to create a from. - The initialized with the specified value. + The preserve references handling. - + - Performs an implicit conversion from to . + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . - The value to create a from. - The initialized with the specified value. + + 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. - + - Performs an implicit conversion from to . + Gets or sets how metadata properties are used during deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. + The metadata properties handling. - + - Creates an for this token. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - An that can be used to read this token and its descendants. + The type name assembly format. - + - Creates a from an object. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The object that will be used to create . - A with the value of the specified object + The type name assembly format. - + - Creates a from an object using the specified . + Gets or sets how constructors are used during deserialization. + The default value is . - 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 + The constructor handling. - + - Creates the specified .NET type from the . + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The object type that the token will be deserialized to. - The new object created from the JSON value. + The contract resolver. - + - Creates the specified .NET type from the . + Gets or sets the equality comparer used by the serializer when comparing references. - The object type that the token will be deserialized to. - The new object created from the JSON value. + The equality comparer. - + - Creates the specified .NET type from the using the specified . + Gets or sets the used by the serializer when resolving references. - 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. + The reference resolver. - + - Creates the specified .NET type from the using the specified . + Gets or sets a function that creates the used by the serializer when resolving references. - 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. + A function that creates the used by the serializer when resolving references. - + - Creates a from a . + Gets or sets the used by the serializer when writing trace messages. - 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. - + The trace writer. - + - Load a from a string that contains JSON. + Gets or sets the used by the serializer when resolving type names. - A that contains JSON. - A populated from the string that contains JSON. + The binder. - + - Creates a from a . + Gets or sets the used by the serializer when resolving type names. - 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. - + The binder. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Gets or sets the error handler called during serialization and deserialization. - - A that contains a JPath expression. - - A , or null. + The error handler called during serialization and deserialization. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Gets or sets the used by the serializer when invoking serialization callback methods. - - 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 . + The context. - + - Selects a collection of elements using a JPath expression. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - A that contains a JPath expression. - - An that contains the selected elements. - + - Selects a collection of elements using a JPath expression. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - - 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. - + - Creates a new instance of the . All child tokens are recursively cloned. + Indicates how JSON text output is formatted. + The default value is . - A new instance of the . - + - Gets a comparer that can compare two tokens for value equality. + Gets or sets how dates are written to JSON text. + The default value is . - A that can compare two nodes for value equality. - + - Gets or sets the parent. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - The parent. - + - Gets the root of this . + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - The root of this . - + - Gets the node type for this . + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The type. - + - Gets a value indicating whether this token has child tokens. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - - true if this token has child values; otherwise, false. - - + - Gets the next sibling token of this node. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The that contains the next sibling token. - + - Gets the previous sibling token of this node. + Gets or sets the culture used when reading JSON. + The default value is . - The that contains the previous sibling token. - + - Gets the path of the JSON token. + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - Gets the with the specified key. + Initializes a new instance of the class. - The with the specified key. - + - Get the first child token of this token. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - A containing the first child token of the . - + - Get the last child token of this token. + Initializes a new instance of the class with the specified . - A containing the last child token of the . + The containing the JSON data to read. - + - Initializes a new instance of the class from another object. + Gets or sets the reader's property name table. - A object to copy from. - + - Initializes a new instance of the class with the given value. + Gets or sets the reader's character buffer pool. - The value. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying . - The value. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a . - The value. + A . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a []. - The value. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Reads the next JSON token from the underlying as a of . - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class with the given value. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The value. - + - Initializes a new instance of the class with the given value. + Gets a value indicating whether the class can return line information. - The value. + + true if and can be provided; otherwise, false. + - + - Initializes a new instance of the class with the given value. + Gets the current line number. - The value. + + The current line number or 0 if no line information is available (for example, returns false). + - + - Initializes a new instance of the class with the given value. + Gets the current line position. - The value. + + The current line position or 0 if no line information is available (for example, returns false). + - + - Creates a comment with the given value. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The value. - A comment with the given value. - + - Creates a string with the given value. + Gets or sets the writer's character array pool. - The value. - A string with the given value. - + - Creates a null value. + Gets or sets how many s to write for each level in the hierarchy when is set to . - A null value. - + - Creates a null value. + Gets or sets which character to use to quote attribute values. - A null value. - + - Writes this token to a . + Gets or sets which character to use for indenting when is set to . - 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. + Gets or sets a value indicating whether object names will be surrounded with quotes. - - 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 . + Initializes a new instance of the class using the specified . - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - + The to write to. - + - Serves as a hash function for a particular type. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - A hash code for the current . - - + - Returns a that represents this instance. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - - A that represents this instance. - - + - Returns a that represents this instance. + Writes the beginning of a JSON object. - The format. - - A that represents this instance. - - + - Returns a that represents this instance. + Writes the beginning of a JSON array. - The format provider. - - A that represents this instance. - - + - Returns a that represents this instance. + Writes the start of a constructor with the given name. - The format. - The format provider. - - A that represents this instance. - + The name of the constructor. - + - 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. + Writes the specified end token. - 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. - + The end token to write. - + - Gets a value indicating whether this token has child tokens. + Writes the property name of a name/value pair on a JSON object. - - true if this token has child values; otherwise, false. - + The name of the property. - + - Gets the node type for this . + Writes the property name of a name/value pair on a JSON object. - The type. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Gets or sets the underlying token value. + Writes indent characters. - The underlying token value. - + - Initializes a new instance of the class from another object. + Writes the JSON value delimiter. - A object to copy from. - + - Initializes a new instance of the class. + Writes an indent space. - The raw json. - + - Creates an instance of with the content of the reader's current token. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - The reader. - An instance of with the content of the reader's current token. + The value to write. - + - Indicating whether a property is required. + Writes a null value. - + - The property is not required. The default state. + Writes an undefined value. - + - The property must be defined in JSON but can be a null value. + Writes raw JSON. + The raw JSON to write. - + - The property must be defined in JSON and cannot be a null value. + Writes a value. + The value to write. - + - Contract details for a used by the . + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The underlying type for the contract. + The value to write. - + - Gets or sets the ISerializable object constructor. + Writes a value. - The ISerializable object constructor. + The value to write. - + - Contract details for a used by the . + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The underlying type for the contract. + The value to write. - + - Contract details for a used by the . + Writes a of value. + The of value to write. - + - Initializes a new instance of the class. + Writes a value. - The underlying type for the contract. + The value to write. - + - Get and set values for a using dynamic methods. + Writes a of value. + The of value to write. - + - Provides methods to get and set values. + Writes a value. + The value to write. - + - Sets the value. + Writes a value. - The target to set the value on. - The value to set on the target. + The value to write. - + - Gets the value. + Writes a value. - The target to get the value from. - The value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The member info. + The value to write. - + - Sets the value. + Writes a value. - The target to set the value on. - The value to set on the target. + The value to write. - + - Gets the value. + Writes a value. - The target to get the value from. - The value. + The value to write. - + - Provides data for the Error event. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The current object. - The error context. + The value to write. - + - Gets the current object the error event is being raised against. + Writes a [] value. - The current object the error event is being raised against. + The [] value to write. - + - Gets the error context. + Writes a value. - The error context. + The value to write. - + - Used to resolve references when serializing and deserializing JSON by the . + Writes a value. + The value to write. - + - Resolves a reference to its object. + Writes a value. - The serialization context. - The reference to resolve. - The object that + The value to write. - + - Gets the reference for the sepecified object. + Writes a value. - The serialization context. - The object to get a reference for. - The reference to the object. + The value to write. - + - Determines whether the specified object is referenced. + Writes a comment /*...*/ containing the specified text. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + Text to place inside the comment. - + - Adds a reference to the specified object. + Writes the given white space. - The serialization context. - The reference. - The object to reference. + The string of white space characters. - + - 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. + Specifies the type of JSON token. - - - - + - Do not preserve references when serializing types. + This is returned by the if a read method has not been called. - + - Preserve references when serializing into a JSON object structure. + An object start token. - + - Preserve references when serializing into a JSON array structure. + An array start token. - + - Preserve references when serializing. + A constructor start token. - + - Instructs the how to serialize the collection. + An object property name. - + - Initializes a new instance of the class. + A comment. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Raw JSON. - A flag indicating whether the array can contain null items. - + - Initializes a new instance of the class with the specified container Id. + An integer. - The container Id. - + - Gets or sets a value indicating whether null items are allowed in the collection. + A float. - true if null items are allowed in the collection; otherwise, false. - + - Specifies default value handling options for the . + A string. - - - - - + - 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. + A boolean. - + - 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. + A null token. - + - Members with a default value but no JSON will be set to their default value when deserializing. + An undefined token. - + - 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. + An object end token. - + - Instructs the to use the specified when serializing the member or class. + An array end token. - + - Initializes a new instance of the class. + A constructor end token. - Type of the converter. - + - Gets the type of the converter. + A Date. - The type of the converter. - + - Instructs the how to serialize the object. + Byte data. - + - Initializes a new instance of the class. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Initializes a new instance of the class with the specified member serialization. + Sets an event handler for receiving schema validation errors. - The member serialization. - + - Initializes a new instance of the class with the specified container Id. + Gets the text value of the current JSON token. - The container Id. + - + - Gets or sets the member serialization. + Gets the depth of the current token in the JSON document. - The member serialization. + The depth of the current token in the JSON document. - + - Gets or sets a value that indicates whether the object's properties are required. + Gets the path of the current JSON token. - - A value indicating whether the object's properties are required. - - + - Specifies the settings on a object. + Gets the quotation mark character used to enclose the value of a string. + - + - Initializes a new instance of the class. + Gets the type of the current JSON token. + - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Gets the .NET type for the current JSON token. - 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. + Initializes a new instance of the class that + validates the content returned from the given . - Missing member handling. + The to read from while validating. - + - Gets or sets how objects are created during deserialization. + Gets or sets the schema. - The object creation handling. + The schema. - + - Gets or sets how null values are handled during serialization and deserialization. + Gets the used to construct this . - Null value handling. + The specified in the constructor. - + - Gets or sets how null default are handled during serialization and deserialization. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The default value handling. - + - Gets or sets a collection that will be used during serialization. + Reads the next JSON token from the underlying as a of . - The converters. + A of . - + - Gets or sets how object references are preserved by the serializer. + Reads the next JSON token from the underlying as a []. - The preserve references handling. + + A [] or null if the next JSON token is null. + - + - Gets or sets how type name writing and reading is handled by the serializer. + Reads the next JSON token from the underlying as a of . - The type name handling. + A of . - + - Gets or sets how metadata properties are used during deserialization. + Reads the next JSON token from the underlying as a of . - The metadata properties handling. + A of . - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Reads the next JSON token from the underlying as a of . - The type name assembly format. + A of . - + - Gets or sets how constructors are used during deserialization. + Reads the next JSON token from the underlying as a . - The constructor handling. + A . This method will return null at the end of an array. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Reads the next JSON token from the underlying as a of . - The contract resolver. + A of . This method will return null at the end of an array. - + - Gets or sets the used by the serializer when resolving references. + Reads the next JSON token from the underlying as a of . - The reference resolver. + A of . - + - Gets or sets the used by the serializer when writing trace messages. + Reads the next JSON token from the underlying . - The trace writer. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Gets or sets the used by the serializer when resolving type names. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The binder. - + - Gets or sets the error handler called during serialization and deserialization. + Gets or sets a value indicating whether the destination should be closed when this writer is closed. - The error handler called during serialization and deserialization. + + true to close the destination when this writer is closed; otherwise false. The default is true. + - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - The context. + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + - + - Get or set how and values are formatting when writing JSON text. + Gets the top. + The top. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Gets the state of the writer. - + - Indicates how JSON text output is formatted. + Gets the path of the writer. - + - Get or set how dates are written to JSON text. + Gets or sets a value indicating how JSON text output should be formatted. - + - Get or set how time zones are handling during serialization and deserialization. + Gets or sets how dates are written to JSON text. - + - 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 time zones are handled when writing JSON text. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + Gets or sets how strings are escaped when writing JSON text. - + - Get or set 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 to JSON text. - + - Get or set how strings are escaped when writing JSON text. + Gets or sets how and values are formatted when writing JSON text. - + - Gets or sets the culture used when reading JSON. Defaults to . + Gets or sets the culture used when writing JSON. Defaults to . - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Initializes a new instance of the class. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - + - Represents a reader that provides validation. + Flushes whatever is in the buffer to the destination and also flushes the destination. - + - Initializes a new instance of the class that - validates the content returned from the given . + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - The to read from while validating. - + - Reads the next JSON token from the stream as a . + Writes the beginning of a JSON object. - A . - + - Reads the next JSON token from the stream as a . + Writes the end of a JSON object. - - A or a null reference if the next JSON token is null. - - + - Reads the next JSON token from the stream as a . + Writes the beginning of a JSON array. - A . - + - Reads the next JSON token from the stream as a . + Writes the end of an array. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the start of a constructor with the given name. - A . This method will return null at the end of an array. + The name of the constructor. - + - Reads the next JSON token from the stream as a . + Writes the end constructor. - A . - + - Reads the next JSON token from the stream. + Writes the property name of a name/value pair of a JSON object. - - true if the next token was read successfully; false if there are no more tokens to read. - + The name of the property. - + - Sets an event handler for receiving schema validation errors. + 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. - + - Gets the text value of the current JSON token. + Writes the end of the current JSON object or array. - - + - Gets the depth of the current token in the JSON document. + Writes the current token and its children. - The depth of the current token in the JSON document. + The to read the token from. - + - Gets the path of the current JSON token. + Writes the current token. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Gets the quotation mark character used to enclose the value of a string. + 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. . + - + - Gets the type of the current JSON token. + Writes the token. - + The to write. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + Writes the specified end token. - + The end token to write. - + - Gets or sets the schema. + Writes indent characters. - The schema. - + - Gets the used to construct this . + Writes the JSON value delimiter. - The specified in the constructor. - + - Compares tokens to determine whether they are equal. + Writes an indent space. - + - Determines whether the specified objects are equal. + Writes a null value. - 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. + Writes an undefined value. - 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. - + - Specifies the member serialization options for the . + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . + Writes a value. + The value to write. - + - 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. + Writes a value. + The value to write. - + - Specifies how object creation is handled by the . + Writes a value. + The value to write. - + - Reuse existing objects, create new objects when needed. + Writes a value. + The value to write. - + - Only reuse existing objects. + Writes a value. + The value to write. - + - Always create new objects. + Writes a value. + The value to write. - + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Writes a value. + The value to write. - + - Writes the JSON representation of the object. + Writes a value. - The to write to. - The value. - The calling serializer. + The value to write. - + - Reads the JSON representation of the object. + Writes a value. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to write. - + - Gets or sets the date time styles used when converting a date to and from JSON. + Writes a value. - The date time styles used when converting a date to and from JSON. + The value to write. - + - Gets or sets the date time format used when converting a date to and from JSON. + Writes a value. - The date time format used when converting a date to and from JSON. + The value to write. - + - Gets or sets the culture used when converting a date to and from JSON. + Writes a value. - The culture used when converting a date to and from JSON. + The value to write. - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Writes a value. + The value to write. - + - Writes the JSON representation of the object. + Writes a value. - The to write to. - The value. - The calling serializer. + The value to write. - + - Reads the JSON representation of the object. + Writes a value. - 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. + The value to write. - + - Converts XML to and from JSON. + Writes a value. + The value to write. - + - Writes the JSON representation of the object. + Writes a value. - The to write to. - The calling serializer. - The value. + The value to write. - + - Reads the JSON representation of the object. + Writes a value. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to write. - + - Checks if the attributeName is a namespace attribute. + Writes a of value. - 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. + The of value to write. - + - Determines whether this instance can convert the specified value type. + Writes a of value. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The of value to write. - + - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. + Writes a of value. - The name of the deserialize root element. + The of value to write. - + - 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. + Writes a of value. - true if the array attibute is written to the XML; otherwise, false. + The of value to write. - + - Gets or sets a value indicating whether to write the root JSON object. + Writes a of value. - true if the JSON root object is omitted; otherwise, false. + The of value to write. - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Writes a of value. + The of value to write. - + - Initializes a new instance of the class with the specified . + Writes a of value. - The TextReader containing the XML data to read. + The of value to write. - + - Reads the next JSON token from the stream. + Writes a of value. - - true if the next token was read successfully; false if there are no more tokens to read. - + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . This method will return null at the end of an array. + The of value to write. - + - Changes the state to closed. + Writes a of value. + The of value to write. - + - Gets a value indicating whether the class can return line information. + Writes a of value. - - true if LineNumber and LinePosition can be provided; otherwise, false. - + The of value to write. - + - Gets the current line number. + Writes a of value. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + The of value to write. - + - Gets the current line position. + Writes a [] value. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + The [] value to write. - + - Instructs the to always serialize the member with the specified name. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Initializes a new instance of the class with the specified name. + Writes a comment /*...*/ containing the specified text. - Name of the property. + Text to place inside the comment. - + - Gets or sets the converter used when serializing the property's collection items. + Writes the given white space. - The collection's items converter. + The string of white space characters. - + - Gets or sets the null value handling used when serializing this property. + Releases unmanaged and - optionally - managed resources. - The null value handling. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Gets or sets the default value handling used when serializing this property. + Sets the state of the . - The default value handling. + The being written. + The value being written. - + - Gets or sets the reference loop handling used when serializing this property. + The exception thrown when an error occurs while writing JSON text. - The reference loop handling. - + - Gets or sets the object creation handling used when deserializing this property. + Gets the path to the JSON where the error occurred. - The object creation handling. + The path to the JSON where the error occurred. - + - Gets or sets the type name handling used when serializing this property. + Initializes a new instance of the class. - The type name handling. - + - Gets or sets whether this property's value is serialized as a reference. + Initializes a new instance of the class + with a specified error message. - Whether this property's value is serialized as a reference. + The error message that explains the reason for the exception. - + - Gets or sets the order of serialization and deserialization of a member. + 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 numeric order of serialization or deserialization. + 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 a value indicating whether this property is required. + Initializes a new instance of the class. - - A value indicating whether this property is required. - + 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). - + - Gets or sets the name of the property. + 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 name of the property. + 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. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Specifies how JSON comments are handled when loading JSON. - The collection's items reference loop handling. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Ignore comments. - The collection's items type name handling. - + - Gets or sets whether this property's collection items are serialized as a reference. + Load comments as a with type . - Whether this property's collection items are serialized as a reference. - + - Instructs the not to serialize the public field or public read/write property value. + Specifies how duplicate property names are handled when loading JSON. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - + - Creates an instance of the JsonWriter class using the specified . + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - The TextWriter to write to. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Throw a when a duplicate property is encountered. - + - Closes this stream and the underlying stream. + Contains the LINQ to JSON extension methods. - + - Writes the beginning of a Json object. + 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. - + - Writes the beginning of a Json array. + 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. - + - Writes the start of a constructor with the given name. + Returns a collection of tokens that contains the descendants of every token in the source collection. - The name of the constructor. + 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. - + - Writes the specified end token. + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - The end token to write. + 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. - + - Writes the property name of a name/value pair on a Json object. + Returns a collection of child properties of every object in the source collection. - The name of the property. + An of that contains the source collection. + An of that contains the properties of every object in the source collection. - + - Writes the property name of a name/value pair on a JSON object. + Returns a collection of child values of every object in the source collection with the given key. - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. + 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. - + - Writes indent characters. + 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. - + - Writes the JSON value delimiter. + 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. - + - Writes an indent space. + 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. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Converts the value. - The value to write. + The type to convert the value to. + A cast as a of . + A converted value. - + - Writes a null value. + Converts the value. + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. - + - Writes an undefined 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. - + - Writes raw JSON. + Returns a collection of converted child tokens of every array in the source collection. - The raw JSON to write. + 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. - + - Writes a value. + Returns the input typed as . - The value to write. + An of that contains the source collection. + The input typed as . - + - Writes a value. + Returns the input typed as . - The value to write. + The source collection type. + An of that contains the source collection. + The input typed as . - + - Writes a value. + Represents a collection of objects. - The value to write. + The type of token. - + - Writes a value. + Gets the of with the specified key. - The value to write. + - + - Writes a value. + Represents a JSON array. - The value to write. + + + - + - Writes a value. + Gets the container's children tokens. - The value to write. + The container's children tokens. - + - Writes a value. + Gets the node type for this . - The value to write. + The type. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class from another object. - The value to write. + A object to copy from. - + - Writes a value. + Initializes a new instance of the class with the specified content. - The value to write. + The contents of the array. - + - Writes a value. + Initializes a new instance of the class with the specified content. - The value to write. + The contents of the array. - + - Writes a value. + Loads an from a . - The value to write. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Writes a value. + Loads an from a . - The value to write. + 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 . - + - Writes a value. + Load a from a string that contains JSON. - The value to write. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Writes a value. + Load a from a string that contains JSON. - The value to write. + 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. + + + - + - Writes a value. + Creates a from an object. - The value to write. + The object that will be used to create . + A with the values of the specified object. - + - Writes a value. + Creates a from an object. - The value to write. + 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 a value. + Writes this token to a . - The value to write. + A into which this method will write. + A collection of which will be used when writing the token. - + - Writes a value. + Gets the with the specified key. - The value to write. + The with the specified key. - + - Writes a value. + Gets or sets the at the specified index. - The value to write. + - + - Writes a value. + Determines the index of a specific item in the . - The value to write. + The object to locate in the . + + The index of if found in the list; otherwise, -1. + - + - Writes a value. + Inserts an item to the at the specified index. - The value to write. + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + - + - Writes out a comment /*...*/ containing the specified text. + Removes the item at the specified index. - Text to place inside the comment. + The zero-based index of the item to remove. + + is not a valid index in the . + - + - Writes out the given white space. + Returns an enumerator that iterates through the collection. - The string of white space characters. + + A of that can be used to iterate through the collection. + - + - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Adds an item to the . + The object to add to the . - + - Gets or sets which character to use to quote attribute values. + Removes all items from the . - + - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Determines whether the contains a specific value. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Gets or sets a value indicating whether object names will be surrounded with quotes. + Copies the elements of the to an array, starting at a particular array index. + The array. + Index of the array. - + - The exception thrown when an error occurs while reading Json text. + Gets a value indicating whether the is read-only. + true if the is read-only; otherwise, false. - + - Initializes a new instance of the class. + 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 . + - + - Initializes a new instance of the class - with a specified error message. + Represents a JSON constructor. - 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. + Gets the container's children tokens. - 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 container's children tokens. - + - Initializes a new instance of the class. + Gets or sets the name of this constructor. - 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 name. - + - Gets the path to the JSON where the error occurred. + Gets the node type for this . - The path to the JSON where the error occurred. + The type. - + - The exception thrown when an error occurs while reading Json text. + Initializes a new instance of the class. - + - 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 a specified error message. + Initializes a new instance of the class with the specified name and content. - The error message that explains the reason for the exception. + The constructor name. + The contents of the constructor. - + - 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. + Initializes a new instance of the class with the specified name and content. - 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 constructor name. + The contents of the constructor. - + - Initializes a new instance of the class. + Initializes a new instance of the class with the specified name. - 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 name. - + - Gets the line number indicating where the error occurred. + Writes this token to a . - The line number indicating where the error occurred. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets the line position indicating where the error occurred. + Gets the with the specified key. - The line position indicating where the error occurred. + The with the specified key. - + - Gets the path to the JSON where the error occurred. + Loads a from a . - The path to the JSON where the error occurred. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Represents a collection of . + 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 . - + - Provides methods for converting between common language runtime types and JSON types. + Represents a token that can contain other tokens. - - - - + - Represents JavaScript's boolean value true as a string. This field is read-only. + Occurs when the list changes or an item in the list changes. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + Occurs before an item is added to the collection. - + - Represents JavaScript's null as a string. This field is read-only. + Occurs when the items list of the collection has changed, or the collection is reset. - + - Represents JavaScript's undefined as a string. This field is read-only. + Gets the container's children tokens. + The container's children tokens. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + Raises the event. + The instance containing the event data. - + - Represents JavaScript's negative infinity as a string. This field is read-only. + Raises the event. + The instance containing the event data. - + - Represents JavaScript's NaN as a string. This field is read-only. + Raises the event. + The instance containing the event data. - + - Converts the to its JSON string representation. + Gets a value indicating whether this token has child tokens. - The value to convert. - A JSON string representation of the . + + true if this token has child values; otherwise, false. + - + - Converts the to its JSON string representation using the specified. + Get the first child token of this token. - 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 . + + A containing the first child token of the . + - + - Converts the to its JSON string representation. + Get the last child token of this token. - The value to convert. - A JSON string representation of the . + + A containing the last child token of the . + - + - Converts the to its JSON string representation using the specified. + Returns a collection of the child tokens of this token, in document order. - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + + An of containing the child tokens of this , in document order. + - + - Converts the to its JSON string representation. + Returns a collection of the child values of this token, in document order. - The value to convert. - A JSON string representation of the . + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Converts the to its JSON string representation. + Returns a collection of the descendant tokens for this token in document order. - The value to convert. - A JSON string representation of the . + An of containing the descendant tokens of the . - + - Converts the to its JSON string representation. + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - The value to convert. - A JSON string representation of the . + An of containing this token, and all the descendant tokens of the . - + - Converts the to its JSON string representation. + Adds the specified content as children of this . - The value to convert. - A JSON string representation of the . + The content to be added. - + - Converts the to its JSON string representation. + Adds the specified content as the first children of this . - The value to convert. - A JSON string representation of the . + The content to be added. - + - Converts the to its JSON string representation. + Creates a that can be used to add tokens to the . - The value to convert. - A JSON string representation of the . + A that is ready to have content written to it. - + - Converts the to its JSON string representation. + 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 with the specified name. + + The property name. + A with the specified name or null. + + + + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. + + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched 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. + + + + Determines whether the JSON object has the specified property name. + + Name of the property. + true if the JSON object has the specified property name; otherwise, false. + + + + 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. + + + + + 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 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. + + + + 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 default value is . + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + + The JSON line info handling. + + + + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + + The JSON duplicate property name handling. + + + + Specifies the settings used when merging JSON. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + Gets or sets the comparison used to match property names while merging. + 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. + + The comparison used to match property names while merging. + + + + 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 value to convert. - A JSON string representation of the . + The that contains the previous sibling token. - + - Converts the to its JSON string representation. + Gets the path of the JSON token. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Adds the specified content immediately after this token. - The value to convert. - A JSON string representation of the . + A content object that contains simple content or a collection of content objects to be added after this token. - + - Converts the to its JSON string representation. + Adds the specified content immediately before this token. - The value to convert. - A JSON string representation of the . + A content object that contains simple content or a collection of content objects to be added before this token. - + - Converts the to its JSON string representation. + Returns a collection of the ancestor tokens of this token. - The value to convert. - A JSON string representation of the . + A collection of the ancestor tokens of this token. - + - Converts the to its JSON string representation. + Returns a collection of tokens that contain this token, and the ancestors of this token. - The value to convert. - A JSON string representation of the . + A collection of tokens that contain this token, and the ancestors of this token. - + - Converts the to its JSON string representation. + Returns a collection of the sibling tokens after this token, in document order. - The value to convert. - A JSON string representation of the . + A collection of the sibling tokens after this tokens, in document order. - + - Converts the to its JSON string representation. + Returns a collection of the sibling tokens before this token, in document order. - The value to convert. - A JSON string representation of the . + A collection of the sibling tokens before this token, in document order. - + - Converts the to its JSON string representation. + Gets the with the specified key. - The value to convert. - A JSON string representation of the . + The with the specified key. - + - Converts the to its JSON string representation. + Gets the with the specified key converted to the specified type. - The value to convert. - A JSON string representation of the . + The type to convert the token to. + The token key. + The converted token value. - + - Converts the to its JSON string representation. + Get the first child token of this token. - The value to convert. - A JSON string representation of the . + A containing the first child token of the . - + - Converts the to its JSON string representation. + Get the last child token of this token. - The value to convert. - A JSON string representation of the . + A containing the last child token of the . - + - Converts the to its JSON string representation. + Returns a collection of the child tokens of this token, in document order. - The value to convert. - The string delimiter character. - A JSON string representation of the . + An of containing the child tokens of this , in document order. - + - Converts the to its JSON string representation. + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - The value to convert. - A JSON string representation of the . + The type to filter the child tokens on. + A containing the child tokens of this , in document order. - + - Serializes the specified object to a JSON string. + Returns a collection of the child values of this token, in document order. - The object to serialize. - A JSON string representation of the object. + The type to convert the values to. + A containing the child values of this , in document order. - + - Serializes the specified object to a JSON string using formatting. + Removes this token from its parent. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a collection of . + Replaces this token with the specified token. - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. + The value. - + - Serializes the specified object to a JSON string using formatting and a collection of . + Writes this token to a . - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. + A into which this method will write. + A collection of which will be used when writing the token. - + - Serializes the specified object to a JSON string using . + Returns the indented JSON for this token. - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - A JSON string representation of the object. + The indented JSON for this token. - + - Serializes the specified object to a JSON string using a type, formatting and . + Returns the JSON for this token using the given formatting and converters. - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - + 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. - + - Serializes the specified object to a JSON string using formatting and . + Performs an explicit conversion from to . - 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 JSON string representation of the object. - + The value. + The result of the conversion. - + - Serializes the specified object to a JSON string using a type, formatting and . + Performs an explicit conversion from to . - 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. - - 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. - - - A JSON string representation of the object. - + The value. + The result of the conversion. - + - Deserializes the JSON to a .NET object. + Performs an explicit conversion from to of . - The JSON to deserialize. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to a .NET object using . + Performs an explicit conversion from to of . - 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type. + Performs an explicit conversion from to of . - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type. + Performs an explicit conversion from to of . - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the given anonymous type. + Performs an explicit conversion from to of . - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. + 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. - + - Deserializes the JSON to the given anonymous type using . + Performs an explicit conversion from to . - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using a collection of . + Performs an explicit conversion from to . - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using . + Performs an explicit conversion from to of . - 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using a collection of . + Performs an explicit conversion from to of . - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using . + Performs an explicit conversion from to of . - 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. + The value. + The result of the conversion. - + - Populates the object with values from the JSON string. + Performs an explicit conversion from to of . - The JSON to populate values from. - The target object to populate values onto. + The value. + The result of the conversion. - + - Populates the object with values from the JSON string using . + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string. + Performs an explicit conversion from to of . - The node to serialize. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string using formatting. + Performs an explicit conversion from to of . - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Performs an explicit conversion from to of . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string. + Performs an explicit conversion from to . - The JSON string. - The deserialized XmlNode + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Performs an explicit conversion from to of . - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Performs an explicit conversion from to of . - 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 XmlNode + The value. + The result of the conversion. - + - Serializes the to a JSON string. + Performs an explicit conversion from to . - The node to convert to JSON. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Serializes the to a JSON string using formatting. + Performs an explicit conversion from to . - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Performs an explicit conversion from to . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Deserializes the from a JSON string. + Performs an explicit conversion from to . - The JSON string. - The deserialized XNode + The value. + The result of the conversion. - + - Deserializes the from a JSON string nested in a root elment specified by . + Performs an explicit conversion from to . - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode + The value. + The result of the conversion. - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Performs an explicit conversion from to []. - 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 XNode + The value. + The result of the conversion. - + - 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 - . + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Initializes a new instance of the class - with a specified error message. + Performs an explicit conversion from to of . - The error message that explains the reason for the exception. + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to . - 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 value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - 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 value to create a from. + The initialized with the specified value. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Creates a new instance. - The will not use default settings. + Performs an implicit conversion from of to . - - A new instance. - The will not use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance using the specified . - The will not use default settings. + Performs an implicit conversion from to . - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance. - The will use default settings. + Performs an implicit conversion from of to . - - A new instance. - The will use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance using the specified . - The will use default settings. + Performs an implicit conversion from of to . - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - + The value to create a from. + The initialized with the specified value. - + - Populates the JSON values onto the target object. + Performs an implicit conversion from of to . - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The value to create a from. + The initialized with the specified value. - + - Populates the JSON values onto the target object. + Performs an implicit conversion from of to . - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified . + Performs an implicit conversion from of to . - The that contains the JSON structure to deserialize. - The being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from of to . - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from of to . - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from to . - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - The used to write the Json structure. - The to serialize. + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - 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. - + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from of to . - 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. - + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - The used to write the Json structure. - The to serialize. + The value to create a from. + The initialized with the specified value. - + - Occurs when the errors during serialization and deserialization. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when resolving references. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when resolving type names. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when writing trace messages. + Performs an implicit conversion from of to . - The trace writer. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how type name writing and reading is handled by the serializer. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Performs an implicit conversion from of to . - The type name assembly format. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how object references are preserved by the serializer. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how null values are handled during serialization and deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how null default are handled during serialization and deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets how objects are created during deserialization. + Performs an implicit conversion from to . - The object creation handling. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how constructors are used during deserialization. + Performs an implicit conversion from [] to . - The constructor handling. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how metadata properties are used during deserialization. + Performs an implicit conversion from to . - The metadata properties handling. + The value to create a from. + The initialized with the specified value. - + - Gets a collection that will be used during serialization. + Performs an implicit conversion from to . - Collection that will be used during serialization. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Performs an implicit conversion from to . - The context. + The value to create a from. + The initialized with the specified value. - + - Indicates how JSON text output is formatted. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how dates are written to JSON text. + Creates a for this token. + A that can be used to read this token and its descendants. - + - Get or set how time zones are handling during serialization and deserialization. + Creates a from an object. + The object that will be used to create . + A with the value of the specified object. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + 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. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + 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. - + - Get or set how strings are escaped when writing JSON text. + 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. - + - Get or set how and values are formatting when writing JSON text. + 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. - + - Gets or sets the culture used when reading JSON. Defaults to . + 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. + - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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. + - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Load a from a string that contains JSON. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + A that contains JSON. + A populated from the string that contains JSON. - + - Contains the LINQ to JSON extension methods. + 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. - + - Returns a collection of tokens that contains the ancestors of every token in the source collection. + Creates a from a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every node in the source collection. + 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. + - + - Returns a collection of tokens that contains the descendants of every token in the source collection. + Creates a from a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every node in the source collection. + 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. + - + - Returns a collection of child properties of every object in the source collection. + Selects a using a JSONPath expression. Selects the token that matches the object path. - An of that contains the source collection. - An of that contains the properties of every object in the source collection. + + A that contains a JSONPath expression. + + A , or null. - + - Returns a collection of child values of every object in the source collection with the given key. + Selects a using a JSONPath expression. Selects the token that matches the object path. - An of that contains the source collection. - The token key. - An of that contains the values of every node in the source collection with the given key. + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Returns a collection of child values of every object in the source collection. + Selects a collection of elements using a JSONPath expression. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Returns a collection of converted child values of every object in the source collection with the given key. + Selects a collection of elements using a JSONPath expression. - 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 node in the source collection with the given key. + + A that contains a JSONPath 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 a collection of converted child values of every object in the source collection. + Returns the responsible for binding operations performed on this object. - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every node in the source collection. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Converts the value. + Returns the responsible for binding operations performed on this object. - The type to convert the value to. - A cast as a of . - A converted value. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Converts the value. + Creates a new instance of the . All child tokens are recursively cloned. - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. + A new instance of the . - + - Returns a collection of child tokens of every array in the source collection. + Adds an object to the annotation list of this . - The source collection type. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + The annotation to add. - + - Returns a collection of converted child tokens of every array in the source collection. + Get the first annotation object of the specified type from this . - 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 node in the source collection. + 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. - + - Returns the input typed as . + Gets the first annotation object of the specified type from this . - An of that contains the source collection. - The input typed as . + 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. - + - Returns the input typed as . + Gets a collection of annotations of the specified type for this . - The source collection type. - An of that contains the source collection. - The input typed as . + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Represents a JSON constructor. + 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 . - + - Represents a token that can contain other tokens. + Removes the annotations of the specified type from this . + The type of annotations to remove. - + - Raises the event. + Removes the annotations of the specified type from this . - The instance containing the event data. + The of annotations to remove. - + - Raises the event. + Compares tokens to determine whether they are equal. - The instance containing the event data. - + - Returns a collection of the child tokens of this token, in document order. + Determines whether the specified objects are equal. + The first object of type to compare. + The second object of type to compare. - An of containing the child tokens of this , in document order. + true if the specified objects are equal; otherwise, false. - + - Returns a collection of the child values of this token, in document order. + Returns a hash code for the specified object. - The type to convert the values to. - - A containing the child values of this , in document order. - + 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. - + - Returns a collection of the descendant tokens for this token in document order. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - An containing the descendant tokens of the . - + - Adds the specified content as children of this . + Gets the at the reader's current position. - The content to be added. - + - Adds the specified content as the first children of this . + Initializes a new instance of the class. - The content to be added. + The token to read from. - + - Creates an that can be used to add tokens to the . + Initializes a new instance of the class. - An that is ready to have content written to it. + The token to read from. + The initial path of the token. It is prepended to the returned . - + - Replaces the children nodes of this token with the specified content. + Reads the next JSON token from the underlying . - The content. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Removes the child nodes from this token. + Gets the path of the current JSON token. - + - Merge the specified content into this . + Specifies the type of token. - The content to be merged. - + - Merge the specified content into this using . + No token type has been set. - The content to be merged. - The used to merge the content. - + - Occurs when the list changes or an item in the list changes. + A JSON object. - + - Occurs before an item is added to the collection. + A JSON array. - + - Gets the container's children tokens. + A JSON constructor. - The container's children tokens. - + - Gets a value indicating whether this token has child tokens. + A JSON object property. - - true if this token has child values; otherwise, false. - - + - Get the first child token of this token. + A comment. - - A containing the first child token of the . - - + - Get the last child token of this token. + An integer value. - - A containing the last child token of the . - - + - Gets the count of child JSON tokens. + A float value. - The count of child JSON tokens - + - Initializes a new instance of the class. + A string value. - + - Initializes a new instance of the class from another object. + A boolean value. - A object to copy from. - + - Initializes a new instance of the class with the specified name and content. + A null value. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name and content. + An undefined value. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name. + A date value. - The constructor name. - + - Writes this token to a . + A raw JSON value. - A into which this method will write. - A collection of which will be used when writing the token. - + - Loads an from a . + A collection of bytes value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - + - Gets the container's children tokens. + A Guid value. - The container's children tokens. - + - Gets or sets the name of this constructor. + A Uri value. - The constructor name. - + - Gets the node type for this . + A TimeSpan value. - The type. - + - Gets the with the specified key. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The with the specified key. - + - Represents a collection of objects. + Gets the at the writer's current position. - The type of token - + - An empty collection of objects. + Gets the token being written. + The token being written. - + - Initializes a new instance of the struct. + Initializes a new instance of the class writing to the given . - The enumerable. + The container being written to. - + - Returns an enumerator that iterates through the collection. + Initializes a new instance of the class. - - A that can be used to iterate through the collection. - - + - Returns an enumerator that iterates through a collection. + Flushes whatever is in the buffer to the underlying . - - An object that can be used to iterate through the collection. - - + - Determines whether the specified is equal to this instance. + 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. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - + - Returns a hash code for this instance. + Writes the beginning of a JSON array. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - + - Gets the with the specified key. + Writes the start of a constructor with the given name. - + The name of the constructor. - + - Represents a JSON object. + Writes the end. - - - + The token. - + - Initializes a new instance of the class. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Initializes a new instance of the class from another object. + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. - A object to copy from. + The value to write. - + - Initializes a new instance of the class with the specified content. + Writes a null value. - The contents of the object. - + - Initializes a new instance of the class with the specified content. + Writes an undefined value. - The contents of the object. - + - Gets an of this object's properties. + Writes raw JSON. - An of this object's properties. + The raw JSON to write. - + - Gets a the specified name. + Writes a comment /*...*/ containing the specified text. - The property name. - A with the specified name or null. + Text to place inside the comment. - + - Gets an of this object's property values. + Writes a value. - An of this object's property values. + The value to write. - + - Loads an from a . + Writes a value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to write. - + - Load a from a string that contains JSON. + Writes a value. - A that contains JSON. - A populated from the string that contains JSON. - - - + The value to write. - + - Creates a from an object. + Writes a value. - The object that will be used to create . - A with the values of the specified object + The value to write. - + - Creates a from an object. + Writes a value. - 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 + The value to write. - + - Writes this token to a . + Writes a value. - A into which this method will write. - A collection of which will be used when writing the token. + The value to write. - + - Gets the with the specified property name. + Writes a value. - Name of the property. - The with the specified property name. + The value to write. - + - 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. + Writes a value. - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The value to write. - + - 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. + Writes a value. - 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. + The value to write. - + - Adds the specified property name. + Writes a value. - Name of the property. - The value. + The value to write. - + - Removes the property with the specified name. + Writes a value. - Name of the property. - true if item was successfully removed; otherwise, false. + The value to write. - + - Tries the get value. + Writes a value. - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + The value to write. - + - Returns an enumerator that iterates through the collection. + Writes a value. - - A that can be used to iterate through the collection. - + The value to write. - + - Raises the event with the provided arguments. + Writes a value. - Name of the property. + The value to write. - + - Raises the event with the provided arguments. + Writes a value. - Name of the property. + The value to write. - + - Returns the properties for this instance of a component. + Writes a value. - - A that represents the properties for this component instance. - + The value to write. - + - Returns the properties for this instance of a component using the attribute array as a filter. + Writes a [] value. - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - + The [] value to write. - + - Returns a collection of custom attributes for this instance of a component. + Writes a value. - - An containing the attributes for this object. - + The value to write. - + - Returns the class name of this instance of a component. + Writes a value. - - The class name of the object, or null if the class does not have a name. - + The value to write. - + - Returns the name of this instance of a component. + Writes a value. - - The name of the object, or null if the object does not have a name. - + The value to write. - + - Returns a type converter for this instance of a component. + Represents a value in JSON (string, integer, date, etc). - - 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. + Initializes a new instance of the class from another object. - - An that represents the default event for this object, or null if this object does not have events. - + A object to copy from. - + - Returns the default property for this instance of a component. + Initializes a new instance of the class with the given value. - - A that represents the default property for this object, or null if this object does not have properties. - + The value. - + - Returns an editor of the specified type for this instance of a component. + Initializes a new instance of the class with the given value. - 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. - + The value. - + - Returns the events for this instance of a component using the specified attribute array as a filter. + Initializes a new instance of the class with the given value. - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - + The value. - + - Returns the events for this instance of a component. + Initializes a new instance of the class with the given value. - - An that represents the events for this component instance. - + The value. - + - Returns an object that contains the property described by the specified property descriptor. + Initializes a new instance of the class with the given value. - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - + The value. - + - Gets the container's children tokens. + Initializes a new instance of the class with the given value. - The container's children tokens. + The value. - + - Occurs when a property value changes. + Initializes a new instance of the class with the given value. + The value. - + - Occurs when a property value is changing. + Initializes a new instance of the class with the given value. + The value. - + - Gets the node type for this . + Initializes a new instance of the class with the given value. - The type. + The value. - + - Gets the with the specified key. + Initializes a new instance of the class with the given value. - The with the specified key. + The value. - + - Gets or sets the with the specified property name. + Initializes a new instance of the class with the given value. - + The value. - + - Represents a JSON array. + 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. + Initializes a new instance of the class with the given value. + The value. - + - Initializes a new instance of the class from another object. + Gets a value indicating whether this token has child tokens. - A object to copy from. + + true if this token has child values; otherwise, false. + - + - Initializes a new instance of the class with the specified content. + Creates a comment with the given value. - The contents of the array. + The value. + A comment with the given value. - + - Initializes a new instance of the class with the specified content. + Creates a string with the given value. - The contents of the array. + The value. + A string with the given value. - + - Loads an from a . + Creates a null value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A null value. - + - Load a from a string that contains JSON. + Creates a undefined value. - A that contains JSON. - A populated from the string that contains JSON. - - - + A undefined value. - + - Creates a from an object. + Gets the node type for this . - The object that will be used to create . - A with the values of the specified object + The type. - + - Creates a from an object. + Gets or sets the underlying token value. - 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 + 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. + A collection of s which will be used when writing the token. - + - Determines the index of a specific item in the . + Indicates whether the current object is equal to another object of the same type. - The object to locate in the . - The index of if found in the list; otherwise, -1. + true if the current object is equal to the parameter; otherwise, false. + An object to compare with this object. - + - Inserts an item to the at the specified index. + Determines whether the specified is equal to the current . - 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. + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Removes the item at the specified index. + Serves as a hash function for a particular type. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + + A hash code for the current . + - + - Returns an enumerator that iterates through the collection. + Returns a that represents this instance. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - A that can be used to iterate through the collection. + A that represents this instance. - + - Adds an item to the . + Returns a that represents this instance. - The object to add to the . - The is read-only. + The format. + + A that represents this instance. + - + - Removes all items from the . + Returns a that represents this instance. - The is read-only. + The format provider. + + A that represents this instance. + - + - Determines whether the contains a specific value. + Returns a that represents this instance. - The object to locate in the . + The format. + The format provider. - true if is found in the ; otherwise, false. + A that represents this instance. - + - Copies to. + Returns the responsible for binding operations performed on this object. - The array. - Index of the array. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Removes the first occurrence of a specific object from the . + 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. - The object to remove from the . + An object to compare with this instance. - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + 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 . - The is read-only. + + is not of the same type as this instance. + - + - Gets the container's children tokens. + Specifies how line information is handled when loading JSON. - The container's children tokens. - + - Gets the node type for this . + Ignore line information. - The type. - + - Gets the with the specified key. + Load line information. - The with the specified key. - + - Gets or sets the at the specified index. + 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. + + - Gets a value indicating whether the is read-only. + Specifies how null value properties are merged. - true if the is read-only; otherwise, false. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + The content's null value properties will be ignored during merging. - + - Initializes a new instance of the class. + The content's null value properties will be merged. - The token to read from. - + - Reads the next JSON token from the stream as a . + Specifies the member serialization options for the . - - 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 . + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + 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. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Specifies metadata property handling options for the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Read metadata properties located at the start of a JSON object. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream. + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - 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. + Do not try to read metadata properties. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Specifies missing member handling options for the . - + - Initializes a new instance of the class writing to the given . + Ignore a missing member and do not attempt to deserialize it. - The container being written to. - + - Initializes a new instance of the class. + Throw a when a missing member is encountered during deserialization. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Specifies null value handling options for the . + + + + - + - Closes this stream and the underlying stream. + Include null values when serializing and deserializing objects. - + - Writes the beginning of a Json object. + Ignore null values when serializing and deserializing objects. - + - Writes the beginning of a Json array. + Specifies how object creation is handled by the . - + - Writes the start of a constructor with the given name. + Reuse existing objects, create new objects when needed. - The name of the constructor. - + - Writes the end. + Only reuse existing objects. - The token. - + - Writes the property name of a name/value pair on a Json object. + Always create new objects. - The name of the property. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + 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 . - The value to write. + + + - + - Writes a null value. + 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 . - + - Writes an undefined value. + Throw a when a loop is encountered. - + - Writes raw JSON. + Ignore loop references and do not serialize. - The raw JSON to write. - + - Writes out a comment /*...*/ containing the specified text. + Serialize loop references. - Text to place inside the comment. - + - Writes a value. + Indicating whether a property is required. - The value to write. - + - Writes a value. + The property is not required. The default state. - The value to write. - + - Writes a value. + The property must be defined in JSON but can be a null value. - The value to write. - + - Writes a value. + The property must be defined in JSON and cannot be a null value. - The value to write. - + - Writes a value. + The property is not required but it cannot be a null value. - The value to write. - + - Writes a value. + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. - + - Writes a value. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + - + - Writes a value. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + 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. + - + - Writes a value. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. - + - Writes a value. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. + The validation event handler. - + - Writes a value. + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. - + - Writes a value. + Gets or sets the title. - The value to write. - + - Writes a value. + Gets or sets whether the object is required. - The value to write. - + - Writes a value. + Gets or sets whether the object is read-only. - The value to write. - + - Writes a value. + Gets or sets whether the object is visible to users. - The value to write. - + - Writes a value. + Gets or sets whether the object is transient. - The value to write. - + - Writes a value. + Gets or sets the description of the object. - The value to write. - + - Writes a value. + Gets or sets the types of values allowed by the object. - The value to write. + The type. - + - Writes a value. + Gets or sets the pattern. - The value to write. + The pattern. - + - Gets the token being writen. + Gets or sets the minimum length. - The token being writen. + The minimum length. - + - Represents a JSON property. + Gets or sets the maximum length. + The maximum length. - + - Initializes a new instance of the class from another object. + Gets or sets a number that the value should be divisible by. - A object to copy from. + A number that the value should be divisible by. - + - Initializes a new instance of the class. + Gets or sets the minimum. - The property name. - The property content. + The minimum. - + - Initializes a new instance of the class. + Gets or sets the maximum. - The property name. - The property content. + The maximum. - + - Writes this token to a . + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A into which this method will write. - A collection of which will be used when writing the token. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - + - Loads an from a . + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A flag indicating whether the value can not equal the number defined by the maximum attribute (). - + - Gets the container's children tokens. + Gets or sets the minimum number of items. - The container's children tokens. + The minimum number of items. - + - Gets the property name. + Gets or sets the maximum number of items. - The property name. + The maximum number of items. - + - Gets or sets the property value. + Gets or sets the of items. - The property value. + The of items. - + - Gets the node type for this . + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - The type. + + true if items are validated using their array position; otherwise, false. + - + - Specifies the type of token. + Gets or sets the of additional items. + The of additional items. - + - No token type has been set. + Gets or sets a value indicating whether additional items are allowed. + + true if additional items are allowed; otherwise, false. + - + - A JSON object. + Gets or sets whether the array items must be unique. - + - A JSON array. + Gets or sets the of properties. + The of properties. - + - A JSON constructor. + Gets or sets the of additional properties. + The of additional properties. - + - A JSON object property. + Gets or sets the pattern properties. + The pattern properties. - + - A comment. + Gets or sets a value indicating whether additional properties are allowed. + + true if additional properties are allowed; otherwise, false. + - + - An integer value. + Gets or sets the required property if this property is present. + The required property if this property is present. - + - A float value. + Gets or sets the a collection of valid enum values allowed. + A collection of valid enum values allowed. - + - A string value. + Gets or sets disallowed types. + The disallowed types. - + - A boolean value. + Gets or sets the default value. + The default value. - + - A null value. + Gets or sets the collection of that this schema extends. + The collection of that this schema extends. - + - An undefined value. + Gets or sets the format. + The format. - + - A date value. + Initializes a new instance of the class. - + - A raw JSON value. + Reads a from the specified . + The containing the JSON Schema to read. + The object representing the JSON Schema. - + - A collection of bytes value. + 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. - + - A Guid value. + Load a from a string that contains JSON Schema. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - + - A Uri value. + 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. - + - A TimeSpan value. + Writes this schema to a . + A into which this method will write. - + - Contains the JSON schema extension methods. + Writes this schema to a using the specified . + A into which this method will write. + The resolver used. - + - Determines whether the is valid. + Returns a that represents the current . - The source to test. - The schema to test with. - true if the specified is valid; otherwise, false. + A that represents the current . - + - Determines whether the is valid. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See https://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 . + Gets the line number indicating where the error occurred. - The source to test. - The schema to test with. + The line number indicating where the error occurred. - + - Validates the specified . + Gets the line position indicating where the error occurred. - The source to test. - The schema to test with. - The validation event handler. + The line position indicating where the error occurred. - + - Returns detailed information about the schema exception. + Gets the path to the JSON where the error occurred. + The path to the JSON where the error occurred. @@ -6737,7 +7675,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. @@ -6745,32 +7683,78 @@ 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). - + - Gets the line number indicating where the error occurred. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Gets or sets how undefined schemas are handled by the serializer. - The line position indicating where the error occurred. - + - Gets the path to the JSON where the error occurred. + Gets or sets the contract resolver. - The path to the JSON where the error occurred. + 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 https://www.newtonsoft.com/jsonschema for more details. + + + + Gets or sets the loaded schemas. + + The loaded schemas. + Initializes a new instance of the class. @@ -6783,15 +7767,69 @@ The id. A for the specified reference. - + - Gets or sets the loaded schemas. + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://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. - The loaded schemas. + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6811,7 +7849,12 @@ + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6834,50 +7877,145 @@ + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Resolves member mappings for a type, camel casing property names. + A camel case naming strategy. - + - Used by to resolves a for a given . + 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 . + - + - Used by to resolves a for a given . + 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 a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. + + + - Initializes a new instance of the class. + 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - @@ -6918,10 +8056,10 @@ - Resolves the default for the contract. + Resolves the default for the contract. Type of the object. - The contract's default . + The contract's default . @@ -6958,6 +8096,13 @@ 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. @@ -7000,7 +8145,21 @@ Resolves the name of the property. 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. @@ -7009,71 +8168,93 @@ Name of the property. Name of the property. - + - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. + The default naming strategy. Property names and dictionary keys are unchanged. - - true if using dynamic code generation; otherwise, false. - - + - Gets or sets the default members search flags. + Resolves the specified property name. - The default members search flags. + The property name to resolve. + The resolved property name. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + The default serialization binder used when resolving and loading classes from type names. - - true if serialized compiler generated members; otherwise, false. - - + - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + Initializes a new instance of the class. - - 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. + 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. - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + 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. - + - Resolves the name of the property. + Get and set values for a using dynamic methods. - Name of the property. - The property name camel cased. - + - The default serialization binder used when resolving and loading classes from type names. + 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. - + - When overridden in a derived class, controls the binding of a serialized object to a type. + Gets the value. - 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. - + The target to get the value from. + The value. @@ -7110,827 +8291,961 @@ true if handled; otherwise, false. - + - Contract details for a used by the . + Provides data for the Error event. - + - Initializes a new instance of the class. + Gets the current object the error event is being raised against. - The underlying type for the contract. + The current object the error event is being raised against. - + - Gets the of the collection items. + Gets the error context. - The of the collection items. + The error context. - + - Gets a value indicating whether the collection type is a multidimensional array. + Initializes a new instance of the class. - true if the collection type is a multidimensional array; otherwise, false. + The current object. + The error context. - + - Handles serialization callback events. + Get and set values for a using dynamic methods. - The object that raised the callback event. - The streaming context. - + - Handles serialization error callback events. + Initializes a new instance of the class. - The object that raised the callback event. - The streaming context. - The error context. + The member info. - + - Sets extension data for an object during deserialization. + Sets the value. - The object to set extension data on. - The extension data key. - The extension data value. + The target to set the value on. + The value to set on the target. - + - Gets extension data for an object during serialization. + Gets the value. - The object to set extension data on. + The target to get the value from. + The value. - + - Contract details for a used by the . + Provides methods to get attributes. - + - Initializes a new instance of the class. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The underlying type for the contract. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Gets or sets the property name resolver. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - The property name resolver. + 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. - + - Gets the of the dictionary keys. + Used by to resolve a for a given . - The of the dictionary keys. + + + + - + - Gets the of the dictionary values. + Resolves the contract for a given type. - The of the dictionary values. + The type to resolve a contract for. + The contract for a given type. - + - Maps a JSON property to a .NET member or constructor parameter. + 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 . - + - Returns a that represents this instance. + Gets the of the collection items. - - A that represents this instance. - + The of the collection items. - + - Gets or sets the name of the property. + Gets a value indicating whether the collection type is a multidimensional array. - The name of the property. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets the type that declared this property. + Gets or sets the function used to create the object. When set this function will override . - The type that declared this property. + The function used to create the object. - + - Gets or sets the order of serialization and deserialization of a member. + Gets a value indicating whether the creator has a parameter with the collection values. - The numeric order of serialization or deserialization. + true if the creator has a parameter with the collection values; otherwise, false. - + - Gets or sets the name of the underlying member or parameter. + Initializes a new instance of the class. - The name of the underlying member or parameter. + The underlying type for the contract. - + - Gets the that will get and set the during serialization. + Contract details for a used by the . - The that will get and set the during serialization. - + - Gets or sets the type of the property. + Gets or sets the default collection items . - The type of the property. + The converter. - + - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + Gets or sets a value indicating whether the collection items preserve object references. - The converter. + true if collection items preserve object references; otherwise, false. - + - Gets or sets the member converter. + Gets or sets the collection item reference loop handling. - The member converter. + The reference loop handling. - + - Gets or sets a value indicating whether this is ignored. + Gets or sets the collection item type name handling. - true if ignored; otherwise, false. + The type name handling. - + - Gets or sets a value indicating whether this is readable. + Initializes a new instance of the class. - true if readable; otherwise, false. + The underlying type for the contract. - + - Gets or sets a value indicating whether this is writable. + Handles serialization callback events. - true if writable; otherwise, false. + The object that raised the callback event. + The streaming context. - + - Gets or sets a value indicating whether this has a member attribute. + Handles serialization error callback events. - true if has a member attribute; otherwise, false. + The object that raised the callback event. + The streaming context. + The error context. - + - Gets the default value. + Sets extension data for an object during deserialization. - The default value. + The object to set extension data on. + The extension data key. + The extension data value. - + - Gets or sets a value indicating whether this is required. + Gets extension data for an object during serialization. - A value indicating whether this is required. + The object to set extension data on. - + - Gets or sets a value indicating whether this property preserves object references. + Contract details for a used by the . - - true if this instance is reference; otherwise, false. - - + - Gets or sets the property null value handling. + Gets the underlying type for the contract. - The null value handling. + The underlying type for the contract. - + - Gets or sets the property default value handling. + Gets or sets the type created during deserialization. - The default value handling. + The type created during deserialization. - + - Gets or sets the property reference loop handling. + Gets or sets whether this type contract is serialized as a reference. - The reference loop handling. + Whether this type contract is serialized as a reference. - + - Gets or sets the property object creation handling. + Gets or sets the default for this contract. - The object creation handling. + The converter. - + - Gets or sets or sets the type name handling. + Gets the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this converter. - The type name handling. - + - Gets or sets a predicate used to determine whether the property should be serialize. + Gets or sets all methods called immediately after deserialization of the object. - A predicate used to determine whether the property should be serialize. + The methods called immediately after deserialization of the object. - + - Gets or sets a predicate used to determine whether the property should be serialized. + Gets or sets all methods called during deserialization of the object. - A predicate used to determine whether the property should be serialized. + The methods called during deserialization of the object. - + - Gets or sets an action used to set whether the property has been deserialized. + Gets or sets all methods called after serialization of the object graph. - An action used to set whether the property has been deserialized. + The methods called after serialization of the object graph. - + - Gets or sets the converter used when serializing the property's collection items. + Gets or sets all methods called before serialization of the object. - The collection's items converter. + The methods called before serialization of the object. - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets or sets all method called when an error is thrown during the serialization of the object. - Whether this property's collection items are serialized as a reference. + The methods called when an error is thrown during the serialization of the object. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the default creator method used to create the object. - The collection's items type name handling. + The default creator method used to create the object. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets or sets a value indicating whether the default creator is non-public. - The collection's items reference loop handling. + true if the default object creator is non-public; otherwise, false. - + - A collection of objects. + Contract details for a used by the . - + - Initializes a new instance of the class. + Gets or sets the dictionary key resolver. - The type. + The dictionary key resolver. - + - When implemented in a derived class, extracts the key from the specified element. + Gets the of the dictionary keys. - The element from which to extract the key. - The key for the specified element. + The of the dictionary keys. - + - Adds a object. + Gets the of the dictionary values. - The property to add to the collection. + The of the dictionary values. - + - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. + Gets or sets the function used to create the object. When set this function will override . - Name of the property. - A matching property if found. + The function used to create the object. - + - Gets a property by property name. + Gets a value indicating whether the creator has a parameter with the dictionary values. - The name of the property to get. - Type property name string comparison. - A matching property if found. + true if the creator has a parameter with the dictionary values; otherwise, false. - + - Specifies missing member handling options for the . + Initializes a new instance of the class. + The underlying type for the contract. - + - Ignore a missing member and do not attempt to deserialize it. + Contract details for a used by the . - + - Throw a when a missing member is encountered during deserialization. + Gets the object's properties. + The object's properties. - + - Specifies null value handling options for the . + Gets or sets the property name resolver. - - - - + The property name resolver. - + - Include null values when serializing and deserializing objects. + Initializes a new instance of the class. + The underlying type for the contract. - + - Ignore null values when serializing and deserializing objects. + Contract details for a used by the . - + - Specifies reference loop handling options for the . + Gets or sets the object constructor. + The object constructor. - + - Throw a when a loop is encountered. + Initializes a new instance of the class. + The underlying type for the contract. - + - Ignore loop references and do not serialize. + Contract details for a used by the . - + - Serialize loop references. + Initializes a new instance of the class. + The underlying type for the contract. - + - An in-memory representation of a JSON Schema. + Contract details for a used by the . - + - Initializes a new instance of the class. + Gets or sets the object member serialization. + The member object serialization. - + - Reads a from the specified . + Gets or sets the missing member handling used when deserializing this object. - The containing the JSON Schema to read. - The object representing the JSON Schema. + The missing member handling. - + - Reads a from the specified . + Gets or sets a value that indicates whether the object's properties are required. - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. + + A value indicating whether the object's properties are required. + - + - Load a from a string that contains schema JSON. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - A that contains JSON. - A populated from the string that contains JSON. + How the object's properties with null values are handled during serialization and deserialization. - + - Parses the specified json. + Gets the object's properties. - The json. - The resolver. - A populated from the string that contains JSON. + The object's properties. - + - Writes this schema to a . + Gets a collection of instances that define the parameters used with . - A into which this method will write. - + - Writes this schema to a using the specified . + 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. - A into which this method will write. - The resolver used. + The function used to create the object. - + - Returns a that represents the current . + Gets or sets the extension data setter. - - A that represents the current . - - + - Gets or sets the id. + Gets or sets the extension data getter. - + - Gets or sets the title. + Gets or sets the extension data value type. - + - Gets or sets whether the object is required. + Gets or sets the extension data name resolver. + The extension data name resolver. - + - Gets or sets whether the object is read only. + Initializes a new instance of the class. + The underlying type for the contract. - + - Gets or sets whether the object is visible to users. + Contract details for a used by the . - + - Gets or sets whether the object is transient. + Initializes a new instance of the class. + The underlying type for the contract. - + - Gets or sets the description of the object. + Maps a JSON property to a .NET member or constructor parameter. - + - Gets or sets the types of values allowed by the object. + Gets or sets the name of the property. - The type. + The name of the property. - + - Gets or sets the pattern. + Gets or sets the type that declared this property. - The pattern. + The type that declared this property. - + - Gets or sets the minimum length. + Gets or sets the order of serialization of a member. - The minimum length. + The numeric order of serialization. - + - Gets or sets the maximum length. + Gets or sets the name of the underlying member or parameter. - The maximum length. + The name of the underlying member or parameter. - + - Gets or sets a number that the value should be divisble by. + Gets the that will get and set the during serialization. - A number that the value should be divisble by. + The that will get and set the during serialization. - + - Gets or sets the minimum. + Gets or sets the for this property. - The minimum. + The for this property. - + - Gets or sets the maximum. + Gets or sets the type of the property. - The maximum. + The type of the property. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + The converter. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets the member converter. - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + The member converter. - + - Gets or sets the minimum number of items. + Gets or sets a value indicating whether this is ignored. - The minimum number of items. + true if ignored; otherwise, false. - + - Gets or sets the maximum number of items. + Gets or sets a value indicating whether this is readable. - The maximum number of items. + true if readable; otherwise, false. - + - Gets or sets the of items. + Gets or sets a value indicating whether this is writable. - The of items. + true if writable; otherwise, false. - + - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + Gets or sets a value indicating whether this has a member attribute. - - true if items are validated using their array position; otherwise, false. - + true if has a member attribute; otherwise, false. - + - Gets or sets the of additional items. + Gets the default value. - The of additional items. + The default value. - + - Gets or sets a value indicating whether additional items are allowed. + Gets or sets a value indicating whether this is required. - - true if additional items are allowed; otherwise, false. - + A value indicating whether this is required. - + - Gets or sets whether the array items must be unique. + Gets a value indicating whether has a value specified. - + - Gets or sets the of properties. + Gets or sets a value indicating whether this property preserves object references. - The of properties. + + true if this instance is reference; otherwise, false. + - + - Gets or sets the of additional properties. + Gets or sets the property null value handling. - The of additional properties. + The null value handling. - + - Gets or sets the pattern properties. + Gets or sets the property default value handling. - The pattern properties. + The default value handling. - + - Gets or sets a value indicating whether additional properties are allowed. + Gets or sets the property reference loop handling. - - true if additional properties are allowed; otherwise, false. - + The reference loop handling. - + - Gets or sets the required property if this property is present. + Gets or sets the property object creation handling. - The required property if this property is present. + The object creation handling. - + - Gets or sets the a collection of valid enum values allowed. + Gets or sets or sets the type name handling. - A collection of valid enum values allowed. + The type name handling. - + - Gets or sets disallowed types. + Gets or sets a predicate used to determine whether the property should be serialized. - The disallow types. + A predicate used to determine whether the property should be serialized. - + - Gets or sets the default value. + Gets or sets a predicate used to determine whether the property should be deserialized. - The default value. + A predicate used to determine whether the property should be deserialized. - + - Gets or sets the collection of that this schema extends. + Gets or sets a predicate used to determine whether the property should be serialized. - The collection of that this schema extends. + A predicate used to determine whether the property should be serialized. - + - Gets or sets the format. + Gets or sets an action used to set whether the property has been deserialized. - The format. + An action used to set whether the property has been deserialized. - + - Generates a from a specified . + Returns a that represents this instance. + + A that represents this instance. + - + - Generate a from the specified type. + Gets or sets the converter used when serializing the property's collection items. - The type to generate a from. - A generated from the specified type. + The collection's items converter. - + - Generate a from the specified type. + Gets or sets whether this property's collection items are serialized as a reference. - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. + Whether this property's collection items are serialized as a reference. - + - Generate a from the specified type. + Gets or sets the type name handling used when serializing the property's collection items. - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. + The collection's items type name handling. - + - Generate a from the specified type. + Gets or sets the reference loop handling used when serializing the property's collection items. - 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 collection's items reference loop handling. - + - Gets or sets how undefined schemas are handled by the serializer. + A collection of objects. - + - Gets or sets the contract resolver. + Initializes a new instance of the class. - The contract resolver. + The type. - + - The value types allowed by the . + 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. - + - No type specified. + Adds a object. + The property to add to the collection. - + - String type. + 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. - + - Float type. + Gets a property by property name. + The name of the property to get. + Type property name string comparison. + A matching property if found. - + - Integer type. + Contract details for a used by the . - + - Boolean type. + Initializes a new instance of the class. + The underlying type for the contract. - + - Object type. + 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. - + - Array type. + A kebab case naming strategy. - + - Null type. + 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 . + - + - Any type. + 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. + - + - Contract details for a used by the . + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Resolves the specified property name. - The underlying type for the contract. + The property name to resolve. + The resolved property name. - + - Gets or sets the object member serialization. + 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. - The member object serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + 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. - A value indicating whether the object's properties are required. + The that will be used to filter the trace messages passed to the writer. - + - Gets the object's properties. + Initializes a new instance of the class. - The object's properties. - + - Gets the constructor parameters required for any non-default constructor + 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. - + - Gets a collection of instances that define the parameters used with . + Returns an enumeration of the most recent trace messages. + An enumeration of the most recent trace messages. - + - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. + Returns a of the most recent trace messages. - The override constructor. + + A of the most recent trace messages. + - + - Gets or sets the parametrized constructor used to create the object. + A base class for resolving how property names and dictionary keys are serialized. - 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. + A flag indicating whether dictionary keys should be processed. + Defaults to false. - The function used to create the object. - + - Gets or sets the extension data setter. + A flag indicating whether extension data names should be processed. + Defaults to false. - + - Gets or sets the extension data getter. + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. - + - Contract details for a used by the . + 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. - + - Initializes a new instance of the class. + Gets the serialized name for a given extension data name. - The underlying type for the contract. + The initial extension data name. + The serialized extension data name. - + - Get and set values for a using reflection. + Gets the serialized key for a given dictionary key. + The initial dictionary key. + The serialized dictionary key. - + - Initializes a new instance of the class. + Resolves the specified property name. - The member info. + The property name to resolve. + The resolved property name. - + - Sets the value. + Hash code calculation - The target to set the value on. - The value to set on the target. + - + - Gets the value. + Object equality implementation - 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. + Compare to another NamingStrategy + + @@ -7938,187 +9253,240 @@ The object type to create. - + - Specifies type name handling options for the . + When applied to a method, specifies that the method is called when an error occurs serializing an object. - + - Do not include the .NET type name when serializing types. + Provides methods to get attributes from a , , or . - + - Include the .NET type name when serializing into a JSON object structure. + Initializes a new instance of the class. + The instance to get attributes for. This parameter should be a , , or . - + - Include the .NET type name when serializing into a JSON array structure. + 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. - + - Always include the .NET type name when serializing. + 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. - + - Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Get and set values for a using reflection. - + - 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. + Initializes a new instance of the class. - 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. - + The member info. - + - Gets a dictionary of the names and values of an Enum type. + Sets the value. - + The target to set the value on. + The value to set on the target. - + - Gets a dictionary of the names and values of an Enum type. + Gets the value. - The enum type to get names and values for. - + The target to get the value from. + The value. - + - Specifies the type of Json token. + A snake case naming strategy. - + - This is returned by the if a method has not been called. + 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 . + - + - An object start token. + 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. + - + - An array start token. + Initializes a new instance of the class. - + - A constructor start token. + Resolves the specified property name. + The property name to resolve. + The resolved property name. - + - An object property name. + Specifies how strings are escaped when writing JSON text. - + - A comment. + Only control characters (e.g. newline) are escaped. - + - Raw JSON. + All non-ASCII and control characters (e.g. newline) are escaped. - + - An integer. + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - + - A float. + Indicates the method that will be used during deserialization for locating and loading assemblies. - + - A string. + 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. - + - A boolean. + 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. - + - A null token. + 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 . + - + - An undefined token. + Do not include the .NET type name when serializing types. - + - An object end token. + Include the .NET type name when serializing into a JSON object structure. - + - An array end token. + Include the .NET type name when serializing into a JSON array structure. - + - A constructor end token. + Always include the .NET type name when serializing. - + - A Date. + 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 . - + - Byte data. + Determines whether the collection is null or empty. + The collection. + + true if the collection is null or empty; otherwise, false. + - + - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + Adds the elements of the specified collection to the specified generic . + The list to add to. + The collection of elements to add. - + - Determines whether the collection is null or empty. + 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 collection. + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. - true if the collection is null or empty; otherwise, false. + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. - + - Adds the elements of the specified collection to the specified generic IList. + 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 - The list to add to. - The collection of elements to add. - + - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. @@ -8134,15 +9502,6 @@ 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. @@ -8189,22 +9548,20 @@ 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. + 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -8214,12 +9571,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. @@ -8229,7 +9586,7 @@ - A array is being written. + An array is being written. @@ -8244,8 +9601,46 @@ - A write method has not been called. + A write method has not been called. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll new file mode 100644 index 0000000..e4a6339 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml new file mode 100644 index 0000000..aa245c5 --- /dev/null +++ b/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml @@ -0,0 +1,11262 @@ + + + + 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. + + + + + 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 value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + 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 value type. + + Type of the value. + + true if this instance can convert the specified value type; 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 Entity Framework 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. + The default value is false. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets the naming strategy used to resolve how enum text is written. + + The naming strategy used to resolve how enum text is written. + + + + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. + + true if integers are allowed when serializing and 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. + + + + Initializes a new instance of the class. + + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; 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 Unix epoch time + + + + + 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 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 value 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. + + + + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + true if special characters are encoded; 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. + + + + + The default JSON name table implementation. + + + + + Initializes a new instance of the class. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Adds the specified string into name table. + + The string to add. + This method is not thread-safe. + The resolved string. + + + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + 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. + + + + 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. + The default value is . + + + 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 default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + 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 default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + 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. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + + 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 read values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read 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. + The default value is . + + 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. + The default value is . + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + 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 default value is . + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + + 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 default value is . + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + 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. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Indicates how JSON text output is formatted. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + + 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 property name table. + + + + + 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 https://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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + 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 duplicate property names are handled when loading JSON. + + + + + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. + + + + + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. + + + + + Throw a when a duplicate property is encountered. + + + + + 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 with the specified name. + + The property name. + A with the specified name or null. + + + + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. + + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched 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. + + + + Determines whether the JSON object has the specified property name. + + Name of the property. + true if the JSON object has the specified property name; otherwise, false. + + + + 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 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. + + + + + 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 default value is . + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + + The JSON line info handling. + + + + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + + The JSON duplicate property name handling. + + + + Specifies the settings used when merging JSON. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + Gets or sets the comparison used to match property names while merging. + 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. + + The comparison used to match property names while merging. + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath expression. + + A , or null. + + + + Selects a using a JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath 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 JSONPath expression. + + + A that contains a JSONPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JSONPath expression. + + + A that contains a JSONPath 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. + + + + Initializes a new instance of the class. + + The token to read from. + The initial path of the token. It is prepended to the returned . + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + 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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + 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 a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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. + + + + 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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 the missing member handling used when deserializing this object. + + The missing member handling. + + + + 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 or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 a value indicating whether has a value specified. + + + + + 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. + + + + A kebab 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. + + + + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + + + + + 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. + + + + + 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 + + + + + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 + + + + + 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 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + diff --git a/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..32bbff8 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.xml similarity index 57% rename from packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.xml index ad509c9..4d19d19 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.xml @@ -9,3759 +9,5644 @@ Represents a BSON Oid (object id). - - - Initializes a new instance of the class. - - The Oid value. - Gets or sets the value of the Oid. The value of the Oid. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + 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. - + - Initializes a new instance of the class with the specified . + 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. + - + - Reads the next JSON token from the stream. + Gets or sets a value indicating whether the root object will be read as a JSON array. - true if the next token was read successfully; false if there are no more tokens to read. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets the used when reading values from BSON. - A . This method will return null at the end of an array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Reads the next JSON token from the underlying . - A . This method will return null at the end of an array. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Skips the children of the current token. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Sets the current token. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - The new token. - + - Sets the current token and value. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. - The new token. - The value. + The used when writing values to BSON. - + - Sets the state based on current token type. + Initializes a new instance of the class. + The to write to. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Initializes a new instance of the class. + The to write to. - + - Releases unmanaged and - optionally - managed resources + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Changes the to Closed. + Writes the end. + The token. - + - Gets the current reader state. + Writes a comment /*...*/ containing the specified text. - The current reader state. + Text to place inside the comment. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the start of a constructor with the given name. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The name of the constructor. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes raw JSON. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + The raw JSON to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how time zones are handling when reading JSON. + Writes the beginning of a JSON array. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets the type of the current JSON token. + Writes a null value. - + - Gets the text value of the current JSON token. + Writes an undefined value. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a value. + The value to write. - + - Gets the depth of the current token in the JSON document. + Writes a value. - The depth of the current token in the JSON document. + The value to write. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a value. + The value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a [] value. + The [] value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value that represents a BSON object id. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The Object ID value to write. - + - Initializes a new instance of the class. + Writes a BSON regex. - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The regex pattern. + The regex options. - + - Reads the next JSON token from the stream as a . + Specifies how constructors are used when initializing objects during deserialization by the . - - 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 . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the JSON representation of the object. - A . This method will return null at the end of an array. + The to write to. + The value. + The calling serializer. - + - Reads the next JSON token from the stream as a . + Reads the JSON representation of the object. - - A . This method will return null at the end of an array. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Reads the next JSON token from the stream. + Determines whether this instance can convert the specified object type. + Type of the object. - true if the next token was read successfully; false if there are no more tokens to read. + true if this instance can convert the specified object type; otherwise, false. - + - Changes the to Closed. + Converts a to and from JSON and BSON. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Writes the JSON representation of the object. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + The to write to. + The value. + The calling serializer. - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Reads the JSON representation of the object. - - true if the root object will be read as a JSON array; otherwise, false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets the used when reading values from BSON. + Determines whether this instance can convert the specified object type. - The used when reading values from BSON. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Creates a custom object. + The object type to convert. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Creates an instance of the JsonWriter class. + 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. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Closes this stream and the underlying stream. + 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. + - + - Writes the beginning of a Json object. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of a Json object. + Provides a base class for converting a to and from JSON. - + - Writes the beginning of a Json array. + 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. + - + - Writes the end of an array. + Converts a F# discriminated union type to and from JSON. - + - Writes the start of a constructor with the given name. + Writes the JSON representation of the object. - The name of the constructor. + The to write to. + The value. + The calling serializer. - + - Writes the end constructor. + 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. - + - Writes the property name of a name/value pair on a JSON object. + Determines whether this instance can convert the specified object type. - The name of the property. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the property name of a name/value pair on a JSON object. + Converts an to and from JSON. - 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 JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the current token and its children. + Reads the JSON representation of the object. - The to read the token from. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the current token. + Determines whether this instance can convert the specified object type. - The to read the token from. - A flag indicating whether the current token's children should be written. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the specified end token. + Gets a value indicating whether this can write JSON. - The end token to write. + + true if this can write JSON; otherwise, false. + - + - Writes indent characters. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - + - Writes the JSON value delimiter. + 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. - + - Writes an indent space. + 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. - + - Writes a null value. + 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 an undefined value. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes raw JSON without changing the writer's state. + Reads the JSON representation of the object. - The raw JSON to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes raw JSON where a value is expected and updates the writer's state. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - The raw JSON to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from Unix epoch time - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts XML to and from JSON. - The value to write. - + - Writes a value. + 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 value to write. + The name of the deserialized root element. - + - Writes a value. + Gets or sets a value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. - The value to write. + true if the array attribute is written to the XML; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to write the root JSON object. - The value to write. + true if the JSON root object is omitted; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. - The value to write. + true if special characters are encoded; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The calling serializer. + The value. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Checks if the is a namespace attribute. - The value to write. + 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. - + - Writes out a comment /*...*/ containing the specified text. + Determines whether this instance can convert the specified value type. - Text to place inside the comment. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Writes out the given white space. + Specifies how dates are formatted when writing JSON text. - The string of white space characters. - + - Sets the state of the JsonWriter, + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - The JsonToken being written. - The value being written. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - + - Gets the top. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - The top. - + - Gets the state of the writer. + Date formatted strings are not parsed to a date type and are read as strings. - + - Gets the path of the writer. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Indicates how JSON text output is formatted. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how dates are written to JSON text. + Specifies how to treat the time value when converting between string and . - + - Get or set how time zones are handling when writing JSON text. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - + - Get or set how strings are escaped when writing JSON text. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + 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. - + - Get or set how and values are formatting when writing JSON text. + Time zone information should be preserved when converting. - + - Gets or sets the culture used when writing JSON. Defaults to . + The default JSON name table implementation. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The stream. - + - Initializes a new instance of the class. + Gets a string containing the same characters as the specified range of characters in the given array. - The writer. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Adds the specified string into name table. + The string to add. + This method is not thread-safe. + The resolved string. - + - Writes the end. + Specifies default value handling options for the . - The token. + + + + - + - Writes out a comment /*...*/ containing the specified text. + 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. - Text to place inside the comment. - + - Writes the start of a constructor with the given name. + 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. - The name of the constructor. - + - Writes raw JSON. + Members with a default value but no JSON will be set to their default value when deserializing. - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + 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. - The raw JSON to write. - + - Writes the beginning of a Json array. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - + - Writes the beginning of a Json object. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - + - Writes the property name of a name/value pair on a Json object. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - The name of the property. - + - Closes this stream and the underlying stream. + 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. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The value to write. - + - Writes a null value. + Floating point numbers are parsed to . - + - Writes an undefined value. + Floating point numbers are parsed to . - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Provides an interface for using pooled arrays. - The value to write. + The array type content. - + - Writes a value. + Rent an array from the pool. This array must be returned when it is no longer needed. - The value to write. + 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. - + - Writes a value. + Return an array to the pool. - The value to write. + The array that is being returned. - + - Writes a value. + Provides an interface to enable a class to return line and position information. - The value to write. - + - Writes a value. + Gets a value indicating whether the class can return line information. - The value to write. + + true if and can be provided; otherwise, false. + - + - Writes a value. + Gets the current line number. - The value to write. + The current line number or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Instructs the how to serialize the collection. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether null items are allowed in the collection. - The value to write. + true if null items are allowed in the collection; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with a flag indicating whether the array can contain null items. - The value to write. + A flag indicating whether the array can contain null items. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value. + Instructs the how to serialize the object. - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. + The id. - + - Writes a value. + Gets or sets the title. - The value to write. + The title. - + - Writes a value. + Gets or sets the description. - The value to write. + The description. - + - Writes a value that represents a BSON object id. + Gets or sets the collection's items converter. - The Object ID value to write. + The collection's items converter. - + - Writes a BSON regex. + 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. - The regex pattern. - The regex options. + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + Gets or sets the of the . - The used when writing values to BSON. + The of the . - + - Specifies how constructors are used when initializing objects during deserialization by 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" })] + + - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + Gets or sets a value that indicates whether to preserve object references. + + true to keep object reference; otherwise, false. The default is false. + - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + 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. + - + - Converts a to and from JSON and BSON. + Gets or sets the reference loop handling used when serializing the collection's items. + The reference loop handling. - + - Converts an object to and from JSON. + Gets or sets the type name handling used when serializing the collection's items. + The type name handling. - + - Writes the JSON representation of the object. + Initializes a new instance of the class. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class with the specified container Id. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The container Id. - + - Determines whether this instance can convert the specified object type. + Provides methods for converting between .NET types and JSON types. - 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. + 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 + . - The of the JSON produced by the JsonConverter. - + - Gets a value indicating whether this can read JSON. + Represents JavaScript's boolean value true as a string. This field is read-only. - true if this can read JSON; otherwise, false. - + - Gets a value indicating whether this can write JSON. + Represents JavaScript's boolean value false as a string. This field is read-only. - true if this can write JSON; otherwise, false. - + - Writes the JSON representation of the object. + Represents JavaScript's null as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's undefined as a string. This field is read-only. - 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. + Represents JavaScript's positive infinity as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Create a custom object + Represents JavaScript's negative infinity as a string. This field is read-only. - The object type to convert. - + - Writes the JSON representation of the object. + Represents JavaScript's NaN as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Creates an object which will then be populated by the serializer. + Converts the to its JSON string representation using the specified. - Type of the object. - The created object. + 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 . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Gets a value indicating whether this can write JSON. + Converts the to its JSON string representation using the specified. - - true if this can write JSON; otherwise, false. - + The value to convert. + The format the date will be converted to. + A JSON string representation of the . - + - Provides a base class for converting a to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts a F# discriminated union type to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. + 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. - true if this instance can convert the specified object type; otherwise, false. + A JSON string representation of the object. - + - Converts an ExpandoObject to and from JSON. + 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. - + - Writes the JSON representation of the object. + Serializes the specified object to a JSON string using formatting and a collection of . - The to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Serializes the specified object to a JSON string using . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. + - + - Determines whether this instance can convert the specified object type. + Serializes the specified object to a JSON string using a type, formatting and . - Type of the object. + 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. + - true if this instance can convert the specified object type; otherwise, false. + A JSON string representation of the object. - + - Gets a value indicating whether this can write JSON. + Serializes the specified object to a JSON string using formatting and . - - true if this can write JSON; otherwise, false. - + 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. + + + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Deserializes the JSON to a .NET object. + The JSON to deserialize. + The deserialized object from the JSON string. - + - Writes the JSON representation of the object. + Deserializes the JSON to a .NET object using . - The to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Deserializes the JSON to the specified .NET type. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + + + + 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. + + + + 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. + The default value is . + + + 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 default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + 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 default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + 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. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + + 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 read values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read 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. + The default value is . + + Reference loop handling. - + - Gets or sets the date time styles used when converting a date to and from JSON. + 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 default value is . - The date time styles used when converting a date to and from JSON. + Missing member handling. - + - Gets or sets the date time format used when converting a date to and from JSON. + Gets or sets how objects are created during deserialization. + The default value is . - The date time format used when converting a date to and from JSON. + The object creation handling. - + - Gets or sets the culture used when converting a date to and from JSON. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - The culture used when converting a date to and from JSON. + Null value handling. - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + The default value handling. - + - Writes the JSON representation of the object. + Gets or sets a collection that will be used during serialization. - The to write to. - The value. - The calling serializer. + The converters. - + - Reads the JSON representation of the object. + Gets or sets how object references are preserved by the serializer. + The default value is . - 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. + The preserve references handling. - + - Converts a to and from JSON. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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. - + - Writes the JSON representation of the object. + Gets or sets how metadata properties are used during deserialization. + The default value is . - The to write to. - The value. - The calling serializer. + The metadata properties handling. - + - Reads the JSON representation of the object. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type name assembly format. - + - Determines whether this instance can convert the specified object type. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type name assembly format. - + - Converts a to and from JSON and BSON. + Gets or sets how constructors are used during deserialization. + The default value is . + The constructor handling. - + - Writes the JSON representation of the object. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The to write to. - The value. - The calling serializer. + The contract resolver. - + - Reads the JSON representation of the object. + Gets or sets the equality comparer used by the serializer when comparing references. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The equality comparer. - + - Determines whether this instance can convert the specified object type. + Gets or sets the used by the serializer when resolving references. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The reference resolver. - + - Converts an to and from its name string value. + 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. - + - Initializes a new instance of the class. + Gets or sets the used by the serializer when writing trace messages. + The trace writer. - + - Writes the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - The to write to. - The value. - The calling serializer. + The binder. - + - Reads the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The binder. - + - Determines whether this instance can convert the specified object type. + Gets or sets the error handler called during serialization and deserialization. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The error handler called during serialization and deserialization. - + - Gets or sets a value indicating whether the written enum text should be camel case. + Gets or sets the used by the serializer when invoking serialization callback methods. - true if the written enum text will be camel case; otherwise, false. + The context. - + - Gets or sets a value indicating whether integer values are allowed. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - true if integers are allowed; otherwise, false. - + - Converts a to and from a string (e.g. "1.2.3.4"). + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - + - Writes the JSON representation of the object. + Indicates how JSON text output is formatted. + The default value is . - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Gets or sets how dates are written to JSON text. + The default value is . - 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. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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 how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - + - Writes the JSON representation of the object. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The to write to. - The calling serializer. - The value. - + - Reads the JSON representation of the object. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - 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. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - 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. + Gets or sets the culture used when reading JSON. + The default value is . - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - + - 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 a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. - The name of the deserialize root element. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - 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. + Initializes a new instance of the class. - 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. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - true if the JSON root object is omitted; otherwise, false. - + - Specifies how dates are formatted when writing JSON text. + 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. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + 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. - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + 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. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + 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. - + - Date formatted strings are not parsed to a date type and are read as strings. + 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. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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. - + - Specifies how to treat the time value when converting between string and . + 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. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + 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. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Initializes a new instance of the class with the specified . + The containing the JSON data to read. - + - 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. + Gets or sets the reader's property name table. - + - Time zone information should be preserved when converting. + Gets or sets the reader's character buffer pool. - + - Specifies default 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 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Members with a default value but no JSON will be set to their default value when deserializing. + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - 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. + 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. - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Floating point numbers are parsed to . + Gets a value indicating whether the class can return line information. + + true if and can be provided; otherwise, false. + - + - Floating point numbers are parsed to . + Gets the current line number. + + The current line number or 0 if no line information is available (for example, returns false). + - + - Indicates the method that will be used during deserialization for locating and loading assemblies. + Gets the current line position. + + The current line position or 0 if no line information is available (for example, returns false). + - + - 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. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - 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. + 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. - + - Specifies formatting options for the . + 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. - + - No special formatting is applied. This is the default. + 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. - + - Causes child objects to be indented according to the and settings. + 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. - + - Provides an interface to enable a class to return line and position information. + 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. - + - Gets a value indicating whether the class can return line information. + Asynchronously writes indent characters. - - true if LineNumber and LinePosition can be provided; otherwise, false. - + 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 the current line number. + Asynchronously writes an indent space. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + 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 the current line position. + Asynchronously writes raw JSON without changing the writer's state. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + 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. - + - Instructs the how to serialize the collection. + 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. - + - Instructs the how to serialize the object. + 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. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class with the specified container Id. + Asynchronously writes the beginning of a JSON array. - The container Id. + 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 id. + Asynchronously writes the beginning of a JSON object. - The id. + 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 title. + Asynchronously writes the start of a constructor with the given name. - The title. + 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. - + - Gets or sets the description. + Asynchronously writes an undefined value. - The description. + 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 the collection's items converter. + Asynchronously writes the given white space. - The collection's items converter. + 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. - + - Gets or sets a value that indicates whether to preserve object references. + Asynchronously writes a of value. - - true to keep object reference; otherwise, false. The default is false. - + 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. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Asynchronously writes a value. - - true to keep collection's items object references; otherwise, false. The default is false. - + 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. - + - Gets or sets the reference loop handling used when serializing the collection's items. + Asynchronously writes a value. - The reference loop handling. + 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. - + - Gets or sets the type name handling used when serializing the collection's items. + Asynchronously writes a of value. - The type name handling. + 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. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Asynchronously writes a value. - A flag indicating whether the array can contain null items. + 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. - + - Initializes a new instance of the class with the specified container Id. + Asynchronously writes a of value. - The container Id. + 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. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Asynchronously writes a value. - true if null items are allowed in the collection; otherwise, false. + 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. - + - Instructs the to use the specified constructor when deserializing that object. + 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. - + - Provides methods for converting between common language runtime types and JSON types. + 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. - + - Represents JavaScript's boolean value true as a string. This field is read-only. + 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. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + 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. - + - Represents JavaScript's null as a string. This field is read-only. + 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. - + - Represents JavaScript's undefined as a string. This field is read-only. + 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. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + 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. - + - Represents JavaScript's negative infinity as a string. This field is read-only. + 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. - + - Represents JavaScript's NaN as a string. This field is read-only. + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation using the specified. + Asynchronously writes a of value. - 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 . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation using the specified. + Asynchronously writes a of value. - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a comment /*...*/ containing the specified text. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes the end of an array. - The value to convert. - The string delimiter character. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes the end of a constructor. - The value to convert. - A JSON string representation of the . + 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. - + - Serializes the specified object to a JSON string. + Asynchronously writes the end of a JSON object. - The object to serialize. - A JSON string representation of the 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. - + - Serializes the specified object to a JSON string using formatting. + Asynchronously writes raw JSON where a value is expected and updates the writer's state. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - + 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. - + - Serializes the specified object to a JSON string using a collection of . + Gets or sets the writer's character array pool. - The object to serialize. - A collection 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 . + Gets or sets how many s to write for each level in the hierarchy when is set to . - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using . + Gets or sets which character to use to quote attribute values. - 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 . + Gets or sets which character to use for indenting when is set to . - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using formatting and . + Gets or sets a value indicating whether object names will be surrounded with quotes. - 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 JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a type, formatting and . + Initializes a new instance of the class using the specified . - 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. - - 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. - - - A JSON string representation of the object. - + The to write to. - + - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - 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. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - 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. + Writes the beginning of a JSON object. - 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. + Writes the beginning of a JSON array. - The JSON to deserialize. - The deserialized object from the JSON string. - + - Deserializes the JSON to a .NET object using . + Writes the start of a constructor with the given name. - 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. + The name of the constructor. - + - Deserializes the JSON to the specified .NET type. + Writes the specified end token. - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. + The end token to write. - + - Deserializes the JSON to the specified .NET type. + Writes the property name of a name/value pair on a JSON object. - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. + The name of the property. - + - Deserializes the JSON to the given anonymous type. + Writes the property name of a name/value pair on a JSON object. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Deserializes the JSON to the given anonymous type using . + Writes indent characters. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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 . + Writes the JSON value delimiter. - 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 . + Writes an indent space. - 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 . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value to write. - + - Deserializes the JSON to the specified .NET type using . + Writes a null value. - 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. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Writes an undefined value. - 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. + Writes raw JSON. - 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. - + The raw JSON to write. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Writes a value. - 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. - + The value to write. - + - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. + Writes a value. - 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. - + The value to write. - + - Populates the object with values from the JSON string. + Writes a value. - The JSON to populate values from. - The target object to populate values onto. + The value to write. - + - Populates the object with values from the JSON string using . + Writes a value. - 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. - + The value to write. - + - Asynchronously populates the object with values from the JSON string using . + Writes a value. - 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. - + The value to write. - + - Serializes the to a JSON string. + Writes a value. - The node to convert to JSON. - A JSON string of the XNode. + The value to write. - + - Serializes the to a JSON string using formatting. + Writes a of value. - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + The of value to write. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Writes a value. - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. + The value to write. - + - Deserializes the from a JSON string. + Writes a of value. - The JSON string. - The deserialized XNode + The of value to write. - + - Deserializes the from a JSON string nested in a root elment specified by . + Writes a value. - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode + The value to write. - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Writes a value. - 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 XNode + The value to write. - + - 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 - . + Writes a value. + The value to write. - + - Instructs the to use the specified when serializing the member or class. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - Type of the converter. + The value to write. - + - Gets the type of the converter. + Writes a value. - The type of the converter. + The value to write. - + - Represents a collection of . + Writes a value. + The value to write. - + - Instructs the how to serialize the collection. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value. + The [] value to write. - + - Initializes a new instance of the class with the specified container Id. + Writes a value. - The container Id. + The value to write. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Initializes a new instance of the class - with a specified error message. + Writes a value. - The error message that explains the reason for the exception. + The value to write. - + - 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. + Writes a comment /*...*/ containing the specified text. - 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. + Text to place inside the comment. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Writes the given white space. + The string of white space characters. - + - Initializes a new instance of the class. + Specifies the type of JSON token. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + This is returned by the if a read method has not been called. - - 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. + An object start token. - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - + - Instructs the not to serialize the public field or public read/write property value. + An array start token. - + - Instructs the how to serialize the object. + A constructor start token. - + - Initializes a new instance of the class. + An object property name. - + - Initializes a new instance of the class with the specified member serialization. + A comment. - The member serialization. - + - Initializes a new instance of the class with the specified container Id. + Raw JSON. - The container Id. - + - Gets or sets the member serialization. + An integer. - The member serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + A float. - - A value indicating whether the object's properties are required. - - + - Instructs the to always serialize the member with the specified name. + A string. - + - Initializes a new instance of the class. + A boolean. - + - Initializes a new instance of the class with the specified name. + A null token. - Name of the property. - + - Gets or sets the converter used when serializing the property's collection items. + An undefined token. - The collection's items converter. - + - Gets or sets the null value handling used when serializing this property. + An object end token. - The null value handling. - + - Gets or sets the default value handling used when serializing this property. + An array end token. - The default value handling. - + - Gets or sets the reference loop handling used when serializing this property. + A constructor end token. - The reference loop handling. - + - Gets or sets the object creation handling used when deserializing this property. + A Date. - The object creation handling. - + - Gets or sets the type name handling used when serializing this property. + Byte data. - The type name handling. - + - Gets or sets whether this property's value is serialized as a reference. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - Whether this property's value is serialized as a reference. - + - Gets or sets the order of serialization and deserialization of a member. + Sets an event handler for receiving schema validation errors. - The numeric order of serialization or deserialization. - + - Gets or sets a value indicating whether this property is required. + Gets the text value of the current JSON token. - - A value indicating whether this property is required. - + - + - Gets or sets the name of the property. + Gets the depth of the current token in the JSON document. - The name of the property. + The depth of the current token in the JSON document. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets the path of the current JSON token. - The collection's items reference loop handling. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets the quotation mark character used to enclose the value of a string. - The collection's items type name handling. + - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets the type of the current JSON token. - Whether this property's collection items are serialized as a reference. + - + - The exception thrown when an error occurs while reading Json text. + Gets the .NET type for the current JSON token. + - + - Initializes a new instance of the class. + Initializes a new instance of the class that + validates the content returned from the given . + The to read from while validating. - + - Initializes a new instance of the class - with a specified error message. + Gets or sets the schema. - The error message that explains the reason for the exception. + The schema. - + - 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 the used to construct this . - 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 specified in the constructor. - + - Gets the line number indicating where the error occurred. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Reads the next JSON token from the underlying as a of . - The line position indicating where the error occurred. + A of . - + - Gets the path to the JSON where the error occurred. + Reads the next JSON token from the underlying as a []. - The path to the JSON where the error occurred. + + A [] or null if the next JSON token is null. + - + - The exception thrown when an error occurs during Json serialization or deserialization. + Reads the next JSON token from the underlying as a of . + A of . - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . + A of . - + - Initializes a new instance of the class - with a specified error message. + Reads the next JSON token from the underlying as a of . - The error message that explains the reason for the exception. + A of . - + - 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. + Reads the next JSON token from the underlying as a . - 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. + A . This method will return null at the end of an array. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . + A of . - + - Creates a new instance. - The will not use default settings. + Reads the next JSON token from the underlying . - A new instance. - The will not use default settings. + true if the next token was read successfully; false if there are no more tokens to read. - + - Creates a new instance using the specified . - The will not use default settings. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - + - Creates a new instance. - The will use default settings. + Asynchronously closes this writer. + If is set to true, the destination is also closed. - - A new instance. - The will use default settings. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Creates a new instance using the specified . - The will use default settings. + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Populates the JSON values onto the target object. + Asynchronously writes the specified end token. - The that contains the JSON structure to reader values from. - The target object to populate values onto. + 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 asynchronicity. - + - Populates the JSON values onto the target object. + Asynchronously writes indent characters. - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified . + Asynchronously writes the JSON value delimiter. - The that contains the JSON structure to deserialize. - The being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes an indent space. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes raw JSON without changing the writer's state. - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + 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 asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes the end of the current JSON object or array. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of an array. - The used to write the Json structure. - The to serialize. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of a constructor. - 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. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of a JSON object. - 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. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes a null value. - The used to write the Json structure. - The to serialize. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Occurs when the errors during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving references. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving type names. + 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 asynchronicity. - + - Gets or sets the used by the serializer when writing trace messages. + Asynchronously writes a comment /*...*/ containing the specified text. - The trace writer. + 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 asynchronicity. - + - Gets or sets how type name writing and reading is handled by the serializer. + 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 asynchronicity. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Asynchronously writes the start of a constructor with the given name. - The type name assembly format. + 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 asynchronicity. - + - Gets or sets how object references are preserved by the serializer. + 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 asynchronicity. - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + 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 asynchronicity. - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + 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 asynchronicity. - + - Get or set how null values are handled during serialization and deserialization. + 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 asynchronicity. - + - Get or set how null default are handled during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets how objects are created during deserialization. + Asynchronously writes a of value. - The object creation handling. + 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 asynchronicity. - + - Gets or sets how constructors are used during deserialization. + Asynchronously writes a value. - The constructor handling. + 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 asynchronicity. - + - Gets or sets how metadata properties are used during deserialization. + Asynchronously writes a value. - The metadata properties handling. + 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 asynchronicity. - + - Gets a collection that will be used during serialization. + Asynchronously writes a of value. - Collection that will be used during serialization. + 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 asynchronicity. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + 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 asynchronicity. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Asynchronously writes a value. - The context. + 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 asynchronicity. - + - Indicates how JSON text output is formatted. + 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 asynchronicity. - + - Get or set how dates are written to JSON text. + 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 asynchronicity. - + - Get or set how time zones are handling during serialization and deserialization. + 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 asynchronicity. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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 asynchronicity. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + 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 asynchronicity. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + 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 asynchronicity. - + - Get or set how strings are escaped when writing JSON text. + 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 asynchronicity. - + - Get or set how and values are formatting when writing JSON text. + 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 asynchronicity. - + - Gets or sets the culture used when reading JSON. Defaults to . + 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 asynchronicity. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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 asynchronicity. - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Asynchronously writes a of value. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + 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 asynchronicity. - + - Specifies the settings on a object. + 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 asynchronicity. - + - Initializes a new instance of the class. + 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 asynchronicity. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Asynchronously writes a value. - Reference loop handling. + 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 asynchronicity. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Asynchronously writes a of value. - Missing member handling. + 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 asynchronicity. - + - Gets or sets how objects are created during deserialization. + Asynchronously writes a value. - The object creation handling. + 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 asynchronicity. - + - Gets or sets how null values are handled during serialization and deserialization. + Asynchronously writes a of value. - Null value handling. + 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 asynchronicity. - + - Gets or sets how null default are handled during serialization and deserialization. + Asynchronously writes a value. - The default value handling. + 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 asynchronicity. - + - Gets or sets a collection that will be used during serialization. + Asynchronously writes a value. - The converters. + 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 asynchronicity. - + - Gets or sets how object references are preserved by the serializer. + Asynchronously writes a of value. - The preserve references handling. + 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 asynchronicity. - + - Gets or sets how type name writing and reading is handled by the serializer. + Asynchronously writes a value. - The type name handling. + 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 asynchronicity. - + - Gets or sets how metadata properties are used during deserialization. + Asynchronously writes a of value. - The metadata properties handling. + 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 asynchronicity. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Asynchronously writes a value. - The type name assembly format. + 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 asynchronicity. - + - Gets or sets how constructors are used during deserialization. + Asynchronously writes a value. - The constructor handling. + 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 asynchronicity. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Asynchronously writes a of value. - The contract resolver. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving references. + Asynchronously writes a value. - The reference resolver. + 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 asynchronicity. - + - Gets or sets the used by the serializer when writing trace messages. + Asynchronously writes a of value. - The trace writer. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving type names. + Asynchronously writes a value. - The binder. + 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 asynchronicity. - + - Gets or sets the error handler called during serialization and deserialization. + Asynchronously writes a of value. - The error handler called during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Asynchronously writes a value. - The context. + 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 asynchronicity. - + - Get or set how and values are formatting when writing JSON text. + 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 asynchronicity. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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 asynchronicity. - + - Indicates how JSON text output is formatted. + 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 asynchronicity. - + - Get or set how dates are written to JSON text. + 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 asynchronicity. - + - Get or set how time zones are handling during serialization and deserialization. + 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 asynchronicity. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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. + - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + 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. + - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets the top. + The top. - + - Get or set how strings are escaped when writing JSON text. + Gets the state of the writer. - + - Gets or sets the culture used when reading JSON. Defaults to . + Gets the path of the writer. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Gets or sets a value indicating how JSON text output should be formatted. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Gets or sets how dates are written to JSON text. - + - Initializes a new instance of the class with the specified . + Gets or sets how time zones are handled when writing JSON text. - The TextReader containing the XML data to read. - + - Reads the next JSON token from the stream. + Gets or sets how strings are escaped when writing JSON text. - - 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 . + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. - - 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 . + Gets or sets how and values are formatted when writing JSON text. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets or sets the culture used when writing JSON. Defaults to . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Flushes whatever is in the buffer to the destination and also flushes the destination. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - A . This method will return null at the end of an array. - + - Changes the state to closed. + Writes the beginning of a JSON object. - + - Gets a value indicating whether the class can return line information. + Writes the end of a JSON object. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Writes the beginning of a JSON array. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - + - Gets the current line position. + Writes the end of an array. - - 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. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Creates an instance of the JsonWriter class using the specified . + Writes the end constructor. - The TextWriter to write to. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Writes the property name of a name/value pair of a JSON object. + The name of the property. - + - Closes this stream and the underlying stream. + 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 beginning of a Json object. + Writes the end of the current JSON object or array. - + - Writes the beginning of a Json array. + Writes the current token and its children. + The to read the token from. - + - Writes the start of a constructor with the given name. + Writes the current token. - The name of the constructor. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Writes the specified end token. + Writes the token and its value. - The end token to write. + 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 property name of a name/value pair on a Json object. + Writes the token. - The name of the property. + The to write. - + - Writes the property name of a name/value pair on a JSON object. + Writes the specified end token. - 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 end token to write. - + 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. + Writes a null value. - The value to write. - + - Writes a null value. + Writes an undefined value. - + - Writes an undefined value. + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - Writes raw JSON. + 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 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. - - - - 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. - - - - - 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. + Writes a of value. + The of value to write. - + - A comment. + Writes a of value. + The of value to write. - + - Raw JSON. + Writes a of value. + The of value to write. - + - An integer. + Writes a of value. + The of value to write. - + - A float. + Writes a of value. + The of value to write. - + - A string. + Writes a of value. + The of value to write. - + - A boolean. + Writes a of value. + The of value to write. - + - A null token. + Writes a of value. + The of value to write. - + - An undefined token. + Writes a of value. + The of value to write. - + - An object end token. + Writes a of value. + The of value to write. - + - An array end token. + Writes a of value. + The of value to write. - + - A constructor end token. + Writes a of value. + The of value to write. - + - A Date. + Writes a of value. + The of value to write. - + - Byte data. + Writes a of value. + The of value to write. - + - Represents a reader that provides validation. + Writes a of value. + The of value to write. - + - Initializes a new instance of the class that - validates the content returned from the given . + Writes a of value. - The to read from while validating. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a [] value. - - A or a null reference if the next JSON token is null. - + The [] value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. - A . + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - A . This method will return null at the end of an array. + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a comment /*...*/ containing the specified text. - A . This method will return null at the end of an array. + Text to place inside the comment. - + - Reads the next JSON token from the stream as a . + Writes the given white space. - A . + The string of white space characters. - + - Reads the next JSON token from the stream. + Releases unmanaged and - optionally - managed resources. - - true if the next token was read successfully; false if there are no more tokens to read. - + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Sets an event handler for receiving schema validation errors. + Sets the state of the . + The being written. + The value being written. - + - Gets the text value of the current JSON token. + The exception thrown when an error occurs while writing JSON text. - - + - Gets the depth of the current token in the JSON document. + Gets the path to the JSON where the error occurred. - The depth of the current token in the JSON document. + The path to the JSON where the error occurred. - + - Gets the path of the current JSON token. + Initializes a new instance of the class. - + - Gets the quotation mark character used to enclose the value of a string. + Initializes a new instance of the class + with a specified error message. - + The error message that explains the reason for the exception. - + - Gets the type of the current JSON token. + 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. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + 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. - + - Gets or sets the schema. + Specifies how JSON comments are handled when loading JSON. - The schema. - + - Gets the used to construct this . + Ignore comments. - The specified in the constructor. - + - The exception thrown when an error occurs while reading Json text. + Load comments as a with type . - + - Initializes a new instance of the class. + Specifies how duplicate property names are handled when loading JSON. - + - Initializes a new instance of the class - with a specified error message. + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - 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. + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - 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. - + - Gets the path to the JSON where the error occurred. + Throw a when a duplicate property is encountered. - The path to the JSON where the error occurred. @@ -3774,7 +5659,15 @@ The type of the objects in source, constrained to . An of that contains the source collection. - An of that contains the ancestors of every node in 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. @@ -3782,7 +5675,15 @@ The type of the objects in source, constrained to . An of that contains the source collection. - An of that contains the descendants of every node in 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. @@ -3797,14 +5698,14 @@ An of that contains the source collection. The token key. - An of that contains the values of every node in the source collection with the given 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 node in the source collection. + An of that contains the values of every token in the source collection. @@ -3813,7 +5714,7 @@ 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 node in the source collection with the given key. + An that contains the converted values of every token in the source collection with the given key. @@ -3821,7 +5722,7 @@ The type to convert the values to. An of that contains the source collection. - An that contains the converted values of every node in the source collection. + An that contains the converted values of every token in the source collection. @@ -3846,7 +5747,7 @@ The source collection type. An of that contains the source collection. - An of that contains the values of every node in the source collection. + An of that contains the values of every token in the source collection. @@ -3855,7 +5756,7 @@ 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 node in the source collection. + An that contains the converted values of every token in the source collection. @@ -3876,11 +5777,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. @@ -3892,912 +5793,1085 @@ - + - Represents a token that can contain other tokens. + 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. - + - Represents an abstract JSON token. + 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 . - + - Compares the values of two tokens, including the values of all descendant tokens. + Asynchronously loads a from a . - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. + 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 . - + - Adds the specified content immediately after this token. + Gets the container's children tokens. - A content object that contains simple content or a collection of content objects to be added after this token. + The container's children tokens. - + - Adds the specified content immediately before this token. + Gets the node type for this . - A content object that contains simple content or a collection of content objects to be added before this token. + The type. - + - Returns a collection of the ancestor tokens of this token. + Initializes a new instance of the class. - A collection of the ancestor tokens of this token. - + - Returns a collection of the sibling tokens after this token, in document order. + Initializes a new instance of the class from another object. - A collection of the sibling tokens after this tokens, in document order. + A object to copy from. - + - Returns a collection of the sibling tokens before this token, in document order. + Initializes a new instance of the class with the specified content. - A collection of the sibling tokens before this token, in document order. + The contents of the array. - + - Gets the with the specified key converted to the specified type. + Initializes a new instance of the class with the specified content. - The type to convert the token to. - The token key. - The converted token value. + The contents of the array. - + - Returns a collection of the child tokens of this token, in document order. + Loads an from a . - An of containing the child tokens of this , in document order. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + Loads an from a . - The type to filter the child tokens on. - A containing the child tokens of this , in document order. + 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 . - + - Returns a collection of the child values of this token, in document order. + Load a from a string that contains JSON. - The type to convert the values to. - A containing the child values of this , in document order. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Removes this token from its parent. + 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. + + + - + - Replaces this token with the specified token. + Creates a from an object. - The value. + 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. - + - Returns the indented JSON for this 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 indented JSON for this token. + The index of if found in the list; otherwise, -1. - + - Returns the JSON for this token using the given formatting and converters. + 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 . - 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. + 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 . - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Gets or sets the name of this constructor. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Gets the node type for this . - The value. - The result of the conversion. + The type. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class from another object. - The value. - The result of the conversion. + A object to copy from. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Writes this token to a . - The value. - The result of the conversion. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an explicit conversion from to . + Gets the with the specified key. - The value. - The result of the conversion. + The with the specified key. - + - Performs an explicit conversion from to . + Loads a from a . - The value. - The result of the conversion. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Performs an explicit conversion from to . + Loads a from a . - The value. - The result of the conversion. + 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 . - + - Performs an explicit conversion from to . + Represents a token that can contain other tokens. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Occurs when the items list of the collection has changed, or the collection is reset. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Raises the event. - The value. - The result of the conversion. + The instance containing the event data. - + - Performs an explicit conversion from to . + Gets a value indicating whether this token has child tokens. - The value. - The result of the conversion. + + true if this token has child values; otherwise, false. + - + - Performs an explicit conversion from to . + Get the first child token of this token. - The value. - The result of the conversion. + + A containing the first child token of the . + - + - Performs an explicit conversion from to . + Get the last child token of this token. - The value. - The result of the conversion. + + A containing the last child token of the . + - + - Performs an explicit conversion from to . + Returns a collection of the child tokens of this token, in document order. - The value. - The result of the conversion. + + An of containing the child tokens of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the child values of this token, in document order. - The value. - The result of the conversion. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the descendant tokens for this token in document order. - The value. - The result of the conversion. + An of containing the descendant tokens of the . - + - Performs an explicit conversion from to . + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - The value. - The result of the conversion. + An of containing this token, and all the descendant tokens of the . - + - Performs an explicit conversion from to . + Adds the specified content as children of this . - The value. - The result of the conversion. + The content to be added. - + - Performs an explicit conversion from to . + Adds the specified content as the first children of this . - The value. - The result of the conversion. + The content to be added. - + - Performs an explicit conversion from to . + Creates a that can be used to add tokens to the . - The value. - The result of the conversion. + A that is ready to have content written to it. - + - Performs an explicit conversion from to . + Replaces the child nodes of this token with the specified content. - The value. - The result of the conversion. + The content. - + - Performs an explicit conversion from to . + Removes the child nodes from this token. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Merge the specified content into this . - The value. - The result of the conversion. + The content to be merged. - + - Performs an explicit conversion from to . + Merge the specified content into this using . - The value. - The result of the conversion. + The content to be merged. + The used to merge the content. - + - Performs an explicit conversion from to . + Gets the count of child JSON tokens. - The value. - The result of the conversion. + The count of child JSON tokens. - + - Performs an explicit conversion from to . + Represents a collection of objects. - The value. - The result of the conversion. + The type of token. - + - Performs an explicit conversion from to . + An empty collection of objects. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the struct. - The value. - The result of the conversion. + The enumerable. - + - Performs an explicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value. - The result of the conversion. + + A that can be used to iterate through the collection. + - + - Performs an explicit conversion from to . + Gets the of with the specified key. - The value. - The result of the conversion. + - + - Performs an explicit conversion from to . + Determines whether the specified is equal to this instance. - The value. - The result of the conversion. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Returns a hash code for this instance. - The value to create a from. - The initialized with the specified value. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Performs an implicit conversion from to . + Represents a JSON object. - The value to create a from. - The initialized with the specified value. + + + - + - Performs an implicit conversion from to . + Writes this token to a asynchronously. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Asynchronously loads a from a . - The value to create a from. - The initialized with the specified value. + 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 . - + - Performs an implicit conversion from to . + Asynchronously loads a from a . - The value to create a from. - The initialized with the specified value. + 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 . - + - Performs an implicit conversion from to . + Gets the container's children tokens. - The value to create a from. - The initialized with the specified value. + The container's children tokens. - + - Performs an implicit conversion from to . + Occurs when a property value changes. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class from another object. - The value to create a from. - The initialized with the specified value. + A object to copy from. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Gets the node type for this . - The value to create a from. - The initialized with the specified value. + The type. - + - Performs an implicit conversion from to . + Gets an of of this object's properties. - The value to create a from. - The initialized with the specified value. + An of of this object's properties. - + - Performs an implicit conversion from to . + Gets a with the specified name. - The value to create a from. - The initialized with the specified value. + The property name. + A with the specified name or null. - + - Performs an implicit conversion from to . + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. - The value to create a from. - The initialized with the specified value. + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. - + - Performs an implicit conversion from to . + Gets a of of this object's property values. - The value to create a from. - The initialized with the specified value. + A of of this object's property values. - + - Performs an implicit conversion from to . + Gets the with the specified key. - The value to create a from. - The initialized with the specified value. + The with the specified key. - + - Performs an implicit conversion from to . + Gets or sets the with the specified property name. - The value to create a from. - The initialized with the specified value. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Load a from a string that contains JSON. - The value to create a from. - The initialized with the specified value. + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + - + - Performs an implicit conversion from to . + Load a from a string that contains JSON. - The value to create a from. - The initialized with the specified value. + 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. + + + + - + - Performs an implicit conversion from to . + Creates a from an object. - The value to create a from. - The initialized with the specified value. + The object that will be used to create . + A with the values of the specified object. - + - Performs an implicit conversion from to . + Creates a from an object. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Writes this token to a . - The value to create a from. - The initialized with the specified value. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an implicit conversion from to . + Gets the with the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The with the specified property name. - + - Performs an implicit conversion from to . + 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. - The value to create a from. - The initialized with the specified value. + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Performs an implicit conversion from to . + 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. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Adds the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The value. - + - Performs an implicit conversion from to . + Determines whether the JSON object has the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + true if the JSON object has the specified property name; otherwise, false. - + - Performs an implicit conversion from to . + Removes the property with the specified name. - The value to create a from. - The initialized with the specified value. + Name of the property. + true if item was successfully removed; otherwise, false. - + - Performs an implicit conversion from to . + Tries to get the with the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - + - Performs an implicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value to create a from. - The initialized with the specified value. + + A that can be used to iterate through the collection. + - + - Performs an implicit conversion from to . + Raises the event with the provided arguments. - The value to create a from. - The initialized with the specified value. + Name of the property. - + - Creates an for this token. + Returns the responsible for binding operations performed on this object. - An that can be used to read this token and its descendants. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Creates a from an object. + Represents a JSON property. - The object that will be used to create . - A with the value of the specified object - + - Creates a from an object using the specified . + Writes this token to a asynchronously. - 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 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. - + - 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. + 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 . - + - Creates the specified .NET type from the . + Asynchronously loads a from a . - The object type that the token will be deserialized to. - The new object created from the JSON value. + 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 . - + - Creates the specified .NET type from the using the specified . + Gets the container's children tokens. - 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. + The container's children tokens. - + - Creates the specified .NET type from the using the specified . + Gets the property name. - 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. + The property name. - + - Creates a from a . + Gets or sets the property value. - 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. - + The property value. - + - Load a from a string that contains JSON. + Initializes a new instance of the class from another object. - A that contains JSON. - A populated from the string that contains JSON. + A object to copy from. - + - Creates a from a . + Gets the node type for this . - 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. - + The type. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Initializes a new instance of the class. - - A that contains a JPath expression. - - A , or null. + The property name. + The property content. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Initializes a new instance of the class. - - 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 . + The property name. + The property content. - + - Selects a collection of elements using a JPath expression. + Writes this token to a . - - A that contains a JPath expression. - - An that contains the selected elements. + A into which this method will write. + A collection of which will be used when writing the token. - + - Selects a collection of elements using a JPath expression. + Loads a from a . - - 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. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Returns the responsible for binding operations performed on this object. + Loads a from a . - The expression tree representation of the runtime value. - - The to bind this object. - + 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 . - + - Returns the responsible for binding operations performed on this object. + Represents a raw JSON string. - 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. + Asynchronously creates an instance of with the content of the reader's current token. - A new instance of the . + 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. - + - Gets a comparer that can compare two tokens for value equality. + Initializes a new instance of the class from another object. - A that can compare two nodes for value equality. + A object to copy from. - + - Gets or sets the parent. + Initializes a new instance of the class. - The parent. + The raw json. - + - Gets the root of this . + Creates an instance of with the content of the reader's current token. - The root of this . + The reader. + An instance of with the content of the reader's current token. - + - Gets the node type for this . + Specifies the settings used when loading JSON. - The type. - + - Gets a value indicating whether this token has child tokens. + Initializes a new instance of the class. - - true if this token has child values; otherwise, false. - - + - Gets the next sibling token of this node. + Gets or sets how JSON comments are handled when loading JSON. + The default value is . - The that contains the next sibling token. + The JSON comment handling. - + - Gets the previous sibling token of this node. + Gets or sets how JSON line info is handled when loading JSON. + The default value is . - The that contains the previous sibling token. + The JSON line info handling. - + - Gets the path of the JSON token. + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + The JSON duplicate property name handling. - + - Gets the with the specified key. + Specifies the settings used when merging JSON. - The with the specified key. - + - Get the first child token of this token. + Initializes a new instance of the class. - A containing the first child token of the . - + - Get the last child token of this token. + Gets or sets the method used when merging JSON arrays. - A containing the last child token of the . + The method used when merging JSON arrays. - + - Raises the event. + Gets or sets how null value properties are merged. - The instance containing the event data. + How null value properties are merged. - + - Returns a collection of the child tokens of this token, in document order. + Gets or sets the comparison used to match property names while merging. + 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. - - An of containing the child tokens of this , in document order. - + The comparison used to match property names while merging. - + - Returns a collection of the child values of this token, in document order. + Represents an abstract JSON token. - 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. + Writes this token to a asynchronously. - An containing the descendant tokens of the . + 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. - + - Adds the specified content as children of this . + Writes this token to a asynchronously. - The content to be added. + 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. - + - Adds the specified content as the first children of this . + Asynchronously creates a from a . - The content to be added. + 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. + - + - Creates an that can be used to add tokens to the . + Asynchronously creates a from a . - An that is ready to have content written to it. + 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. + - + - Replaces the children nodes of this token with the specified content. + Asynchronously creates a from a . - The content. + 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. + - + - Removes the child nodes from this token. + 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. + - + - Merge the specified content into this . + Gets a comparer that can compare two tokens for value equality. - The content to be merged. + A that can compare two nodes for value equality. - + - Merge the specified content into this using . + Gets or sets the parent. - The content to be merged. - The used to merge the content. + The parent. - + - Occurs when the items list of the collection has changed, or the collection is reset. + Gets the root of this . + The root of this . - + - Gets the container's children tokens. + Gets the node type for this . - The container's children tokens. + The type. - + Gets a value indicating whether this token has child tokens. @@ -4805,778 +6879,809 @@ true if this token has child values; otherwise, false. - + - Get the first child token of this token. + Compares the values of two tokens, including the values of all descendant tokens. - - A containing the first child token of the . - + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. - + - Get the last child token of this token. + Gets the next sibling token of this node. - - A containing the last child token of the . - + The that contains the next sibling token. - + - Gets the count of child JSON tokens. + Gets the previous sibling token of this node. - The count of child JSON tokens + The that contains the previous sibling token. - + - Initializes a new instance of the class. + Gets the path of the JSON token. - + - Initializes a new instance of the class from another object. + Adds the specified content immediately after this token. - A object to copy from. + A content object that contains simple content or a collection of content objects to be added after this token. - + - Initializes a new instance of the class with the specified content. + Adds the specified content immediately before this token. - The contents of the array. + A content object that contains simple content or a collection of content objects to be added before this token. - + - Initializes a new instance of the class with the specified content. + Returns a collection of the ancestor tokens of this token. - The contents of the array. + A collection of the ancestor tokens of this token. - + - Loads an from a . + Returns a collection of tokens that contain this token, and the ancestors of this token. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A collection of tokens that contain this token, and the ancestors of this token. - + - Load a from a string that contains JSON. + Returns a collection of the sibling tokens after this token, in document order. - A that contains JSON. - A populated from the string that contains JSON. - - - + A collection of the sibling tokens after this tokens, in document order. - + - Creates a from an object. + Returns a collection of the sibling tokens before this token, in document order. - The object that will be used to create . - A with the values of the specified object + A collection of the sibling tokens before this token, in document order. - + - Creates a from an object. + Gets the with the specified key. - 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 + The with the specified key. - + - Writes this token to a . + Gets the with the specified key converted to the specified type. - A into which this method will write. - A collection of which will be used when writing the token. + The type to convert the token to. + The token key. + The converted token value. - + - Determines the index of a specific item in the . + Get the first child token of this token. - The object to locate in the . - - The index of if found in the list; otherwise, -1. - + A containing the first child token of the . - + - Inserts an item to the at the specified index. + Get the last child token of this token. - 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. + A containing the last child token of the . - + - Removes the item at the specified index. + Returns a collection of the child tokens of this token, in document order. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + An of containing the child tokens of this , in document order. - + - Returns an enumerator that iterates through the collection. + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - A that can be used to iterate through the collection. - + The type to filter the child tokens on. + A containing the child tokens of this , in document order. - + - Adds an item to the . + Returns a collection of the child values of this token, in document order. - The object to add to the . - The is read-only. + The type to convert the values to. + A containing the child values of this , in document order. - + - Removes all items from the . + Removes this token from its parent. - The is read-only. - + - Determines whether the contains a specific value. + Replaces this token with the specified token. - The object to locate in the . - - true if is found in the ; otherwise, false. - + The value. - + - Copies to. + Writes this token to a . - The array. - Index of the array. + A into which this method will write. + A collection of which will be used when writing the token. - + - Removes the first occurrence of a specific object from the . + Returns the indented JSON for this token. - The object to remove from the . + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + The indented JSON for this token. - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - + - Gets the node type for this . + Returns the JSON for this token using the given formatting and converters. - The type. + 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. - + - Gets the with the specified key. + Performs an explicit conversion from to . - The with the specified key. + The value. + The result of the conversion. - + - Gets or sets the at the specified index. + Performs an explicit conversion from to . - + The value. + The result of the conversion. - + - Gets a value indicating whether the is read-only. + Performs an explicit conversion from to of . - true if the is read-only; otherwise, false. + The value. + The result of the conversion. - + - Represents a JSON constructor. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class from another object. + Performs an explicit conversion from to of . - A object to copy from. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name and content. + Performs an explicit conversion from to of . - The constructor name. - The contents of the constructor. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name and content. + Performs an explicit conversion from to of . - The constructor name. - The contents of the constructor. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name. + Performs an explicit conversion from to of . - The constructor name. + The value. + The result of the conversion. - + - Writes this token to a . + Performs an explicit conversion from to . - A into which this method will write. - A collection of which will be used when writing the token. + The value. + The result of the conversion. - + - Loads an from a . + Performs an explicit conversion from to . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value. + The result of the conversion. - + - Gets the container's children tokens. + Performs an explicit conversion from to . - The container's children tokens. + The value. + The result of the conversion. - + - Gets or sets the name of this constructor. + Performs an explicit conversion from to . - The constructor name. + The value. + The result of the conversion. - + - Gets the node type for this . + Performs an explicit conversion from to . - The type. + The value. + The result of the conversion. - + - Gets the with the specified key. + Performs an explicit conversion from to . - The with the specified key. + The value. + The result of the conversion. - + - Represents a collection of objects. + Performs an explicit conversion from to of . - The type of token + The value. + The result of the conversion. - + - An empty collection of objects. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the struct. + Performs an explicit conversion from to of . - The enumerable. + The value. + The result of the conversion. - + - Returns an enumerator that iterates through the collection. + Performs an explicit conversion from to of . - - A that can be used to iterate through the collection. - + The value. + The result of the conversion. - + - Returns an enumerator that iterates through a collection. + Performs an explicit conversion from to of . - - An object that can be used to iterate through the collection. - + The value. + The result of the conversion. - + - Determines whether the specified is equal to this instance. + Performs an explicit conversion from to of . - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The value. + The result of the conversion. - + - Returns a hash code for this instance. + Performs an explicit conversion from to of . - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + The value. + The result of the conversion. - + - Gets the with the specified key. + Performs an explicit conversion from to of . - + The value. + The result of the conversion. - + - Represents a JSON object. + Performs an explicit conversion from to . - - - + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class from another object. + Performs an explicit conversion from to of . - A object to copy from. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified content. + Performs an explicit conversion from to . - The contents of the object. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified content. + Performs an explicit conversion from to . - The contents of the object. + The value. + The result of the conversion. - + - Gets an of this object's properties. + Performs an explicit conversion from to . - An of this object's properties. + The value. + The result of the conversion. - + - Gets a the specified name. + Performs an explicit conversion from to . - The property name. - A with the specified name or null. + The value. + The result of the conversion. - + - Gets an of this object's property values. + Performs an explicit conversion from to . - An of this object's property values. + The value. + The result of the conversion. - + - Loads an from a . + Performs an explicit conversion from to []. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value. + The result of the conversion. - + - Load a from a string that contains JSON. + Performs an explicit conversion from to . - A that contains JSON. - A populated from the string that contains JSON. - - - + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to of . - The object that will be used to create . - A with the values of the specified object + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to . - 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 + The value. + The result of the conversion. - + - Writes this token to a . + Performs an explicit conversion from to of . - A into which this method will write. - A collection of which will be used when writing the token. + The value. + The result of the conversion. - + - Gets the with the specified property name. + Performs an explicit conversion from to . - Name of the property. - The with the specified property name. + The value. + The result of the conversion. - + - 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. + Performs an implicit conversion from to . - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The value to create a from. + The initialized with the specified value. - + - 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. + Performs an implicit conversion from to . - 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. + The value to create a from. + The initialized with the specified value. - + - Adds the specified property name. + Performs an implicit conversion from to . - Name of the property. - The value. + The value to create a from. + The initialized with the specified value. - + - Removes the property with the specified name. + Performs an implicit conversion from of to . - Name of the property. - true if item was successfully removed; otherwise, false. + The value to create a from. + The initialized with the specified value. - + - Tries the get value. + Performs an implicit conversion from to . - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + The value to create a from. + The initialized with the specified value. - + - Returns an enumerator that iterates through the collection. + Performs an implicit conversion from of to . - - A that can be used to iterate through the collection. - + The value to create a from. + The initialized with the specified value. - + - Raises the event with the provided arguments. + Performs an implicit conversion from of to . - Name of the property. + The value to create a from. + The initialized with the specified value. - + - Returns the responsible for binding operations performed on this object. + Performs an implicit conversion from of to . - The expression tree representation of the runtime value. - - The to bind this object. - + The value to create a from. + The initialized with the specified value. - + - Gets the container's children tokens. + Performs an implicit conversion from of to . - The container's children tokens. + The value to create a from. + The initialized with the specified value. - + - Occurs when a property value changes. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets the node type for this . + Performs an implicit conversion from of to . - The type. + The value to create a from. + The initialized with the specified value. - + - Gets the with the specified key. + Performs an implicit conversion from of to . - The with the specified key. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the with the specified property name. + Performs an implicit conversion from to . - + The value to create a from. + The initialized with the specified value. - + - Represents a JSON property. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from of to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Writes this token to a . + Performs an implicit conversion from of to . - A into which this method will write. - A collection of which will be used when writing the token. + The value to create a from. + The initialized with the specified value. - + - Loads an from a . + Performs an implicit conversion from of to . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to create a from. + The initialized with the specified value. - + - Gets the container's children tokens. + Performs an implicit conversion from to . - The container's children tokens. + The value to create a from. + The initialized with the specified value. - + - Gets the property name. + Performs an implicit conversion from of to . - The property name. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the property value. + Performs an implicit conversion from of to . - The property value. + The value to create a from. + The initialized with the specified value. - + - Gets the node type for this . + Performs an implicit conversion from of to . - The type. + The value to create a from. + The initialized with the specified value. - + - Represents a raw JSON string. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Represents a value in JSON (string, integer, date, etc). + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from [] to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Creates a for this token. - The value. + A that can be used to read this token and its descendants. - + - Initializes a new instance of the class with the given value. + Creates a from an object. - The value. + The object that will be used to create . + A with the value of the specified object. - + - Initializes a new instance of the class with the given value. + Creates a from an object using the specified . - The value. + 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. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Creates a comment with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A comment with the given value. + 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 string with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A string with the given value. + 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 null value. + Creates a from a . - A null value. + 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 null value. + Creates a from a . - A null value. + 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. + - + - Writes this token to a . + Load a from a string that contains JSON. - A into which this method will write. - A collection of which will be used when writing the token. + A that contains JSON. + A populated from the string that contains JSON. - + - Indicates whether the current object is equal to another object of the same type. + Load a from a string that contains JSON. - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. + 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. - + - Determines whether the specified is equal to the current . + Creates a from a . - The to compare with the current . + 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. - true if the specified is equal to the current ; otherwise, false. + 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. - - The parameter is null. - - + - Serves as a hash function for a particular type. + Creates a from a . + A positioned at the token to read into this . - A hash code for the current . + 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. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A , or null. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - The format. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath 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. @@ -5585,75 +7690,66 @@ 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. + Returns the responsible for binding operations performed on this object. - An object to compare with this instance. + The expression tree representation of the runtime value. - 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 . + The to bind this object. - - is not the same type as this instance. - - + - Gets a value indicating whether this token has child tokens. + Creates a new instance of the . All child tokens are recursively cloned. - - true if this token has child values; otherwise, false. - + A new instance of the . - + - Gets the node type for this . + Adds an object to the annotation list of this . - The type. + The annotation to add. - + - Gets or sets the underlying token value. + Get the first annotation object of the specified type from this . - The underlying token value. + 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. - + - Initializes a new instance of the class from another object. + Gets the first annotation object of the specified type from this . - A object to copy from. + 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. - + - Initializes a new instance of the class. + Gets a collection of annotations of the specified type for this . - The raw json. + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Creates an instance of with the content of the reader's current token. + Gets a collection of annotations of the specified type for this . - The reader. - An instance of with the content of the reader's current token. + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . - + - Specifies the settings used when merging JSON. + Removes the annotations of the specified type from this . + The type of annotations to remove. - + - Gets or sets the method used when merging JSON arrays. + Removes the annotations of the specified type from this . - The method used when merging JSON arrays. + The of annotations to remove. @@ -5667,7 +7763,7 @@ The first object of type to compare. The second object of type to compare. - true if the specified objects are equal; otherwise, false. + true if the specified objects are equal; otherwise, false. @@ -5676,63 +7772,37 @@ 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. - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - 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 . + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets the at the reader's current position. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. + The initial path of the token. It is prepended to the returned . - 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. + true if the next token was read successfully; false if there are no more tokens to read. @@ -5837,8 +7907,19 @@ - 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 JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + The token being written. @@ -5853,22 +7934,26 @@ - 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. + - Writes the beginning of a Json object. + Writes the beginning of a JSON object. - Writes the beginning of a Json array. + Writes the beginning of a JSON array. @@ -5885,14 +7970,14 @@ - Writes the property name of a name/value pair on a Json object. + 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. + An error will be raised if the value cannot be written as a single JSON token. The value to write. @@ -5914,7 +7999,7 @@ - Writes out a comment /*...*/ containing the specified text. + Writes a comment /*...*/ containing the specified text. Text to place inside the comment. @@ -5938,111 +8023,372 @@ - Writes a 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. + + + + 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 to write. + The value. + A string with the given value. - + - Writes a value. + Creates a null value. - The value to write. + A null value. - + - Writes a value. + Creates a undefined value. - The value to write. + A undefined value. - + - Writes a value. + Gets the node type for this . - The value to write. + The type. - + - Writes a value. + Gets or sets the underlying token value. - The value to write. + The underlying token value. - + - Writes a value. + Writes this token to a . - The value to write. + A into which this method will write. + A collection of s which will be used when writing the token. - + - Writes a value. + Indicates whether the current object is equal to another object of the same type. - The value to write. + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. - + - Writes a value. + Determines whether the specified is equal to the current . - The value to write. + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Writes a value. + Serves as a hash function for a particular type. - The value to write. + + A hash code for the current . + - + - Writes a value. + Returns a that represents this instance. - The value to write. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format provider. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + The format provider. + + A that represents this instance. + - + - Writes a value. + Returns the responsible for binding operations performed on this object. - The value to write. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Writes a value. + 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. - The value to write. + 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. + - + - Writes a value. + Specifies how line information is handled when loading JSON. - The value to write. - + - Writes a value. + Ignore line information. - The value to write. - + - Gets the token being writen. + Load line information. - The token being writen. @@ -6061,6 +8407,21 @@ 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 . @@ -6074,7 +8435,7 @@ - Only members must be marked with or are serialized. + Only members marked with or are serialized. This member serialization mode can also be set by marking the class with . @@ -6082,7 +8443,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. @@ -6125,8 +8486,8 @@ Specifies null value handling options for the . - - + + @@ -6162,10 +8523,10 @@ 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 . - + @@ -6228,14 +8589,29 @@ 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 https://www.newtonsoft.com/jsonschema for more details. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6245,7 +8621,12 @@ + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6256,14 +8637,24 @@ + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://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 https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6271,65 +8662,14 @@ + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - - 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 . - - Gets or sets the id. @@ -6347,7 +8687,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6391,9 +8731,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. @@ -6409,15 +8749,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 (). @@ -6486,50 +8826,129 @@ Gets or sets a value indicating whether additional properties are allowed. - - true if additional properties are allowed; otherwise, false. - + + 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. - + - Gets or sets the required property if this property is present. + Writes this schema to a . - The required property if this property is present. + A into which this method will write. - + - Gets or sets the a collection of valid enum values allowed. + Writes this schema to a using the specified . - A collection of valid enum values allowed. + A into which this method will write. + The resolver used. - + - Gets or sets disallowed types. + Returns a that represents the current . - The disallow types. + + A that represents the current . + - + - Gets or sets the default value. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The default value. - + - Gets or sets the collection of that this schema extends. + Gets the line number indicating where the error occurred. - The collection of that this schema extends. + The line number indicating where the error occurred. - + - Gets or sets the format. + Gets the line position indicating where the error occurred. - The format. + The line position indicating where the error occurred. - + - Returns detailed information about the schema exception. + Gets the path to the JSON where the error occurred. + The path to the JSON where the error occurred. @@ -6549,30 +8968,28 @@ 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. - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. - + - Gets the line position indicating where the error occurred. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The line position indicating where the error occurred. - + - Gets the path to the JSON where the error occurred. + Gets or sets how undefined schemas are handled by the serializer. - The path to the JSON where the error occurred. - + - Generates a from a specified . + Gets or sets the contract resolver. + The contract resolver. @@ -6606,21 +9023,21 @@ Specify whether the generated root will be nullable. A generated from the specified type. - - - Gets or sets how undefined schemas are handled by the serializer. - - - + - Gets or sets the contract resolver. + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The contract resolver. - + - Resolves from an id. + Gets or sets the loaded schemas. + The loaded schemas. @@ -6634,15 +9051,14 @@ The id. A for the specified reference. - - - Gets or sets the loaded schemas. - - The loaded schemas. - + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6692,7 +9108,12 @@ + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6712,7 +9133,12 @@ + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6735,7 +9161,12 @@ + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6759,47 +9190,115 @@ Specifies the name of the serialized object. Specifies the name of the serialized object. - + - Resolves member mappings for a type, camel casing property names. + A camel case naming strategy. - + - Used by to resolves a for a given . + 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 . + - + - Used by to resolves a for a given . + 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. - + - Initializes a new instance of the class. + 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 IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + true if the ShouldSerialize members 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - @@ -6840,10 +9339,10 @@ - Resolves the default for the contract. + Resolves the default for the contract. Type of the object. - The contract's default . + The contract's default . @@ -6922,132 +9421,51 @@ Resolves the name of the property. Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - 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. - + Resolved name of the property. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + Resolves the name of the extension data. By default no changes are made to extension data names. - - true if serialized compiler generated members; otherwise, false. - + Name of the extension data. + Resolved name of the extension data. - + - Initializes a new instance of the class. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + Key of the dictionary. + Resolved key of the dictionary. - + - Resolves the name of the property. + Gets the resolved name of the property. Name of the property. - The property name camel cased. - - - - Get and set values for a using dynamic methods. - - - - - 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. - - - - 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. - - - - 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. + Name of the property. - + - Determines whether the specified object is referenced. + The default naming strategy. Property names and dictionary keys are unchanged. - 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. + + + 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. @@ -7063,8 +9481,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. @@ -7106,6 +9524,18 @@ 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. @@ -7113,159 +9543,210 @@ The current object. The error context. - + - Gets the current object the error event is being raised against. + Get and set values for a using dynamic methods. - The current object the error event is being raised against. - + - Gets the error context. + Initializes a new instance of the class. - The error context. + The member info. - + - Represents a trace writer. + Sets the value. + The target to set the value on. + The value to set on the target. - + - Writes the specified trace level, message and optional exception. + Gets the value. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + The target to get the value from. + The value. - + - 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. + Provides methods to get attributes. - The that will be used to filter the trace messages passed to the writer. - + - Contract details for a used by the . + 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. - + - Contract details for a used by the . + 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. - + - Contract details for a used by the . + Used by to resolve a for a given . + + + + - + - Gets the underlying type for the contract. + Resolves the contract for a given type. - The underlying type for the contract. + The type to resolve a contract for. + The contract for a given type. - + - Gets or sets the type created during deserialization. + Used to resolve references when serializing and deserializing JSON by the . - The type created during deserialization. - + - Gets or sets whether this type contract is serialized as a reference. + Resolves a reference to its object. - Whether this type contract is serialized as a reference. + The serialization context. + The reference to resolve. + The object that was resolved from the reference. - + - Gets or sets the default for this contract. + Gets the reference for the specified object. - The converter. + The serialization context. + The object to get a reference for. + The reference to the object. - + - Gets or sets all methods called immediately after deserialization of the object. + Determines whether the specified object is referenced. - The methods called immediately after deserialization of the object. + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + - + - Gets or sets all methods called during deserialization of the object. + Adds a reference to the specified object. - The methods called during deserialization of the object. + The serialization context. + The reference. + The object to reference. - + - Gets or sets all methods called after serialization of the object graph. + Allows users to control class loading and mandate what class to load. - The methods called after serialization of the object graph. - + - Gets or sets all methods called before serialization of the object. + When implemented, controls the binding of a serialized object to a type. - The methods called before serialization of the object. + 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. - + - Gets or sets all method called when an error is thrown during the serialization of the object. + When implemented, controls the binding of a serialized object to a type. - The methods called when an error is thrown during the serialization of the object. + 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. - + - Gets or sets the method called immediately after deserialization of the object. + Provides methods to get and set values. - The method called immediately after deserialization of the object. - + - Gets or sets the method called during deserialization of the object. + Sets the value. - The method called during deserialization of the object. + The target to set the value on. + The value to set on the target. - + - Gets or sets the method called after serialization of the object graph. + Gets the value. - The method called after serialization of the object graph. + The target to get the value from. + The value. - + - Gets or sets the method called before serialization of the object. + Contract details for a used by the . - 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. + Gets the of the collection items. - The method called when an error is thrown during the serialization of the object. + The of the collection items. - + - Gets or sets the default creator method used to create the object. + Gets a value indicating whether the collection type is a multidimensional array. - The default creator method used to create the object. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets a value indicating whether the default creator is non public. + Gets or sets the function used to create the object. When set this function will override . - true if the default object creator is non-public; otherwise, false. + The function used to create the object. - + - Initializes a new instance of the class. + 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 . + Gets or sets the default collection items . The converter. @@ -7287,24 +9768,12 @@ The type name handling. - + - Initializes a new instance of the class. + Initializes a new instance of the class. The underlying type for the contract. - - - 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. - Handles serialization callback events. @@ -7334,22 +9803,94 @@ 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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. + + - Initializes a new instance of the class. + Contract details for a used by the . - The underlying type for the contract. - + - Gets or sets the property name resolver. + Gets or sets the dictionary key resolver. - The property name resolver. + The dictionary key resolver. @@ -7363,17 +9904,29 @@ The of the dictionary values. - + - Contract details for a used by the . + Gets or sets the function used to create the object. When set this function will override . + The function used to create the object. - + - Initializes a new instance of the class. + 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. @@ -7386,6 +9939,12 @@ The property name resolver. + + + Initializes a new instance of the class. + + The underlying type for the contract. + Contract details for a used by the . @@ -7402,18 +9961,18 @@ Contract details for a used by the . - - - Initializes a new instance of the class. - - The underlying type for the contract. - Gets or sets the object member serialization. The member object serialization. + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + Gets or sets a value that indicates whether the object's properties are required. @@ -7422,39 +9981,26 @@ A value indicating whether the object's properties are required. - + - Gets the object's properties. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - The object's properties. + How the object's properties with null values are handled during serialization and deserialization. - + - Gets the constructor parameters required for any non-default constructor + Gets the object's properties. + The object's properties. 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 . + 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. @@ -7469,6 +10015,23 @@ 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 . @@ -7485,14 +10048,6 @@ Maps a JSON property to a .NET member or constructor parameter. - - - Returns a that represents this instance. - - - A that represents this instance. - - Gets or sets the name of the property. @@ -7507,9 +10062,9 @@ - Gets or sets the order of serialization and deserialization of a member. + Gets or sets the order of serialization of a member. - The numeric order of serialization or deserialization. + The numeric order of serialization. @@ -7523,6 +10078,12 @@ 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. @@ -7531,8 +10092,8 @@ - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -7578,6 +10139,11 @@ A value indicating whether this is required. + + + Gets a value indicating whether has a value specified. + + Gets or sets a value indicating whether this property preserves object references. @@ -7618,9 +10184,15 @@ - 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 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 serialize. + A predicate used to determine whether the property should be deserialized. @@ -7634,6 +10206,14 @@ 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. @@ -7648,13 +10228,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. @@ -7685,7 +10265,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. @@ -7710,12 +10290,74 @@ 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. + + + + A kebab 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. + 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. @@ -7743,15 +10385,78 @@ A of the most recent trace messages. - + - 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. + A base class for resolving how property names and dictionary keys are serialized. - - The that will be used to filter the trace messages passed to the writer. - + + + + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + @@ -7764,6 +10469,32 @@ 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. @@ -7789,6 +10520,50 @@ 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. @@ -7839,10 +10614,30 @@ 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 . + @@ -7867,34 +10662,27 @@ 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. - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - Converts the value to the specified type. If the value is unable to be converted, the @@ -7908,13 +10696,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 @@ -7934,18 +10722,60 @@ with a restriction limiting our type - + - Gets a dictionary of the names and values of an Enum type. + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - + - Gets a dictionary of the names and values of an Enum type. + 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. - The enum type to get names and values for. - + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. @@ -7961,15 +10791,6 @@ 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. @@ -8018,25 +10839,18 @@ - 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -8046,12 +10860,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. @@ -8061,7 +10875,7 @@ - A array is being written. + An array is being written. @@ -8076,8 +10890,61 @@ - A write method has not been called. + 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll new file mode 100644 index 0000000..9244d0a Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.xml new file mode 100644 index 0000000..584a697 --- /dev/null +++ b/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.xml @@ -0,0 +1,11072 @@ + + + + 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. + The default value is false. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets the naming strategy used to resolve how enum text is written. + + The naming strategy used to resolve how enum text is written. + + + + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. + + true if integers are allowed when serializing and 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. + + + + Initializes a new instance of the class. + + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; 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 Unix epoch time + + + + + 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 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 value 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. + + + + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + true if special characters are encoded; 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. + + + + + The default JSON name table implementation. + + + + + Initializes a new instance of the class. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Adds the specified string into name table. + + The string to add. + This method is not thread-safe. + The resolved string. + + + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + + + + 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. + + + + 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. + The default value is . + + + 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 default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + 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 default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + 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. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + + 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 read values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read 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. + The default value is . + + 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. + The default value is . + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + 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 default value is . + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + + 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 default value is . + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + 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. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Indicates how JSON text output is formatted. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + + 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 property name table. + + + + + 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 https://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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 duplicate property names are handled when loading JSON. + + + + + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. + + + + + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. + + + + + Throw a when a duplicate property is encountered. + + + + + 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. + + + + + 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 with the specified name. + + The property name. + A with the specified name or null. + + + + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. + + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched 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. + + + + Determines whether the JSON object has the specified property name. + + Name of the property. + true if the JSON object has the specified property name; otherwise, false. + + + + 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 loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + The default value is . + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + + The JSON line info handling. + + + + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + + The JSON duplicate property name handling. + + + + Specifies the settings used when merging JSON. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + Gets or sets the comparison used to match property names while merging. + 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. + + The comparison used to match property names while merging. + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath expression. + + A , or null. + + + + Selects a using a JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath 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 JSONPath expression. + + + A that contains a JSONPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JSONPath expression. + + + A that contains a JSONPath 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. + + + + Initializes a new instance of the class. + + The token to read from. + The initial path of the token. It is prepended to the returned . + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + 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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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 the missing member handling used when deserializing this object. + + The missing member handling. + + + + 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 or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 a value indicating whether has a value specified. + + + + + 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. + + + + A kebab 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. + + + + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + + + + + 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 + + + + + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 + + + + + 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 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + diff --git a/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..b501fb6 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.xml new file mode 100644 index 0000000..01e90a0 --- /dev/null +++ b/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.xml @@ -0,0 +1,11237 @@ + + + + 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. + + + + + 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 value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + 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 value type. + + Type of the value. + + true if this instance can convert the specified value type; 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 Entity Framework 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. + The default value is false. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets the naming strategy used to resolve how enum text is written. + + The naming strategy used to resolve how enum text is written. + + + + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. + + true if integers are allowed when serializing and 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. + + + + Initializes a new instance of the class. + + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; 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 Unix epoch time + + + + + 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 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 value 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. + + + + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + true if special characters are encoded; 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. + + + + + The default JSON name table implementation. + + + + + Initializes a new instance of the class. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Adds the specified string into name table. + + The string to add. + This method is not thread-safe. + The resolved string. + + + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + 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. + + + + 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. + The default value is . + + + 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 default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + 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 default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + 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. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + + 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 read values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read 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. + The default value is . + + 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. + The default value is . + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + 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 default value is . + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + + 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 default value is . + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + 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. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Indicates how JSON text output is formatted. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + + 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 property name table. + + + + + 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 https://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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + 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 duplicate property names are handled when loading JSON. + + + + + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. + + + + + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. + + + + + Throw a when a duplicate property is encountered. + + + + + 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 with the specified name. + + The property name. + A with the specified name or null. + + + + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. + + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched 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. + + + + Determines whether the JSON object has the specified property name. + + Name of the property. + true if the JSON object has the specified property name; otherwise, false. + + + + 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 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. + + + + + 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 default value is . + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + + The JSON line info handling. + + + + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + + The JSON duplicate property name handling. + + + + Specifies the settings used when merging JSON. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + Gets or sets the comparison used to match property names while merging. + 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. + + The comparison used to match property names while merging. + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath expression. + + A , or null. + + + + Selects a using a JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath 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 JSONPath expression. + + + A that contains a JSONPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JSONPath expression. + + + A that contains a JSONPath 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. + + + + Initializes a new instance of the class. + + The token to read from. + The initial path of the token. It is prepended to the returned . + + + + 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. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + 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 line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + 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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + 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 a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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. + + + + 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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 the missing member handling used when deserializing this object. + + The missing member handling. + + + + 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 or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 a value indicating whether has a value specified. + + + + + 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. + + + + A kebab 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. + + + + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + + + + + 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. + + + + + 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 + + + + + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 + + + + + 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 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + diff --git a/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll new file mode 100644 index 0000000..112c29a Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml similarity index 74% rename from packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml index e3ee233..8f1dc63 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml @@ -4,1394 +4,1586 @@ Newtonsoft.Json - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Represents a BSON Oid (object id). - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Gets or sets the value of the Oid. + The value of the Oid. - + - Initializes a new instance of the class with the specified . + Initializes a new instance of the class. + The Oid value. - + - Reads the next JSON token from the stream. + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - 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 . + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - A . This method will return null at the end of an array. + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets a value indicating whether the root object will be read as a JSON array. - A . This method will return null at the end of an array. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets the used when reading values from BSON. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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. - + - Skips the children of the current token. + 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. - + - Sets the current token. + Reads the next JSON token from the underlying . - The new token. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Sets the current token and value. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The new token. - The value. - + - Sets the state based on current token type. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + The used when writing values to BSON. - + - Releases unmanaged and - optionally - managed resources + Initializes a new instance of the class. - true to release both managed and unmanaged resources; false to release only unmanaged resources. + The to write to. - + - Changes the to Closed. + Initializes a new instance of the class. + The to write to. - + - Gets the current reader state. + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - The current reader state. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the end. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The token. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes a comment /*...*/ containing the specified text. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + Text to place inside the comment. - + - Gets the quotation mark character used to enclose the value of a string. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Get or set how time zones are handling when reading JSON. + Writes raw JSON. + The raw JSON to write. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the beginning of a JSON array. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Gets the type of the current JSON token. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets the text value of the current JSON token. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a null value. - + - Gets the depth of the current token in the JSON document. + Writes an undefined value. - The depth of the current token in the JSON document. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a value. + The value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value. - The stream. + The [] value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a [] value that represents a BSON object id. - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The Object ID value to write. - + - Reads the next JSON token from the stream as a . + Writes a BSON regex. - A . This method will return null at the end of an array. + The regex pattern. + The regex options. - + - Reads the next JSON token from the stream as a . + Specifies how constructors are used when initializing objects during deserialization by the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - - A . This method will return null at the end of an array. - - + - Reads the next JSON token from the stream. + Writes the JSON representation of the object. - - true if the next token was read successfully; false if there are no more tokens to read. - + The to write to. + The value. + The calling serializer. - + - Changes the to Closed. + 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. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Determines whether this instance can convert the specified object type. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Converts a to and from JSON and BSON. - - true if the root object will be read as a JSON array; otherwise, false. - - + - Gets or sets the used when reading values from BSON. + Writes the JSON representation of the object. - The used when reading values from BSON. + The to write to. + The value. + The calling serializer. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + 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. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + 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 an instance of the JsonWriter class. + Creates a custom object. + The object type to convert. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Closes this stream and the underlying stream. + 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. - + - Writes the beginning of a Json object. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Writes the end of a Json 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. + - + - Writes the beginning of a Json array. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of an array. + Provides a base class for converting a to and from JSON. - + - Writes the start of a constructor with the given name. + Determines whether this instance can convert the specified object type. - The name of the constructor. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the end constructor. + Converts a F# discriminated union type to and from JSON. - + - Writes the property name of a name/value pair on a JSON object. + Writes the JSON representation of the object. - The name of the property. + The to write to. + The value. + The calling serializer. - + - Writes the property name of a name/value pair on a JSON object. + Reads the JSON representation of the 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 to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the end of the current Json object or array. + 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. + - + - Writes the current token and its children. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - The to read the token from. - + - Writes the current token. + Gets or sets the date time styles used when converting a date to and from JSON. - The to read the token from. - A flag indicating whether the current token's children should be written. + The date time styles used when converting a date to and from JSON. - + - Writes the specified end token. + Gets or sets the date time format used when converting a date to and from JSON. - The end token to write. + The date time format used when converting a date to and from JSON. - + - Writes indent characters. + 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 value delimiter. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes an indent space. + 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. - + - Writes a null value. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - + - Writes an undefined value. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes raw JSON without changing the writer's state. + Reads the JSON representation of the object. - The raw JSON to write. + 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. - + - Writes raw JSON where a value is expected and updates the writer's state. + Converts a to and from JSON. - The raw JSON to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from Unix epoch time - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Specifies how dates are formatted when writing JSON text. - The value to write. - + - Writes a value. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - The value to write. - + - Writes a value. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - The value to write. - + - Writes a value. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - The value to write. - + - Writes a value. + Date formatted strings are not parsed to a date type and are read as strings. - The value to write. - + - Writes a value. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The value to write. - + - Writes a value. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - The value to write. - + - Writes a value. + Specifies how to treat the time value when converting between string and . - The value to write. - + - Writes a value. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - The value to write. - + - Writes a value. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - The value to write. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + 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. - The value to write. - + - Writes out a comment /*...*/ containing the specified text. + Time zone information should be preserved when converting. - Text to place inside the comment. - + - Writes out the given white space. + The default JSON name table implementation. - The string of white space characters. - + - Sets the state of the JsonWriter, + Initializes a new instance of the class. - The JsonToken being written. - The value being written. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Gets a string containing the same characters as the specified range of characters in the given array. - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Gets the top. + Adds the specified string into name table. - The top. + The string to add. + This method is not thread-safe. + The resolved string. - + - Gets the state of the writer. + Specifies default value handling options for the . + + + + - + - Gets the path of the writer. + 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. - + - Indicates how JSON text output is formatted. + 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. - + - Get or set how dates are written to JSON text. + Members with a default value but no JSON will be set to their default value when deserializing. - + - Get or set how time zones are handling when writing JSON text. + 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. - + - Get or set how strings are escaped when writing JSON text. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - + - Get or set how and values are formatting when writing JSON text. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - + - Gets or sets the culture used when writing JSON. Defaults to . + 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. - + - Initializes a new instance of the class. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The stream. - + - Initializes a new instance of the class. + Floating point numbers are parsed to . - The writer. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Floating point numbers are parsed to . - + - Writes the end. + Specifies formatting options for the . - The token. - + - Writes out a comment /*...*/ containing the specified text. + No special formatting is applied. This is the default. - Text to place inside the comment. - + - Writes the start of a constructor with the given name. + Causes child objects to be indented according to the and settings. - The name of the constructor. - + - Writes raw JSON. + Provides an interface for using pooled arrays. - The raw JSON to write. + The array type content. - + - Writes raw JSON where a value is expected and updates the writer's state. + Rent an array from the pool. This array must be returned when it is no longer needed. - The raw JSON to write. + 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. - + - Writes the beginning of a Json array. + Return an array to the pool. + The array that is being returned. - + - Writes the beginning of a Json object. + Provides an interface to enable a class to return line and position information. - + - Writes the property name of a name/value pair on a Json object. + Gets a value indicating whether the class can return line information. - The name of the property. + + true if and can be provided; otherwise, false. + - + - Closes this stream and the underlying stream. + Gets the current line number. + The current line number or 0 if no line information is available (for example, when returns false). - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, when returns false). - + - Writes a null value. + Instructs the how to serialize the collection. - + - Writes an undefined value. + 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. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with a flag indicating whether the array can contain null items. - The value to write. + A flag indicating whether the array can contain null items. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value. + Instructs the how to serialize the object. - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. + The id. - + - Writes a value. + Gets or sets the title. - The value to write. + The title. - + - Writes a value. + Gets or sets the description. - The value to write. + The description. - + - Writes a value. + Gets or sets the collection's items converter. - The value to write. + The collection's items converter. - + - Writes a value. + 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. - The value to write. + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Writes a value. + Gets or sets the of the . - The value to write. + The of the . - + - Writes a value. + 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. - The value to write. + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + - + - Writes a value. + Gets or sets a value that indicates whether to preserve object references. - The value to write. + + true to keep object reference; otherwise, false. The default is false. + - + - Writes a value. + Gets or sets a value that indicates whether to preserve collection's items references. - The value to write. + + true to keep collection's items object references; otherwise, false. The default is false. + - + - Writes a value. + Gets or sets the reference loop handling used when serializing the collection's items. - The value to write. + The reference loop handling. - + - Writes a value. + Gets or sets the type name handling used when serializing the collection's items. - The value to write. + The type name handling. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Provides methods for converting between .NET types and JSON types. - The value to write. + + + - + - Writes a value. + 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 + . - The value to write. - + - Writes a value that represents a BSON object id. + Represents JavaScript's boolean value true as a string. This field is read-only. - The Object ID value to write. - + - Writes a BSON regex. + Represents JavaScript's boolean value false as a string. This field is read-only. - The regex pattern. - The regex options. - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + Represents JavaScript's null as a string. This field is read-only. - The used when writing values to BSON. - + - Represents a BSON Oid (object id). + Represents JavaScript's undefined as a string. This field is read-only. - + - Initializes a new instance of the class. + Represents JavaScript's positive infinity as a string. This field is read-only. - The Oid value. - + - Gets or sets the value of the Oid. + Represents JavaScript's negative infinity as a string. This field is read-only. - The value of the Oid. - + - Converts a binary value to and from a base 64 string value. + Represents JavaScript's NaN as a string. This field is read-only. - + - Converts an object to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation using the specified. - The to write to. - The value. - The calling serializer. + 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 . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation using the specified. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + The format the date will be converted to. + A JSON string representation of the . - + - Gets the of the JSON produced by the JsonConverter. + Converts the to its JSON string representation. - The of the JSON produced by the JsonConverter. + The value to convert. + A JSON string representation of the . - + - Gets a value indicating whether this can read JSON. + Converts the to its JSON string representation. - true if this can read JSON; otherwise, false. + The value to convert. + A JSON string representation of the . - + - Gets a value indicating whether this can write JSON. + Converts the to its JSON string representation. - true if this can write JSON; otherwise, false. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts a to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified value type. + Converts the to its JSON string representation. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Converts a to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified value type. + Converts the to its JSON string representation. - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Create a custom object + Converts the to its JSON string representation. - The object type to convert. + The value to convert. + A JSON string representation of the . - + - Writes the JSON representation of the object. + Converts the to its JSON string representation. - The to write to. - The value. - The calling serializer. + The value to convert. + A JSON string representation of the . - + - Reads the JSON representation of the object. + Converts the to its JSON string representation. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The value to convert. + A JSON string representation of the . - + - Creates an object which will then be populated by the serializer. + Converts the to its JSON string representation. - Type of the object. - The created object. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The value to convert. + The string delimiter character. + A JSON string representation of the . - + - Gets a value indicating whether this can write JSON. + Converts the to its JSON string representation. - - true if this can write JSON; otherwise, false. - + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . - + - Provides a base class for converting a to and from JSON. + Converts the to its JSON string representation. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Serializes the specified object to a JSON string. - Type of the object. + 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. - true if this instance can convert the specified object type; otherwise, false. + A JSON string representation of the object. - + - Converts a F# discriminated union type to and from JSON. + 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. - + - Writes the JSON representation of the object. + Serializes the specified object to a JSON string using formatting and a collection of . - The to write to. - The value. - The calling serializer. + 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. - + - Reads the JSON representation of the object. + Serializes the specified object to a JSON string using . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. + - + - Determines whether this instance can convert the specified object type. + Serializes the specified object to a JSON string using a type, formatting and . - Type of the object. + 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. + - true if this instance can convert the specified object type; otherwise, false. + A JSON string representation of the object. - + - Converts an Entity Framework EntityKey to and from JSON. + 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. + - + - Writes the JSON representation of the object. + Serializes the specified object to a JSON string using a type, formatting and . - The to write to. - The value. - The calling serializer. + 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. + - + - Reads the JSON representation of the object. + Deserializes the JSON to a .NET object. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The JSON to deserialize. + The deserialized object from the JSON string. - + - Determines whether this instance can convert the specified object type. + Deserializes the JSON to a .NET object using . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + 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. - + - Converts an ExpandoObject to and from JSON. + Deserializes the JSON to the specified .NET type. + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. - + - Writes the JSON representation of the object. + Deserializes the JSON to the specified .NET type. - The to write to. - The value. - The calling serializer. + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. - + - Reads the JSON representation of the object. + Deserializes the JSON to the given anonymous type. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + + 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. - + - Determines whether this instance can convert the specified object type. + Deserializes the JSON to the given anonymous type using . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + + 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. - + - Gets a value indicating whether this can write JSON. + Deserializes the JSON to the specified .NET type using a collection of . - - true if this can write JSON; otherwise, false. - + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. - + - Converts a to and from JSON. + 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. - + - Writes the JSON representation of the object. + Deserializes the JSON to the specified .NET type using a collection of . - The to write to. - The value. - The calling serializer. + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. - + - Reads the JSON representation of the object. + Deserializes the JSON to the specified .NET type using . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + 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. - + - Determines whether this instance can convert the specified object type. + Populates the object with values from the JSON string. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The JSON to populate values from. + The target object to populate values onto. - + - Converts a to and from JSON and BSON. + 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. + - + + + Converts an object to and from JSON. + + + Writes the JSON representation of the object. @@ -1399,7 +1591,7 @@ The value. The calling serializer. - + Reads the JSON representation of the object. @@ -1409,7 +1601,7 @@ The calling serializer. The object value. - + Determines whether this instance can convert the specified object type. @@ -1418,12 +1610,25 @@ true if this instance can convert the specified object type; otherwise, false. - + - Converts a to and from JSON and BSON. + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + Writes the JSON representation of the object. @@ -1431,7 +1636,15 @@ The value. The calling serializer. - + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + Reads the JSON representation of the object. @@ -1441,7 +1654,18 @@ The calling serializer. The object value. - + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + The calling serializer. + The object value. + + Determines whether this instance can convert the specified object type. @@ -1450,5540 +1674,5439 @@ true if this instance can convert the specified object type; otherwise, false. - + - Converts an to and from its name string value. + Instructs the to use the specified when serializing the member or class. - + - Initializes a new instance of the class. + Gets the of the . + The of the . - + - Writes the JSON representation of the object. + The parameter list to use when constructing the described by . + If null, the default constructor is used. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + Type of the . - + - Determines whether this instance can convert the specified object type. + Initializes a new instance of the class. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + Type of the . + Parameter list to use when constructing the . Can be null. - + - Gets or sets a value indicating whether the written enum text should be camel case. + Represents a collection of . - true if the written enum text will be camel case; otherwise, false. - + + + 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. + + + - Gets or sets a value indicating whether integer values are allowed. + Initializes a new instance of the class + with a specified error message. - true if integers are allowed; otherwise, false. + The error message that explains the reason for the exception. - + - Specifies how constructors are used when initializing objects during deserialization by the . + 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. - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + 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. + - + - Converts a to and from a string (e.g. "1.2.3.4"). + 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. + - + - Writes the JSON representation of the object. + Initializes a new instance of the class. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Instructs the not to serialize the public field or public read/write property value. - 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. + Base class for a table of atomized string objects. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + Gets a string containing the same characters as the specified range of characters in the given array. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Instructs the how to serialize the object. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Gets or sets the member serialization. + The member serialization. - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Gets or sets the missing member handling used when deserializing this object. + The missing member handling. - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + How the object's properties with null values are handled during serialization and deserialization. - + - Floating point numbers are parsed to . + Gets or sets a value that indicates whether the object's properties are required. + + A value indicating whether the object's properties are required. + - + - Floating point numbers are parsed to . + Initializes a new instance of the class. - + - Instructs the how to serialize the collection. + Initializes a new instance of the class with the specified member serialization. + The member serialization. - + - Instructs the how to serialize the object. + Initializes a new instance of the class with the specified container Id. + The container Id. - + - Initializes a new instance of the class. + Instructs the to always serialize the member with the specified name. - + - Initializes a new instance of the class with the specified container Id. + Gets or sets the type used when serializing the property's collection items. - The container Id. + The collection's items type. - + - Gets or sets the id. + 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. - The id. + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Gets or sets the title. + Gets or sets the of the . - The title. + The of the . - + - Gets or sets the description. + 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. - The description. + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + - + - Gets the collection's items converter. + Gets or sets the null value handling used when serializing this property. - The collection's items converter. + The null value handling. - + - Gets or sets a value that indicates whether to preserve object references. + Gets or sets the default value handling used when serializing this property. - - true to keep object reference; otherwise, false. The default is false. - + The default value handling. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Gets or sets the reference loop handling used when serializing this property. - - true to keep collection's items object references; otherwise, false. The default is false. - + The reference loop handling. - + - Gets or sets the reference loop handling used when serializing the collection's items. + Gets or sets the object creation handling used when deserializing this property. - The reference loop handling. + The object creation handling. - + - Gets or sets the type name handling used when serializing the collection's items. + Gets or sets the type name handling used when serializing this property. The type name handling. - + - Initializes a new instance of the class. + Gets or sets whether this property's value is serialized as a reference. + Whether this property's value is serialized as a reference. - + - Initializes a new instance of the class with the specified container Id. + Gets or sets the order of serialization of a member. - The container Id. + The numeric order of serialization. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Gets or sets a value indicating whether this property is required. + + A value indicating whether this property is required. + - + - Initializes a new instance of the class. + Gets or sets the name of the property. + The name of the property. - + - Initializes a new instance of the class - with a specified error message. + Gets or sets the reference loop handling used when serializing the property's collection items. - The error message that explains the reason for the exception. + The collection's items reference loop handling. - + - 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 the type name handling used when serializing the property's collection items. - 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 collection's items type name handling. - + - Initializes a new instance of the class. + Gets or sets whether this property's collection items are serialized as a reference. - 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). + Whether this property's collection items are serialized as a reference. - + - Specifies how dates are formatted when writing JSON text. + Initializes a new instance of the class. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + Initializes a new instance of the class with the specified name. + Name of the property. - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + Specifies the state of the reader. - + - Date formatted strings are not parsed to a date type and are read as strings. + A read method has not been called. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + The end of the file has been reached successfully. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + Reader is at a property. - + - Specifies how to treat the time value when converting between string and . + Reader is at the start of an object. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + Reader is in an object. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Reader is at the start of an array. - + - 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. + Reader is in an array. - + - Time zone information should be preserved when converting. + The method has been called. - + - Specifies formatting options for the . + Reader has just read a value. - + - No special formatting is applied. This is the default. + Reader is at the start of a constructor. - + - Causes child objects to be indented according to the and settings. + Reader is in a constructor. - + - Instructs the to use the specified constructor when deserializing that object. + An error occurred that prevents the read operation from continuing. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + The end of the file has been reached successfully. - + - Initializes a new instance of the class. + Gets the current reader state. + The current reader state. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + Gets or sets a value indicating whether the source should be closed when this reader is closed. - true to write extension data when serializing the object; otherwise, false. The default is true. + true to close the source when this reader is closed; otherwise false. The default is true. - + - Gets or sets a value that indicates whether to read extension data when deserializing the object. + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. - true to read extension data when deserializing the object; otherwise, false. The default is true. + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. - + - Specifies the settings used when merging JSON. + 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 the method used when merging JSON arrays. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The method used when merging JSON arrays. - + - Specifies how JSON arrays are merged together. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - Concatenate arrays. + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + - - Union arrays, skipping items that already exist. + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + - - Replace all array items. + + + Gets the type of the current JSON token. + - - Merge array items together, matched by index. + + + Gets the text value of the current JSON token. + - + - Specifies metadata property handling options for the . + Gets the .NET type for the current JSON token. - + - Read metadata properties located at the start of a JSON object. + Gets the depth of the current token in the JSON document. + The depth of the current token in the JSON document. - + - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + Gets the path of the current JSON token. - + - Do not try to read metadata properties. + Gets or sets the culture used when reading JSON. Defaults to . - + - Represents a trace writer that writes to the application's instances. + Initializes a new instance of the class. - + - Represents a trace writer. + 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. - + - Writes the specified trace level, message and optional exception. + Reads the next JSON token from the source as a of . - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the source as a . - The that will be used to filter the trace messages passed to the writer. + A . This method will return null at the end of an array. - + - Writes the specified trace level, message and optional exception. + Reads the next JSON token from the source as a []. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the source as a of . - - The that will be used to filter the trace messages passed to the writer. - + A of . This method will return null at the end of an array. - + - Get and set values for a using dynamic methods. + Reads the next JSON token from the source as a of . + A of . This method will return null at the end of an array. - + - Provides methods to get and set values. + Reads the next JSON token from the source as a of . + A of . This method will return null at the end of an array. - + - Sets the value. + Reads the next JSON token from the source as a of . - The target to set the value on. - The value to set on the target. + A of . This method will return null at the end of an array. - + - Gets the value. + Reads the next JSON token from the source as a of . - The target to get the value from. - The value. + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Skips the children of the current token. - The member info. - + - Sets the value. + Sets the current token. - The target to set the value on. - The value to set on the target. + The new token. - + - Gets the value. + Sets the current token and value. - The target to get the value from. - The value. + The new token. + The value. - + - Contract details for a used by the . + Sets the current token and value. + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. - + - Contract details for a used by the . + Sets the state based on current token type. - + - Gets the underlying type for the contract. + Releases unmanaged and - optionally - managed resources. - The underlying type for the contract. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Gets or sets the type created during deserialization. + Changes the reader's state to . + If is set to true, the source is also closed. - The type created during deserialization. - + - Gets or sets whether this type contract is serialized as a reference. + The exception thrown when an error occurs while reading JSON text. - Whether this type contract is serialized as a reference. - + - Gets or sets the default for this contract. + Gets the line number indicating where the error occurred. - The converter. + The line number indicating where the error occurred. - + - Gets or sets all methods called immediately after deserialization of the object. + Gets the line position indicating where the error occurred. - The methods called immediately after deserialization of the object. + The line position indicating where the error occurred. - + - Gets or sets all methods called during deserialization of the object. + Gets the path to the JSON where the error occurred. - The methods called during deserialization of the object. + The path to the JSON where the error occurred. - + - Gets or sets all methods called after serialization of the object graph. + Initializes a new instance of the class. - The methods called after serialization of the object graph. - + - Gets or sets all methods called before serialization of the object. + Initializes a new instance of the class + with a specified error message. - The methods called before serialization of the object. + The error message that explains the reason for the exception. - + - Gets or sets all method called when an error is thrown during the serialization of the object. + 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 methods called when an error is thrown during the serialization of the object. + 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 method called immediately after deserialization of the object. + 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 method called immediately after deserialization of the object. + 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. - + - Gets or sets the method called during deserialization of the object. + Instructs the to always serialize the member, and to require that the member has a value. - The method called during deserialization of the object. - + - Gets or sets the method called after serialization of the object graph. + The exception thrown when an error occurs during JSON serialization or deserialization. - The method called after serialization of the object graph. - + - Gets or sets the method called before serialization of the object. + Gets the line number indicating where the error occurred. - The method called before serialization of the object. + The line number indicating where the error occurred. - + - Gets or sets the method called when an error is thrown during the serialization of the object. + Gets the line position indicating where the error occurred. - The method called when an error is thrown during the serialization of the object. + The line position indicating where the error occurred. - + - Gets or sets the default creator method used to create the object. + Gets the path to the JSON where the error occurred. - The default creator method used to create the object. + The path to the JSON where the error occurred. - + - Gets or sets a value indicating whether the default creator is non public. + Initializes a new instance of the class. - true if the default object creator is non-public; otherwise, false. - + - Initializes a new instance of the class. + Initializes a new instance of the class + with a specified error message. - The underlying type for the contract. + The error message that explains the reason for the exception. - + - Gets or sets the default collection items . + 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 converter. + 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 a value indicating whether the collection items preserve object references. + 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. - true if collection items preserve object references; otherwise, false. + 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. - + - Gets or sets the collection item reference loop handling. + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. - The reference loop handling. - + - Gets or sets the collection item type name handling. + Occurs when the errors during serialization and deserialization. - The type name handling. - + - 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 or sets the used by the serializer when resolving references. - + - Initializes a new instance of the class. + Gets or sets the used by the serializer when resolving type names. - + - Writes the specified trace level, message and optional exception. + Gets or sets the used by the serializer when resolving type names. - 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. + Gets or sets the used by the serializer when writing trace messages. - An enumeration of the most recent trace messages. + The trace writer. - + - Returns a of the most recent trace messages. + Gets or sets the equality comparer used by the serializer when comparing references. - - A of the most recent trace messages. - + The equality comparer. - + - 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. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . - - The that will be used to filter the trace messages passed to the writer. - + + 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 . + - + - Provides an interface to enable a class to return line and position information. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + The type name assembly format. - + - Gets a value indicating whether the class can return line information. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - - true if LineNumber and LinePosition can be provided; otherwise, false. - + The type name assembly format. - + - Gets the current line number. + Gets or sets how object references are preserved by the serializer. + The default value is . - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + - Gets the current line position. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + - Specifies how strings are escaped when writing JSON text. + 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 default value is . - + - Only control characters (e.g. newline) are escaped. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - + - All non-ASCII and control characters (e.g. newline) are escaped. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - + - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + Gets or sets how objects are created during deserialization. + The default value is . + The object creation handling. - + - Represents a raw JSON string. + Gets or sets how constructors are used during deserialization. + The default value is . + The constructor handling. - + - Represents a value in JSON (string, integer, date, etc). + Gets or sets how metadata properties are used during deserialization. + The default value is . + The metadata properties handling. - + - Represents an abstract JSON token. + Gets a collection that will be used during serialization. + Collection that will be used during serialization. - + - Represents a collection of objects. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The type of token - + - Gets the with the specified key. + Gets or sets the used by the serializer when invoking serialization callback methods. - + The context. - + - Compares the values of two tokens, including the values of all descendant tokens. + Indicates how JSON text output is formatted. + The default value is . - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - + - Adds the specified content immediately after this token. + Gets or sets how dates are written to JSON text. + The default value is . - 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. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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. + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - A collection of the ancestor tokens of this token. - + - Returns a collection of the sibling tokens after this token, in document order. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - 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. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . - A collection of the sibling tokens before this token, in document order. - + - Gets the with the specified key converted to the specified type. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The type to convert the token to. - The token key. - The converted token value. - + - Returns a collection of the child tokens of this token, in document order. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - 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. + Gets or sets the culture used when reading JSON. + The default value is . - 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. + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - The type to convert the values to. - A containing the child values of this , in document order. - + - Removes this token from its parent. + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + - + - Replaces this token with the specified token. + Initializes a new instance of the class. - The value. - + - Writes this token to a . + Creates a new instance. + The will not use default settings + from . - A into which this method will write. - A collection of which will be used when writing the token. + + A new instance. + The will not use default settings + from . + - + - Returns the indented JSON for this token. + Creates a new instance using the specified . + The will not use default settings + from . + The settings to be applied to the . - The indented JSON for this token. + A new instance using the specified . + The will not use default settings + from . - + - Returns the JSON for this token using the given formatting and converters. + Creates a new instance. + The will use default settings + from . - 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. + + A new instance. + The will use default settings + from . + - + - Performs an explicit conversion from to . + Creates a new instance using the specified . + The will use default settings + from as well as the specified . - The value. - The result of the conversion. + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + - + - Performs an explicit conversion from to . + Populates the JSON values onto the target object. - The value. - The result of the conversion. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Performs an explicit conversion from to . + Populates the JSON values onto the target object. - The value. - The result of the conversion. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Performs an explicit conversion from to . + Deserializes the JSON structure contained by the specified . - The value. - The result of the conversion. + The that contains the JSON structure to deserialize. + The being deserialized. - + - Performs an explicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value. - The result of the conversion. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Performs an explicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value. - The result of the conversion. + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. - + - Performs an explicit conversion from to . + Deserializes the JSON structure contained by the specified + into an instance of the specified type. - The value. - The result of the conversion. + The containing the object. + The of object being deserialized. + The instance of being deserialized. - + - Performs an explicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value. - The result of the conversion. + The used to write the JSON structure. + The to serialize. - + - Performs an explicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value. - The result of the conversion. + 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. + - + - Performs an explicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value. - The result of the conversion. + 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. + - + - Performs an explicit conversion from to . + Serializes the specified and writes the JSON structure + using the specified . - The value. - The result of the conversion. + The used to write the JSON structure. + The to serialize. - + - Performs an explicit conversion from to . + Specifies the settings on a object. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + The default value is . - The value. - The result of the conversion. + Reference loop handling. - + - Performs an explicit conversion from to . + 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 default value is . - The value. - The result of the conversion. + Missing member handling. - + - Performs an explicit conversion from to . + Gets or sets how objects are created during deserialization. + The default value is . - The value. - The result of the conversion. + The object creation handling. - + - Performs an explicit conversion from to . + Gets or sets how null values are handled during serialization and deserialization. + The default value is . - The value. - The result of the conversion. + Null value handling. - + - Performs an explicit conversion from to . + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The value. - The result of the conversion. + The default value handling. - + - Performs an explicit conversion from to . + Gets or sets a collection that will be used during serialization. - The value. - The result of the conversion. + The converters. - + - Performs an explicit conversion from to . + Gets or sets how object references are preserved by the serializer. + The default value is . - The value. - The result of the conversion. + The preserve references handling. - + - Performs an explicit conversion from to . + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . - The value. - The result of the conversion. + + 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. - + - Performs an explicit conversion from to . + Gets or sets how metadata properties are used during deserialization. + The default value is . - The value. - The result of the conversion. + The metadata properties handling. - + - Performs an explicit conversion from to . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The value. - The result of the conversion. + The type name assembly format. - + - Performs an explicit conversion from to . + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The value. - The result of the conversion. + The type name assembly format. - + - Performs an explicit conversion from to . + Gets or sets how constructors are used during deserialization. + The default value is . - The value. - The result of the conversion. + The constructor handling. - + - Performs an explicit conversion from to . + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The value. - The result of the conversion. + The contract resolver. - + - Performs an explicit conversion from to . + Gets or sets the equality comparer used by the serializer when comparing references. - The value. - The result of the conversion. + The equality comparer. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving references. - The value. - The result of the conversion. + The reference resolver. - + - Performs an explicit conversion from to . + Gets or sets a function that creates the used by the serializer when resolving references. - The value. - The result of the conversion. + A function that creates the used by the serializer when resolving references. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when writing trace messages. - The value. - The result of the conversion. + The trace writer. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving type names. - The value. - The result of the conversion. + The binder. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when resolving type names. - The value. - The result of the conversion. + The binder. - + - Performs an explicit conversion from to . + Gets or sets the error handler called during serialization and deserialization. - The value. - The result of the conversion. + The error handler called during serialization and deserialization. - + - Performs an explicit conversion from to . + Gets or sets the used by the serializer when invoking serialization callback methods. - The value. - The result of the conversion. + The context. - + - Performs an explicit conversion from to . + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Indicates how JSON text output is formatted. + The default value is . - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets or sets how dates are written to JSON text. + The default value is . - The value. - The result of the conversion. - + - Performs an implicit conversion from to . + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how strings are escaped when writing JSON text. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets the culture used when reading JSON. + The default value is . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. - The value to create a from. - The initialized with the specified value. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - Performs an implicit conversion from to . + Initializes a new instance of the class. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified . - The value to create a from. - The initialized with the specified value. + The containing the JSON data to read. - + - Performs an implicit conversion from to . + Gets or sets the reader's property name table. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets the reader's character buffer pool. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying . - The value to create a from. - The initialized with the specified value. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a . - The value to create a from. - The initialized with the specified value. + A . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a []. - The value to create a from. - The initialized with the specified value. + A [] or null if the next JSON token is null. This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Reads the next JSON token from the underlying as a of . - The value to create a from. - The initialized with the specified value. + A of . This method will return null at the end of an array. - + - Performs an implicit conversion from to . + Changes the reader's state to . + If is set to true, the underlying is also closed. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets a value indicating whether the class can return line information. - The value to create a from. - The initialized with the specified value. + + true if and can be provided; otherwise, false. + - + - Performs an implicit conversion from to . + Gets the current line number. - The value to create a from. - The initialized with the specified value. + + The current line number or 0 if no line information is available (for example, returns false). + - + - Performs an implicit conversion from to . + Gets the current line position. - The value to create a from. - The initialized with the specified value. + + The current line position or 0 if no line information is available (for example, returns false). + - + - Performs an implicit conversion from to . + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets the writer's character array pool. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets how many s to write for each level in the hierarchy when is set to . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets which character to use to quote attribute values. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets which character to use for indenting when is set to . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Gets or sets a value indicating whether object names will be surrounded with quotes. - The value to create a from. - The initialized with the specified value. - + + + Initializes a new instance of the class using the specified . + + The to write to. + + - Performs an implicit conversion from to . + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Writes the beginning of a JSON object. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Writes the beginning of a JSON array. - The value to create a from. - The initialized with the specified value. - + - Creates an for this token. + Writes the start of a constructor with the given name. - An that can be used to read this token and its descendants. + The name of the constructor. - + - Creates a from an object. + Writes the specified end token. - The object that will be used to create . - A with the value of the specified object + The end token to write. - + - Creates a from an object using the specified . + Writes the property name of a name/value pair on a JSON object. - 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 + The name of the property. - + - Creates the specified .NET type from the . + Writes the property name of a name/value pair on a JSON object. - The object type that the token will be deserialized to. - The new object created from the JSON value. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Creates the specified .NET type from the . + Writes indent characters. - 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 . + Writes the JSON value delimiter. - 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 . + Writes an indent space. - 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 . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - 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. - + The value to write. - + - Load a from a string that contains JSON. + Writes a null value. - A that contains JSON. - A populated from the string that contains JSON. - + - Creates a from a . + Writes an undefined value. - 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. + Writes raw JSON. - - A that contains a JPath expression. - - A , or null. + The raw JSON to write. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Writes a value. - - 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 . + The value to write. - + - Selects a collection of elements using a JPath expression. + Writes a value. - - A that contains a JPath expression. - - An that contains the selected elements. + The value to write. - + - Selects a collection of elements using a JPath expression. + Writes a value. - - 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. + The value to write. - + - Returns the responsible for binding operations performed on this object. + Writes a value. - The expression tree representation of the runtime value. - - The to bind this object. - + The value to write. - + - Returns the responsible for binding operations performed on this object. + Writes a value. - The expression tree representation of the runtime value. - - The to bind this object. - + The value to write. - + - Creates a new instance of the . All child tokens are recursively cloned. + Writes a value. - A new instance of the . + The value to write. - + - Gets a comparer that can compare two tokens for value equality. + Writes a of value. - A that can compare two nodes for value equality. + The of value to write. - + - Gets or sets the parent. + Writes a value. - The parent. + The value to write. - + - Gets the root of this . + Writes a of value. - The root of this . + The of value to write. - + - Gets the node type for this . + Writes a value. - The type. + The value to write. - + - Gets a value indicating whether this token has child tokens. + Writes a value. - - true if this token has child values; otherwise, false. - + The value to write. - + - Gets the next sibling token of this node. + Writes a value. - The that contains the next sibling token. + The value to write. - + - Gets the previous sibling token of this node. + Writes a value. - The that contains the previous sibling token. + The value to write. - + - Gets the path of the JSON token. + Writes a value. + The value to write. - + - Gets the with the specified key. + Writes a value. - The with the specified key. + The value to write. - + - Get the first child token of this token. + Writes a value. - A containing the first child token of the . + The value to write. - + - Get the last child token of this token. + Writes a value. - A containing the last child token of the . + The value to write. - + - Initializes a new instance of the class from another object. + Writes a [] value. - A object to copy from. + The [] value to write. - + - Initializes a new instance of the class with the given value. + Writes a value. - The value. + The value to write. - + - Initializes a new instance of the class with the given value. + Writes a value. - The value. + The value to write. - + - Initializes a new instance of the class with the given value. + Writes a value. - The value. + The value to write. - + - Initializes a new instance of the class with the given value. + Writes a value. - The value. + The value to write. - + - Initializes a new instance of the class with the given value. + Writes a comment /*...*/ containing the specified text. - The value. + Text to place inside the comment. - + - Initializes a new instance of the class with the given value. + Writes the given white space. - The value. + The string of white space characters. - + - Initializes a new instance of the class with the given value. + Specifies the type of JSON token. - The value. - + - Initializes a new instance of the class with the given value. + This is returned by the if a read method has not been called. - The value. - + - Initializes a new instance of the class with the given value. + An object start token. - The value. - + - Initializes a new instance of the class with the given value. + An array start token. - The value. - + - Initializes a new instance of the class with the given value. + A constructor start token. - The value. - + - Initializes a new instance of the class with the given value. + An object property name. - The value. - + - Initializes a new instance of the class with the given value. + A comment. - The value. - + - Initializes a new instance of the class with the given value. + Raw JSON. - The value. - + - Creates a comment with the given value. + An integer. - The value. - A comment with the given value. - + - Creates a string with the given value. + A float. - The value. - A string with the given value. - + - Creates a null value. + A string. - A null value. - + - Creates a null value. + A boolean. - A null value. - + - Writes this token to a . + A null token. - 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. + An undefined token. - - 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 . + An object end token. - 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. + An array end token. - - A hash code for the current . - - + - Returns a that represents this instance. + A constructor end token. - - A that represents this instance. - - + - Returns a that represents this instance. + A Date. - The format. - - A that represents this instance. - - + - Returns a that represents this instance. + Byte data. - The format provider. - - A that represents this instance. - - + - Returns a that represents this instance. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The format. - The format provider. - - A that represents this instance. - - + - Returns the responsible for binding operations performed on this object. + Sets an event handler for receiving schema validation errors. - 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. + Gets the text value of the current JSON token. - 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. - + - + - Gets a value indicating whether this token has child tokens. + Gets the depth of the current token in the JSON document. - - true if this token has child values; otherwise, false. - + The depth of the current token in the JSON document. - + - Gets the node type for this . + Gets the path of the current JSON token. - The type. - + - Gets or sets the underlying token value. + Gets the quotation mark character used to enclose the value of a string. - The underlying token value. + - + - Initializes a new instance of the class from another object. + Gets the type of the current JSON token. - A object to copy from. + - + - Initializes a new instance of the class. + Gets the .NET type for the current JSON token. - The raw json. + - + - Creates an instance of with the content of the reader's current token. + Initializes a new instance of the class that + validates the content returned from the given . - The reader. - An instance of with the content of the reader's current token. + The to read from while validating. - + - Indicating whether a property is required. + Gets or sets the schema. + The schema. - + - The property is not required. The default state. + Gets the used to construct this . + The specified in the constructor. - + - The property must be defined in JSON but can be a null value. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - The property must be defined in JSON and cannot be a null value. + Reads the next JSON token from the underlying as a of . + A of . - + - Contract details for a used by the . + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. + - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . - The underlying type for the contract. + A of . - + - Gets the object's properties. + Reads the next JSON token from the underlying as a of . - The object's properties. + A of . - + - Gets or sets the property name resolver. + Reads the next JSON token from the underlying as a of . - The property name resolver. + A of . - + - Contract details for a used by the . + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . - The underlying type for the contract. + A of . This method will return null at the end of an array. - + - Gets or sets the ISerializable object constructor. + Reads the next JSON token from the underlying as a of . - The ISerializable object constructor. + A of . - + - Contract details for a used by 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. + - + - Initializes a new instance of the class. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The underlying type for the contract. - + - Contract details for a used by the . + 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. + - + - Initializes a new instance of the class. + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - The underlying type for the contract. + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + - + - Get and set values for a using dynamic methods. + Gets the top. + The top. - + - Initializes a new instance of the class. + Gets the state of the writer. - The member info. - + - Sets the value. + Gets the path of the writer. - The target to set the value on. - The value to set on the target. - + - Gets the value. + Gets or sets a value indicating how JSON text output should be formatted. - The target to get the value from. - The value. - + - Provides data for the Error event. + Gets or sets how dates are written to JSON text. - + - Initializes a new instance of the class. + Gets or sets how time zones are handled when writing JSON text. - The current object. - The error context. - + - Gets the current object the error event is being raised against. + Gets or sets how strings are escaped when writing JSON text. - The current object the error event is being raised against. - + - Gets the error context. + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. - The error context. - + - Represents a view of a . + Gets or sets how and values are formatted when writing JSON text. - + - Initializes a new instance of the class. + Gets or sets the culture used when writing JSON. Defaults to . - The name. - + - When overridden in a derived class, returns whether resetting an object changes its value. + Initializes a new instance of the class. - - 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. + Flushes whatever is in the buffer to the destination and also flushes the destination. - - 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. + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - 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. + Writes the beginning of a JSON object. - 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. + Writes the end of a JSON object. - - 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. - + Writes the beginning of a JSON array. + - + - When overridden in a derived class, gets a value indicating whether this property is read-only. + Writes the end of an array. - - true if the property is read-only; otherwise, false. - - + - When overridden in a derived class, gets the type of the property. + Writes the start of a constructor with the given name. - - A that represents the type of the property. - + The name of the constructor. - + - Gets the hash code for the name of the member. + Writes the end constructor. - - - The hash code for the name of the member. - - + - Used to resolve references when serializing and deserializing JSON by the . + Writes the property name of a name/value pair of a JSON object. + The name of the property. - + - Resolves a reference to its object. + Writes the property name of a name/value pair of a JSON object. - The serialization context. - The reference to resolve. - The object that + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Gets the reference for the sepecified object. + Writes the end of the current JSON object or array. - The serialization context. - The object to get a reference for. - The reference to the object. - + - Determines whether the specified object is referenced. + Writes the current token and its children. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + The to read the token from. - + - Adds a reference to the specified object. + Writes the current token. - The serialization context. - The reference. - The object to reference. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - 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. + 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. . + - + - Do not preserve references when serializing types. + Writes the token. + The to write. - + - Preserve references when serializing into a JSON object structure. + Writes the specified end token. + The end token to write. - + - Preserve references when serializing into a JSON array structure. + Writes indent characters. - + - Preserve references when serializing. + Writes the JSON value delimiter. - + - Instructs the how to serialize the collection. + Writes an indent space. - + - Initializes a new instance of the class. + Writes a null value. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Writes an undefined value. - A flag indicating whether the array can contain null items. - + - Initializes a new instance of the class with the specified container Id. + Writes raw JSON without changing the writer's state. - The container Id. + The raw JSON to write. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Writes raw JSON where a value is expected and updates the writer's state. - true if null items are allowed in the collection; otherwise, false. + The raw JSON to write. - + - Specifies default value handling options for the . + Writes a value. - - - - + The value to write. - + - 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. + Writes a value. + The value to write. - + - 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. + Writes a value. + The value to write. - + - Members with a default value but no JSON will be set to their default value when deserializing. + Writes a value. + The value to write. - + - 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. + Writes a value. + The value to write. - + - Instructs the to use the specified when serializing the member or class. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - Type of the converter. + The value to write. - + - Gets the type of the converter. + Writes a value. - The type of the converter. + The value to write. - + - Instructs the how to serialize the object. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Initializes a new instance of the class with the specified member serialization. + Writes a value. - The member serialization. + The value to write. - + - Initializes a new instance of the class with the specified container Id. + Writes a value. - The container Id. + The value to write. - + - Gets or sets the member serialization. + Writes a value. - The member serialization. + The value to write. - + - Gets or sets a value that indicates whether the object's properties are required. + Writes a value. - - A value indicating whether the object's properties are required. - + The value to write. - + - Specifies the settings on a object. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Writes a value. - Reference loop handling. + The value to write. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Writes a value. - Missing member handling. + The value to write. - + - Gets or sets how objects are created during deserialization. + Writes a of value. - The object creation handling. + The of value to write. - + - Gets or sets how null values are handled during serialization and deserialization. + Writes a of value. - Null value handling. + The of value to write. - + - Gets or sets how null default are handled during serialization and deserialization. + Writes a of value. - The default value handling. + The of value to write. - + - Gets or sets a collection that will be used during serialization. + Writes a of value. - The converters. + The of value to write. - + - Gets or sets how object references are preserved by the serializer. + Writes a of value. - The preserve references handling. + The of value to write. - + - Gets or sets how type name writing and reading is handled by the serializer. + Writes a of value. - The type name handling. + The of value to write. - + - Gets or sets how metadata properties are used during deserialization. + Writes a of value. - The metadata properties handling. + The of value to write. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Writes a of value. - The type name assembly format. + The of value to write. - + - Gets or sets how constructors are used during deserialization. + Writes a of value. - The constructor handling. + The of value to write. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Writes a of value. - The contract resolver. + The of value to write. - + - Gets or sets the used by the serializer when resolving references. + Writes a of value. - The reference resolver. + The of value to write. - + - Gets or sets the used by the serializer when writing trace messages. + Writes a of value. - The trace writer. + The of value to write. - + - Gets or sets the used by the serializer when resolving type names. + Writes a of value. - The binder. + The of value to write. - + - Gets or sets the error handler called during serialization and deserialization. + Writes a of value. - The error handler called during serialization and deserialization. + The of value to write. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Writes a of value. - The context. + The of value to write. - + - Get or set how and values are formatting when writing JSON text. + Writes a of value. + The of value to write. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a of value. + The of value to write. - + - Indicates how JSON text output is formatted. + Writes a [] value. + The [] value to write. - + - Get or set how dates are written to JSON text. + Writes a value. + The value to write. - + - Get or set how time zones are handling during serialization and deserialization. + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes a comment /*...*/ containing the specified text. + Text to place inside the comment. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + Writes the given white space. + The string of white space characters. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Releases unmanaged and - optionally - managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Get or set how strings are escaped when writing JSON text. + Sets the state of the . + The being written. + The value being written. - + - Gets or sets the culture used when reading JSON. Defaults to . + The exception thrown when an error occurs while writing JSON text. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Gets the path to the JSON where the error occurred. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - + The path to the JSON where the error occurred. - + - Represents a reader that provides validation. + Initializes a new instance of the class. - + - Initializes a new instance of the class that - validates the content returned from the given . + Initializes a new instance of the class + with a specified error message. - The to read from while validating. + The error message that explains the reason for the exception. - + - Reads the next JSON token from the stream as a . + 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. - A . + 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. - + - Reads the next JSON token from the stream as a . + 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. - - A or a null reference if the next JSON token is null. - + 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. - + - Reads the next JSON token from the stream as a . + Specifies how JSON comments are handled when loading JSON. - A . - + - Reads the next JSON token from the stream as a . + Ignore comments. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Load comments as a with type . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Specifies how duplicate property names are handled when loading JSON. - A . - + - Reads the next JSON token from the stream. + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - - true if the next token was read successfully; false if there are no more tokens to read. - - + - Sets an event handler for receiving schema validation errors. + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - + - Gets the text value of the current JSON token. + Throw a when a duplicate property is encountered. - - + - Gets the depth of the current token in the JSON document. + Contains the LINQ to JSON extension methods. - The depth of the current token in the JSON document. - + - Gets the path of the current JSON token. + 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. - + - Gets the quotation mark character used to enclose the value of a string. + 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. - + - Gets the type of the current JSON token. + 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. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + 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. - + - Gets or sets the schema. + Returns a collection of child properties of every object in the source collection. - The schema. + An of that contains the source collection. + An of that contains the properties of every object in the source collection. - + - Gets the used to construct this . + Returns a collection of child values of every object in the source collection with the given key. - The specified in the constructor. + 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. - + - Compares tokens to determine whether they are equal. + 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. - + - Determines whether the specified objects are equal. + Returns a collection of converted child values of every object in the source collection with the given key. - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - + 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 hash code for the specified object. + Returns a collection of converted child values of every object in the source collection. - 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 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. - + - Specifies the member serialization options for the . + Converts the value. + The type to convert the value to. + A cast as a of . + A converted value. - + - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. + Converts the value. + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. - + - Only members must be marked with or are serialized. - This member serialization mode can also be set by marking the class with . + 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. - + - 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. + 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. - + - Specifies how object creation is handled by the . + Returns the input typed as . + An of that contains the source collection. + The input typed as . - + - Reuse existing objects, create new objects when needed. + Returns the input typed as . + The source collection type. + An of that contains the source collection. + The input typed as . - + - Only reuse existing objects. + Represents a collection of objects. + The type of token. - + - Always create new objects. + Gets the of with the specified key. + - + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Represents a JSON array. + + + - + - Writes the JSON representation of the object. + Gets the container's children tokens. - The to write to. - The value. - The calling serializer. + The container's children tokens. - + - Reads the JSON representation of the object. + Gets the node type for this . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type. - + - Gets or sets the date time styles used when converting a date to and from JSON. + Initializes a new instance of the class. - 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. + Initializes a new instance of the class from another object. - The date time format used when converting a date to and from JSON. + A object to copy from. - + - Gets or sets the culture used when converting a date to and from JSON. + Initializes a new instance of the class with the specified content. - The culture used when converting a date to and from JSON. + The contents of the array. - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Initializes a new instance of the class with the specified content. + The contents of the array. - + - Writes the JSON representation of the object. + Loads an from a . - The to write to. - The value. - The calling serializer. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Reads the JSON representation of the object. + Loads an from a . - 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. + 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 . - + - Converts XML to and from JSON. + Load a from a string that contains JSON. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Writes the JSON representation of the object. + Load a from a string that contains JSON. - The to write to. - The calling serializer. - The value. + 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. + + + - + - Reads the JSON representation of the object. + Creates a from an object. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The object that will be used to create . + A with the values of the specified object. - + - Checks if the attributeName is a namespace attribute. + Creates a from an object. - 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. + 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. - + - Determines whether this instance can convert the specified value type. + Writes this token to a . - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - + A into which this method will write. + A collection of which will be used when writing the token. - + - 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 the with the specified key. - The name of the deserialize root element. + The with the specified key. - + - 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. + Gets or sets the at the specified index. - 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. + Determines the index of a specific item in the . - true if the JSON root object is omitted; otherwise, false. + The object to locate in the . + + The index of if found in the list; otherwise, -1. + - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + 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 . + - + - Initializes a new instance of the class with the specified . + Removes the item at the specified index. - The TextReader containing the XML data to read. + The zero-based index of the item to remove. + + is not a valid index in the . + - + - Reads the next JSON token from the stream. + Returns an enumerator that iterates through the collection. - true if the next token was read successfully; false if there are no more tokens to read. + A of that can be used to iterate through the collection. - + - Reads the next JSON token from the stream as a . + Adds an item to the . - - A or a null reference if the next JSON token is null. This method will return null at the end of an array. - + The object to add to the . - + - Reads the next JSON token from the stream as a . + Removes all items from the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Determines whether the contains a specific value. - A . This method will return null at the end of an array. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Copies the elements of the to an array, starting at a particular array index. - A . This method will return null at the end of an array. + The array. + Index of the array. - + - Reads the next JSON token from the stream as a . + Gets a value indicating whether the is read-only. - A . This method will return null at the end of an array. + true if the is read-only; otherwise, false. - + - Reads the next JSON token from the stream as a . + Removes the first occurrence of a specific object from the . - A . This method will return null at the end of an array. + 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 . + - + - Changes the state to closed. + Represents a JSON constructor. - + - Gets a value indicating whether the class can return line information. + Gets the container's children tokens. - - true if LineNumber and LinePosition can be provided; otherwise, false. - + The container's children tokens. - + - Gets the current line number. + Gets or sets the name of this constructor. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - + The constructor name. - + - Gets the current line position. + Gets the node type for this . - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - + The type. - + - Instructs the to always serialize the member with the specified name. + Initializes a new instance of the class. - + - 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. + Initializes a new instance of the class with the specified name and content. - Name of the property. + The constructor name. + The contents of the constructor. - + - Gets or sets the converter used when serializing the property's collection items. + Initializes a new instance of the class with the specified name and content. - The collection's items converter. + The constructor name. + The contents of the constructor. - + - Gets or sets the null value handling used when serializing this property. + Initializes a new instance of the class with the specified name. - The null value handling. + The constructor name. - + - Gets or sets the default value handling used when serializing this property. + Writes this token to a . - The default value handling. + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets or sets the reference loop handling used when serializing this property. + Gets the with the specified key. - The reference loop handling. + The with the specified key. - + - Gets or sets the object creation handling used when deserializing this property. + Loads a from a . - The object creation handling. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Gets or sets the type name handling used when serializing this property. + Loads a from a . - The type name handling. + 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 . - + - Gets or sets whether this property's value is serialized as a reference. + Represents a token that can contain other tokens. - Whether this property's value is serialized as a reference. - + - Gets or sets the order of serialization and deserialization of a member. + Gets the container's children tokens. - The numeric order of serialization or deserialization. + The container's children tokens. - + - Gets or sets a value indicating whether this property is required. + Gets a value indicating whether this token has child tokens. - A value indicating whether this property is required. + true if this token has child values; otherwise, false. - + - Gets or sets the name of the property. + Get the first child token of this token. - The name of the property. + + A containing the first child token of the . + - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Get the last child token of this token. - The collection's items reference loop handling. + + A containing the last child token of the . + - + - Gets or sets the the type name handling used when serializing the property's collection items. + Returns a collection of the child tokens of this token, in document order. - The collection's items type name handling. + + An of containing the child tokens of this , in document order. + - + - Gets or sets whether this property's collection items are serialized as a reference. + Returns a collection of the child values of this token, in document order. - Whether this property's collection items are serialized as a reference. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Instructs the not to serialize the public field or public read/write property value. + Returns a collection of the descendant tokens for this token in document order. + An of containing the descendant tokens of the . - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + 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 . - + - Creates an instance of the JsonWriter class using the specified . + Adds the specified content as children of this . - The TextWriter to write to. + The content to be added. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Adds the specified content as the first children of this . + The content to be added. - + - Closes this stream and the underlying stream. + Creates a that can be used to add tokens to the . + A that is ready to have content written to it. - + - Writes the beginning of a Json object. + Replaces the child nodes of this token with the specified content. + The content. - + - Writes the beginning of a Json array. + Removes the child nodes from this token. - + - Writes the start of a constructor with the given name. + Merge the specified content into this . - The name of the constructor. + The content to be merged. - + - Writes the specified end token. + Merge the specified content into this using . - The end token to write. + The content to be merged. + The used to merge the content. - + - Writes the property name of a name/value pair on a Json object. + Gets the count of child JSON tokens. - The name of the property. + The count of child JSON tokens. - + - Writes the property name of a name/value pair on a JSON object. + Represents a collection of objects. - 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 type of token. - + - Writes indent characters. + An empty collection of objects. - + - Writes the JSON value delimiter. + Initializes a new instance of the struct. + The enumerable. - + - Writes an indent space. + Returns an enumerator that can be used to iterate through the collection. + + A that can be used to iterate through the collection. + - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Gets the of with the specified key. - The value to write. + - + - Writes a null value. + 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. + - + - Writes an undefined value. + 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. + - + - Writes raw JSON. + Returns a hash code for this instance. - The raw JSON to write. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Writes a value. + Represents a JSON object. - The value to write. + + + - + - Writes a value. + Gets the container's children tokens. - The value to write. + The container's children tokens. - + - Writes a value. + Occurs when a property value changes. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class from another object. - The value to write. + A object to copy from. - + - Writes a value. + Initializes a new instance of the class with the specified content. - The value to write. + The contents of the object. - + - Writes a value. + Initializes a new instance of the class with the specified content. - The value to write. + The contents of the object. - + - Writes a value. + Gets the node type for this . - The value to write. + The type. - + - Writes a value. + Gets an of of this object's properties. - The value to write. + An of of this object's properties. - + - Writes a value. + Gets a with the specified name. - The value to write. + The property name. + A with the specified name or null. - + - Writes a value. + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. - The value to write. + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. - + - Writes a value. + Gets a of of this object's property values. - The value to write. + A of of this object's property values. - + - Writes a value. + Gets the with the specified key. - The value to write. + The with the specified key. - + - Writes a value. + Gets or sets the with the specified property name. - The value to write. + - + - Writes a value. + Loads a from a . - The value to write. + 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. + - + - Writes a value. + Loads a from a . - The value to write. + 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. + - + - Writes a value. + Load a from a string that contains JSON. - The value to write. + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + - + - Writes a value. + Load a from a string that contains JSON. - The value to write. + 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. + + + + - + - Writes a value. + Creates a from an object. - The value to write. + The object that will be used to create . + A with the values of the specified object. - + - Writes a value. + Creates a from an object. - The value to write. + 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 a value. + Writes this token to a . - The value to write. + A into which this method will write. + A collection of which will be used when writing the token. - + - Writes a value. + Gets the with the specified property name. - The value to write. + Name of the property. + The with the specified property name. - + - Writes out a comment /*...*/ containing the specified text. + 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. - Text to place inside the comment. + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Writes out the given white space. + 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. - The string of white space characters. + 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. - + - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. + Adds the specified property name. + Name of the property. + The value. - + - Gets or sets which character to use to quote attribute values. + Determines whether the JSON object has the specified property name. + Name of the property. + true if the JSON object has the specified property name; otherwise, false. - + - Gets or sets which character to use for indenting when is set to Formatting.Indented. + Removes the property with the specified name. + Name of the property. + true if item was successfully removed; otherwise, false. - + - Gets or sets a value indicating whether object names will be surrounded with quotes. + Tries to get the with the specified property name. + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - + - The exception thrown when an error occurs while reading Json text. + Returns an enumerator that can be used to iterate through the collection. + + A that can be used to iterate through the collection. + - + - Initializes a new instance of the class. + Raises the event with the provided arguments. + Name of the property. - + - Initializes a new instance of the class - with a specified error message. + Represents a JSON property. - 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. + Gets the container's children tokens. - 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 container's children tokens. - + - Initializes a new instance of the class. + Gets the property name. - 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 property name. - + - Gets the path to the JSON where the error occurred. + Gets or sets the property value. - The path to the JSON where the error occurred. + The property value. - + - The exception thrown when an error occurs while reading Json text. + Initializes a new instance of the class from another object. + A object to copy from. - + - Initializes a new instance of the class. + Gets the node type for this . + The type. - + - Initializes a new instance of the class - with a specified error message. + Initializes a new instance of the class. - The error message that explains the reason for the exception. + The property name. + The property content. - + - 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. + Initializes a new instance of the class. - 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 property name. + The property content. - + - Initializes a new instance of the class. + Writes this token to a . - 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). + A into which this method will write. + A collection of which will be used when writing the token. - + - Gets the line number indicating where the error occurred. + Loads a from a . - The line number indicating where the error occurred. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Gets the line position indicating where the error occurred. + Loads a from a . - The line position indicating where the error occurred. + 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 . - + - Gets the path to the JSON where the error occurred. + Represents a raw JSON string. - The path to the JSON where the error occurred. - + - Represents a collection of . + Initializes a new instance of the class from another object. + A object to copy from. - + - Provides methods for converting between common language runtime types and JSON types. + Initializes a new instance of the class. - - - + The raw json. - + - Represents JavaScript's boolean value true as a string. This field is read-only. + 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 JavaScript's boolean value false as a string. This field is read-only. + Specifies the settings used when loading JSON. - + - Represents JavaScript's null as a string. This field is read-only. + Initializes a new instance of the class. - + - Represents JavaScript's undefined as a string. This field is read-only. + Gets or sets how JSON comments are handled when loading JSON. + The default value is . + The JSON comment handling. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + The JSON line info handling. - + - Represents JavaScript's negative infinity as a string. This field is read-only. + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + The JSON duplicate property name handling. - + - Represents JavaScript's NaN as a string. This field is read-only. + Specifies the settings used when merging JSON. - + - Converts the to its JSON string representation. + Initializes a new instance of the class. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation using the specified. + Gets or sets the method used when merging JSON arrays. - 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 . + The method used when merging JSON arrays. - + - Converts the to its JSON string representation. + Gets or sets how null value properties are merged. - The value to convert. - A JSON string representation of the . + How null value properties are merged. - + - Converts the to its JSON string representation using the specified. + Gets or sets the comparison used to match property names while merging. + 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. - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + The comparison used to match property names while merging. - + - Converts the to its JSON string representation. + Represents an abstract JSON token. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Gets a comparer that can compare two tokens for value equality. - The value to convert. - A JSON string representation of the . + A that can compare two nodes for value equality. - + - Converts the to its JSON string representation. + Gets or sets the parent. - The value to convert. - A JSON string representation of the . + The parent. - + - Converts the to its JSON string representation. + Gets the root of this . - The value to convert. - A JSON string representation of the . + The root of this . - + - Converts the to its JSON string representation. + Gets the node type for this . - The value to convert. - A JSON string representation of the . + The type. - + - Converts the to its JSON string representation. + Gets a value indicating whether this token has child tokens. - The value to convert. - A JSON string representation of the . + + true if this token has child values; otherwise, false. + - + - Converts the to its JSON string representation. + Compares the values of two tokens, including the values of all descendant tokens. - The value to convert. - A JSON string representation of the . + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. - + - Converts the to its JSON string representation. + Gets the next sibling token of this node. - The value to convert. - A JSON string representation of the . + The that contains the next sibling token. - + - Converts the to its JSON string representation. + Gets the previous sibling token of this node. - The value to convert. - A JSON string representation of the . + The that contains the previous sibling token. - + - Converts the to its JSON string representation. + Gets the path of the JSON token. - The value to convert. - A JSON string representation of the . - + - Converts the to its JSON string representation. + Adds the specified content immediately after this token. - The value to convert. - A JSON string representation of the . + A content object that contains simple content or a collection of content objects to be added after this token. - + - Converts the to its JSON string representation. + Adds the specified content immediately before this token. - The value to convert. - A JSON string representation of the . + A content object that contains simple content or a collection of content objects to be added before this token. - + - Converts the to its JSON string representation. + Returns a collection of the ancestor tokens of this token. - The value to convert. - A JSON string representation of the . + A collection of the ancestor tokens of this token. - + - Converts the to its JSON string representation. + Returns a collection of tokens that contain this token, and the ancestors of this token. - The value to convert. - A JSON string representation of the . + A collection of tokens that contain this token, and the ancestors of this token. - + - Converts the to its JSON string representation. + Returns a collection of the sibling tokens after this token, in document order. - The value to convert. - A JSON string representation of the . + A collection of the sibling tokens after this tokens, in document order. - + - Converts the to its JSON string representation. + Returns a collection of the sibling tokens before this token, in document order. - The value to convert. - A JSON string representation of the . + A collection of the sibling tokens before this token, in document order. - + - Converts the to its JSON string representation. + Gets the with the specified key. - The value to convert. - A JSON string representation of the . + The with the specified key. - + - Converts the to its JSON string representation. + Gets the with the specified key converted to the specified type. - The value to convert. - A JSON string representation of the . + The type to convert the token to. + The token key. + The converted token value. - + - Converts the to its JSON string representation. + Get the first child token of this token. - The value to convert. - The string delimiter character. - A JSON string representation of the . + A containing the first child token of the . - + - Converts the to its JSON string representation. + Get the last child token of this token. - The value to convert. - A JSON string representation of the . + A containing the last child token of the . - + - Serializes the specified object to a JSON string. + Returns a collection of the child tokens of this token, in document order. - The object to serialize. - A JSON string representation of the object. + An of containing the child tokens of this , in document order. - + - Serializes the specified object to a JSON string using formatting. + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - + The type to filter the child tokens on. + A containing the child tokens of this , in document order. - + - Serializes the specified object to a JSON string using a collection of . + Returns a collection of the child values of this token, in document order. - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. + The type to convert the values to. + A containing the child values of this , in document order. - + - Serializes the specified object to a JSON string using formatting and a collection of . + Removes this token from its parent. - The object to serialize. - Indicates how the output is formatted. - A collection 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. - + Replaces this token with the specified token. + + The value. - + - Serializes the specified object to a JSON string using a type, formatting and . + Writes this token to a . - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - + A into which this method will write. + A collection of which will be used when writing the token. - + - Serializes the specified object to a JSON string using formatting and . + Returns the indented JSON for this token. - 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. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - A JSON string representation of the object. + The indented JSON for this token. - + - Serializes the specified object to a JSON string using a type, formatting and . + Returns the JSON for this token using the given formatting and converters. - 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. - - 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. - - - A JSON string representation of the object. - + 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. - + - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. + Performs an explicit conversion from to . - 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. - + The value. + The result of the conversion. - + - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. + Performs an explicit conversion from to . - 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. - + The value. + The result of the conversion. - + - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Deserializes the JSON to a .NET object. + Performs an explicit conversion from to of . - The JSON to deserialize. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to a .NET object using . + Performs an explicit conversion from to of . - 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type. + Performs an explicit conversion from to of . - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type. + Performs an explicit conversion from to of . - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the given anonymous type. + Performs an explicit conversion from to of . - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the given anonymous type using . + Performs an explicit conversion from to of . - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using a collection of . + Performs an explicit conversion from to . - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using . + Performs an explicit conversion from to . - 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. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using a collection of . + Performs an explicit conversion from to . - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value. + The result of the conversion. - + - Deserializes the JSON to the specified .NET type using . + Performs an explicit conversion from to . - 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. + The value. + The result of the conversion. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Performs an explicit conversion from to . - 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. - + The value. + The result of the conversion. - + - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. + Performs an explicit conversion from to . - 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. - + The value. + The result of the conversion. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Populates the object with values from the JSON string. + Performs an explicit conversion from to of . - The JSON to populate values from. - The target object to populate values onto. + The value. + The result of the conversion. - + - Populates the object with values from the JSON string using . + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Asynchronously populates the object with values from the JSON string using . + Performs an explicit conversion from to of . - 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. - + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string. + Performs an explicit conversion from to of . - The node to serialize. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string using formatting. + Performs an explicit conversion from to of . - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Serializes the XML node to a JSON string using formatting and omits the root object if is true. + Performs an explicit conversion from to of . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string. + Performs an explicit conversion from to . - The JSON string. - The deserialized XmlNode + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by . + Performs an explicit conversion from to of . - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode + The value. + The result of the conversion. - + - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Performs an explicit conversion from to of . - 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 XmlNode + The value. + The result of the conversion. - + - Serializes the to a JSON string. + Performs an explicit conversion from to . - The node to convert to JSON. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Serializes the to a JSON string using formatting. + Performs an explicit conversion from to . - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Performs an explicit conversion from to . - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. + The value. + The result of the conversion. - + - Deserializes the from a JSON string. + Performs an explicit conversion from to . - The JSON string. - The deserialized XNode + The value. + The result of the conversion. - + - Deserializes the from a JSON string nested in a root elment specified by . + Performs an explicit conversion from to . - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode + The value. + The result of the conversion. - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Performs an explicit conversion from to []. - 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 XNode + The value. + The result of the conversion. - + - 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 - . + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to . + The value. + The result of the conversion. - + - Initializes a new instance of the class - with a specified error message. + Performs an explicit conversion from to of . - The error message that explains the reason for the exception. + The value. + The result of the conversion. - + - 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. + Performs an explicit conversion from to . - 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 value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - 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 value to create a from. + The initialized with the specified value. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Creates a new instance. - The will not use default settings. + Performs an implicit conversion from of to . - - A new instance. - The will not use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance using the specified . - The will not use default settings. + Performs an implicit conversion from to . - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance. - The will use default settings. + Performs an implicit conversion from of to . - - A new instance. - The will use default settings. - + The value to create a from. + The initialized with the specified value. - + - Creates a new instance using the specified . - The will use default settings. + Performs an implicit conversion from of to . - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - + The value to create a from. + The initialized with the specified value. - + - Populates the JSON values onto the target object. + Performs an implicit conversion from of to . - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The value to create a from. + The initialized with the specified value. - + - Populates the JSON values onto the target object. + Performs an implicit conversion from of to . - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified . + Performs an implicit conversion from of to . - The that contains the JSON structure to deserialize. - The being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from of to . - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from of to . - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Performs an implicit conversion from to . - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - The used to write the Json structure. - The to serialize. + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - 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. - + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from of to . - 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. - + The value to create a from. + The initialized with the specified value. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Performs an implicit conversion from to . - The used to write the Json structure. - The to serialize. + The value to create a from. + The initialized with the specified value. - + - Occurs when the errors during serialization and deserialization. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when resolving references. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when resolving type names. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when writing trace messages. + Performs an implicit conversion from of to . - The trace writer. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how type name writing and reading is handled by the serializer. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Performs an implicit conversion from of to . - The type name assembly format. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how object references are preserved by the serializer. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how null values are handled during serialization and deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Get or set how null default are handled during serialization and deserialization. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets how objects are created during deserialization. + Performs an implicit conversion from to . - The object creation handling. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how constructors are used during deserialization. + Performs an implicit conversion from [] to . - The constructor handling. + The value to create a from. + The initialized with the specified value. - + - Gets or sets how metadata properties are used during deserialization. + Performs an implicit conversion from to . - The metadata properties handling. + The value to create a from. + The initialized with the specified value. - + - Gets a collection that will be used during serialization. + Performs an implicit conversion from to . - Collection that will be used during serialization. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Performs an implicit conversion from to . - The context. + The value to create a from. + The initialized with the specified value. - + - Indicates how JSON text output is formatted. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Get or set how dates are written to JSON text. + Creates a for this token. + A that can be used to read this token and its descendants. - + - Get or set how time zones are handling during serialization and deserialization. + Creates a from an object. + The object that will be used to create . + A with the value of the specified object. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + 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. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + 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. - + - Get or set how strings are escaped when writing JSON text. + 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. - + - Get or set how and values are formatting when writing JSON text. + 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. - + - Gets or sets the culture used when reading JSON. Defaults to . + 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. + - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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. + - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Load a from a string that contains JSON. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + A that contains JSON. + A populated from the string that contains JSON. - + - Contains the LINQ to JSON extension methods. + 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. - + - Returns a collection of tokens that contains the ancestors of every token in the source collection. + Creates a from a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every node in the source collection. + 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. + - + - Returns a collection of tokens that contains the descendants of every token in the source collection. + Creates a from a . - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every node in the source collection. + 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. + - + - Returns a collection of child properties of every object in the source collection. + Selects a using a JSONPath expression. Selects the token that matches the object path. - An of that contains the source collection. - An of that contains the properties of every object in the source collection. + + A that contains a JSONPath expression. + + A , or null. - + - Returns a collection of child values of every object in the source collection with the given key. + Selects a using a JSONPath expression. Selects the token that matches the object path. - An of that contains the source collection. - The token key. - An of that contains the values of every node in the source collection with the given key. + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Returns a collection of child values of every object in the source collection. + Selects a collection of elements using a JSONPath expression. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Returns a collection of converted child values of every object in the source collection with the given key. + Selects a collection of elements using a JSONPath expression. - 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 node in the source collection with the given key. + + A that contains a JSONPath 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 a collection of converted child values of every object in the source collection. + Creates a new instance of the . All child tokens are recursively cloned. - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every node in the source collection. + A new instance of the . - + - Converts the value. + Adds an object to the annotation list of this . - The type to convert the value to. - A cast as a of . - A converted value. + The annotation to add. - + - Converts the value. + Get the first annotation object of the specified type from this . - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. + 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. - + - Returns a collection of child tokens of every array in the source collection. + Gets the first annotation object of the specified type from this . - The source collection type. - An of that contains the source collection. - An of that contains the values of every node in the source collection. + 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. - + - Returns a collection of converted child tokens of every array in the source collection. + Gets a collection of annotations of the specified type for this . - 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 node in the source collection. + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Returns the input typed as . + Gets a collection of annotations of the specified type for this . - An of that contains the source collection. - The input typed as . + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . - + - Returns the input typed as . + Removes the annotations of the specified type from this . - The source collection type. - An of that contains the source collection. - The input typed as . + The type of annotations to remove. - + - Represents a JSON constructor. + Removes the annotations of the specified type from this . + The of annotations to remove. - + - Represents a token that can contain other tokens. + Compares tokens to determine whether they are equal. - + - Raises the event. + Determines whether the specified objects are equal. - The instance containing the event data. + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + - + - Raises the event. + Returns a hash code for the specified object. - The instance containing the event data. + 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. - + - Raises the event. + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - The instance containing the event data. - + - Returns a collection of the child tokens of this token, in document order. + Gets the at the reader's current position. - - An of containing the child tokens of this , in document order. - - + - Returns a collection of the child values of this token, in document order. + Initializes a new instance of the class. - The type to convert the values to. - - A containing the child values of this , in document order. - + The token to read from. - + - Returns a collection of the descendant tokens for this token in document order. + Initializes a new instance of the class. - An containing the descendant tokens of the . + The token to read from. + The initial path of the token. It is prepended to the returned . - + - Adds the specified content as children of this . + Reads the next JSON token from the underlying . - The content to be added. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Adds the specified content as the first children of this . + Gets the path of the current JSON token. - The content to be added. - + - Creates an that can be used to add tokens to the . + Specifies the type of token. - An that is ready to have content written to it. - + - Replaces the children nodes of this token with the specified content. + No token type has been set. - The content. - + - Removes the child nodes from this token. + A JSON object. - + - Merge the specified content into this . + A JSON array. - The content to be merged. - + - Merge the specified content into this using . + A JSON constructor. - The content to be merged. - The used to merge the content. - + - Occurs when the list changes or an item in the list changes. + A JSON object property. - + - Occurs before an item is added to the collection. + A comment. - + - Occurs when the items list of the collection has changed, or the collection is reset. + An integer value. - + - Gets the container's children tokens. + A float value. - The container's children tokens. - + - Gets a value indicating whether this token has child tokens. + A string value. - - true if this token has child values; otherwise, false. - - + - Get the first child token of this token. + A boolean value. - - A containing the first child token of the . - - + - Get the last child token of this token. + A null value. - - A containing the last child token of the . - - + - Gets the count of child JSON tokens. + An undefined value. - The count of child JSON tokens - + - Initializes a new instance of the class. + A date value. - + - Initializes a new instance of the class from another object. + A raw JSON value. - A object to copy from. - + - Initializes a new instance of the class with the specified name and content. + A collection of bytes value. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name and content. + A Guid value. - The constructor name. - The contents of the constructor. - + - Initializes a new instance of the class with the specified name. + A Uri value. - The constructor name. - + - Writes this token to a . + A TimeSpan value. - A into which this method will write. - A collection of which will be used when writing the token. - + - Loads an from a . + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - + - Gets the container's children tokens. + Gets the at the writer's current position. - The container's children tokens. - + - Gets or sets the name of this constructor. + Gets the token being written. - The constructor name. + The token being written. - + - Gets the node type for this . + Initializes a new instance of the class writing to the given . - The type. + The container being written to. - + - Gets the with the specified key. + Initializes a new instance of the class. - The with the specified key. - + - Represents a collection of objects. + Flushes whatever is in the buffer to the underlying . - The type of token - + - An empty collection of objects. + 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. + - + - Initializes a new instance of the struct. + Writes the beginning of a JSON object. - The enumerable. - + - Returns an enumerator that iterates through the collection. + Writes the beginning of a JSON array. - - A that can be used to iterate through the collection. - - + - Returns an enumerator that iterates through a collection. + Writes the start of a constructor with the given name. - - An object that can be used to iterate through the collection. - + The name of the constructor. - + - Determines whether the specified is equal to this instance. + Writes the end. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The token. - + - Returns a hash code for this instance. + Writes the property name of a name/value pair on a JSON object. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + The name of the property. - + - Gets the with the specified key. + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. - + The value to write. - + - Represents a JSON object. + Writes a null value. - - - - + - Initializes a new instance of the class. + Writes an undefined value. - + - Initializes a new instance of the class from another object. + Writes raw JSON. - A object to copy from. + The raw JSON to write. - + - Initializes a new instance of the class with the specified content. + Writes a comment /*...*/ containing the specified text. - The contents of the object. + Text to place inside the comment. - + - Initializes a new instance of the class with the specified content. + Writes a value. - The contents of the object. + The value to write. - + - Gets an of this object's properties. + Writes a value. - An of this object's properties. + The value to write. - + - Gets a the specified name. + Writes a value. - The property name. - A with the specified name or null. + The value to write. - + - Gets an of this object's property values. + Writes a value. - An of this object's property values. + The value to write. - + - Loads an from a . + Writes a value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to write. - + - Load a from a string that contains JSON. + Writes a value. - A that contains JSON. - A populated from the string that contains JSON. - - - + The value to write. - + - Creates a from an object. + Writes a value. - The object that will be used to create . - A with the values of the specified object + The value to write. - + - Creates a from an object. + Writes a value. - 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 + The value to write. - + - Writes this token to a . + Writes a value. - A into which this method will write. - A collection of which will be used when writing the token. + The value to write. - + - Gets the with the specified property name. + Writes a value. - Name of the property. - The with the specified property name. + The value to write. - + - 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. + Writes a value. - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The value to write. - + - 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. + Writes a value. - 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. + The value to write. - + - Adds the specified property name. + Writes a value. - Name of the property. - The value. + The value to write. - + - Removes the property with the specified name. + Writes a value. - Name of the property. - true if item was successfully removed; otherwise, false. + The value to write. - + - Tries the get value. + Writes a value. - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + The value to write. - + - Returns an enumerator that iterates through the collection. + Writes a value. - - A that can be used to iterate through the collection. - + The value to write. - + - Raises the event with the provided arguments. + Writes a [] value. - Name of the property. + The [] value to write. - + - Raises the event with the provided arguments. + Writes a value. - Name of the property. + The value to write. - + - Returns the properties for this instance of a component. + Writes a value. - - A that represents the properties for this component instance. - + The value to write. - + - Returns the properties for this instance of a component using the attribute array as a filter. + Writes a value. - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - + The value to write. - + - Returns a collection of custom attributes for this instance of a component. + Represents a value in JSON (string, integer, date, etc). - - An containing the attributes for this object. - - + - Returns the class name of this instance of a component. + Initializes a new instance of the class from another object. - - The class name of the object, or null if the class does not have a name. - + A object to copy from. - + - Returns the name of this instance of a component. + Initializes a new instance of the class with the given value. - - The name of the object, or null if the object does not have a name. - + The value. - + - Returns a type converter for this instance of a component. + Initializes a new instance of the class with the given value. - - A that is the converter for this object, or null if there is no for this object. - + The value. - + - Returns the default event for this instance of a component. + Initializes a new instance of the class with the given value. - - An that represents the default event for this object, or null if this object does not have events. - + The value. - + - Returns the default property for this instance of a component. + Initializes a new instance of the class with the given value. - - A that represents the default property for this object, or null if this object does not have properties. - + The value. - + - Returns an editor of the specified type for this instance of a component. + Initializes a new instance of the class with the given value. - 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. - + The value. - + - Returns the events for this instance of a component using the specified attribute array as a filter. + Initializes a new instance of the class with the given value. - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - + The value. - + - Returns the events for this instance of a component. + Initializes a new instance of the class with the given value. - - An that represents the events for this component instance. - + The value. - + - Returns an object that contains the property described by the specified property descriptor. + Initializes a new instance of the class with the given value. - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - + The value. - + - Returns the responsible for binding operations performed on this object. + Initializes a new instance of the class with the given value. - The expression tree representation of the runtime value. - - The to bind this object. - + The value. - + - Gets the container's children tokens. + Initializes a new instance of the class with the given value. - The container's children tokens. + The value. - + - Occurs when a property value changes. + Initializes a new instance of the class with the given value. + The value. - + - Occurs when a property value is changing. + Initializes a new instance of the class with the given value. + The value. - + - Gets the node type for this . + Initializes a new instance of the class with the given value. - The type. + The value. - + - Gets the with the specified key. + Initializes a new instance of the class with the given value. - The with the specified key. + The value. - + - Gets or sets the with the specified property name. + Gets a value indicating whether this token has child tokens. - + + true if this token has child values; otherwise, false. + - + - Represents a JSON array. + Creates a comment with the given value. - - - + The value. + A comment with the given value. - + - Initializes a new instance of the class. + Creates a string with the given value. + The value. + A string with the given value. - + - Initializes a new instance of the class from another object. + Creates a null value. - A object to copy from. + A null value. - + - Initializes a new instance of the class with the specified content. + Creates a undefined value. - The contents of the array. + A undefined value. - + - Initializes a new instance of the class with the specified content. + Gets the node type for this . - The contents of the array. + The type. - + - Loads an from a . + Gets or sets the underlying token value. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The underlying token value. - + - Load a from a string that contains JSON. + Writes this token to a . - A that contains JSON. - A populated from the string that contains JSON. - - - + A into which this method will write. + A collection of s which will be used when writing the token. - + - Creates a from an object. + Indicates whether the current object is equal to another object of the same type. - The object that will be used to create . - A with the values of the specified object + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. - + - Creates a from an object. + Determines whether the specified is equal to the current . - 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 + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Writes this token to a . + Serves as a hash function for a particular type. - A into which this method will write. - A collection of which will be used when writing the token. + + A hash code for the current . + - + - Determines the index of a specific item in the . + Returns a that represents this instance. - The object to locate in the . + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - The index of if found in the list; otherwise, -1. + A that represents this instance. - + - Inserts an item to the at the specified index. + Returns a that represents this instance. - 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. + The format. + + A that represents this instance. + - + - Removes the item at the specified index. + Returns a that represents this instance. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + The format provider. + + A that represents this instance. + - + - Returns an enumerator that iterates through the collection. + Returns a that represents this instance. + The format. + The format provider. - A that can be used to iterate through the collection. + A that represents this instance. - + - Adds an item to the . + 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. - The object to add to the . - The is read-only. + 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. + - + - Removes all items from the . + Specifies how line information is handled when loading JSON. - The is read-only. - + - Determines whether the contains a specific value. + Ignore line information. - The object to locate in the . - - true if is found in the ; otherwise, false. - - + - Copies to. + Load line information. - The array. - Index of the array. - + - Removes the first occurrence of a specific object from the . + Specifies how JSON arrays are merged together. - 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. - + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + - Gets the container's children tokens. + Specifies how null value properties are merged. - The container's children tokens. - + - Gets the node type for this . + The content's null value properties will be ignored during merging. - The type. - + - Gets the with the specified key. + The content's null value properties will be merged. - The with the specified key. - + - Gets or sets the at the specified index. + Specifies the member serialization options for the . - - + - Gets a value indicating whether the is read-only. + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. - true if the is read-only; otherwise, false. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . - + - Initializes a new instance of the class. + 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. - The token to read from. - + - Reads the next JSON token from the stream as a . + Specifies metadata property handling options for the . - - 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 . + Read metadata properties located at the start of a JSON object. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Do not try to read metadata properties. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Specifies missing member handling options for the . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Ignore a missing member and do not attempt to deserialize it. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream. + Throw a when a missing member is encountered during deserialization. - - 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 null value handling options for the . + + + + - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Include null values when serializing and deserializing objects. - + - Initializes a new instance of the class writing to the given . + Ignore null values when serializing and deserializing objects. - The container being written to. - + - Initializes a new instance of the class. + Specifies how object creation is handled by the . - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Reuse existing objects, create new objects when needed. - + - Closes this stream and the underlying stream. + Only reuse existing objects. - + - Writes the beginning of a Json object. + Always create new objects. - + - Writes the beginning of a Json array. + 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 . + + + - + - Writes the start of a constructor with the given name. + Do not preserve references when serializing types. - The name of the constructor. - + - Writes the end. + Preserve references when serializing into a JSON object structure. - The token. - + - Writes the property name of a name/value pair on a Json object. + Preserve references when serializing into a JSON array structure. - The name of the property. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Preserve references when serializing. - The value to write. - + - Writes a null value. + Specifies reference loop handling options for the . - + - Writes an undefined value. + Throw a when a loop is encountered. - + - Writes raw JSON. + Ignore loop references and do not serialize. - The raw JSON to write. - + - Writes out a comment /*...*/ containing the specified text. + Serialize loop references. - Text to place inside the comment. - + - Writes a value. + Indicating whether a property is required. - The value to write. - + - Writes a value. + The property is not required. The default state. - The value to write. - + - Writes a value. + The property must be defined in JSON but can be a null value. - The value to write. - + - Writes a value. + The property must be defined in JSON and cannot be a null value. - The value to write. - + - Writes a value. + The property is not required but it cannot be a null value. - The value to write. - + - Writes a value. + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. - + - Writes a value. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + - + - Writes a value. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + 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. + - + - Writes a value. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. - + - Writes a value. + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. + The source to test. + The schema to test with. + The validation event handler. - + - Writes a value. + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. - + - Writes a value. + Gets or sets the title. - The value to write. - + - Writes a value. + Gets or sets whether the object is required. - The value to write. - + - Writes a value. + Gets or sets whether the object is read-only. - The value to write. - + - Writes a value. + Gets or sets whether the object is visible to users. - The value to write. - + - Writes a value. + Gets or sets whether the object is transient. - The value to write. - + - Writes a value. + Gets or sets the description of the object. - The value to write. - + - Writes a value. + Gets or sets the types of values allowed by the object. - The value to write. + The type. - + - Writes a value. + Gets or sets the pattern. - The value to write. + The pattern. - + - Gets the token being writen. + Gets or sets the minimum length. - The token being writen. + The minimum length. - + - Represents a JSON property. + Gets or sets the maximum length. + The maximum length. - + - Initializes a new instance of the class from another object. + Gets or sets a number that the value should be divisible by. - A object to copy from. + A number that the value should be divisible by. - + - Initializes a new instance of the class. + Gets or sets the minimum. - The property name. - The property content. + The minimum. - + - Initializes a new instance of the class. + Gets or sets the maximum. - The property name. - The property content. + The maximum. - + - Writes this token to a . + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - A into which this method will write. - A collection of which will be used when writing the token. + A flag indicating whether the value can not equal the number defined by the minimum attribute (). - + - Loads an from a . + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A flag indicating whether the value can not equal the number defined by the maximum attribute (). - + - Gets the container's children tokens. + Gets or sets the minimum number of items. - The container's children tokens. + The minimum number of items. - + - Gets the property name. + Gets or sets the maximum number of items. - The property name. + The maximum number of items. - + - Gets or sets the property value. + Gets or sets the of items. - The property value. + The of items. - + - Gets the node type for this . + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - The type. + + true if items are validated using their array position; otherwise, false. + - + - Specifies the type of token. + Gets or sets the of additional items. + The of additional items. - + - No token type has been set. + Gets or sets a value indicating whether additional items are allowed. + + true if additional items are allowed; otherwise, false. + - + - A JSON object. + Gets or sets whether the array items must be unique. - + - A JSON array. + Gets or sets the of properties. + The of properties. - + - A JSON constructor. + Gets or sets the of additional properties. + The of additional properties. - + - A JSON object property. + Gets or sets the pattern properties. + The pattern properties. - + - A comment. + Gets or sets a value indicating whether additional properties are allowed. + + true if additional properties are allowed; otherwise, false. + - + - An integer value. + Gets or sets the required property if this property is present. + The required property if this property is present. - + - A float value. + Gets or sets the a collection of valid enum values allowed. + A collection of valid enum values allowed. - + - A string value. + Gets or sets disallowed types. + The disallowed types. - + - A boolean value. + Gets or sets the default value. + The default value. - + - A null value. + Gets or sets the collection of that this schema extends. + The collection of that this schema extends. - + - An undefined value. + Gets or sets the format. + The format. - + - A date value. + Initializes a new instance of the class. - + - A raw JSON value. + Reads a from the specified . + The containing the JSON Schema to read. + The object representing the JSON Schema. - + - A collection of bytes value. + 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. - + - A Guid value. + Load a from a string that contains JSON Schema. + A that contains JSON Schema. + A populated from the string that contains JSON Schema. - + - A Uri value. + 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. - + - A TimeSpan value. + Writes this schema to a . + A into which this method will write. - + - Contains the JSON schema extension methods. + Writes this schema to a using the specified . + A into which this method will write. + The resolver used. - + - Determines whether the is valid. + Returns a that represents the current . - The source to test. - The schema to test with. - true if the specified is valid; otherwise, false. + A that represents the current . - + - Determines whether the is valid. + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See https://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 . + Gets the line number indicating where the error occurred. - The source to test. - The schema to test with. + The line number indicating where the error occurred. - + - Validates the specified . + Gets the line position indicating where the error occurred. - The source to test. - The schema to test with. - The validation event handler. + The line position indicating where the error occurred. - + - Returns detailed information about the schema exception. + Gets the path to the JSON where the error occurred. + The path to the JSON where the error occurred. @@ -7003,39 +7126,76 @@ 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. + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - 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). - + - Gets the line number indicating where the error occurred. + Gets or sets how undefined schemas are handled by the serializer. - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Gets or sets the contract resolver. - The line position indicating where the error occurred. + The contract resolver. - + - Gets the path to the JSON where the error occurred. + Generate a from the specified type. - The path to the JSON where the error occurred. + 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 https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + The loaded schemas. @@ -7049,15 +7209,69 @@ The id. A for the specified reference. - + - Gets or sets the loaded schemas. + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://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. - The loaded schemas. + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -7077,7 +7291,12 @@ + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -7100,50 +7319,150 @@ + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - + - Resolves member mappings for a type, camel casing property names. + Allows users to control class loading and mandate what class to load. - + - Used by to resolves a for a given . + 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. - + - Used by to resolves a for a given . + 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. - + - Initializes a new instance of the class. + 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 IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - @@ -7184,10 +7503,10 @@ - Resolves the default for the contract. + Resolves the default for the contract. Type of the object. - The contract's default . + The contract's default . @@ -7217,20 +7536,6 @@ 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. @@ -7273,69 +7578,49 @@ Resolves the name of the property. Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - 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. - + Resolved name of the property. - + - Gets or sets the default members search flags. + Resolves the name of the extension data. By default no changes are made to extension data names. - The default members search flags. + Name of the extension data. + Resolved name of the extension data. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - true if serialized compiler generated members; otherwise, false. - + Key of the dictionary. + Resolved key of the dictionary. - + - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + Gets the resolved name of the property. - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - + Name of the property. + Name of the property. - + - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + The default naming strategy. Property names and dictionary keys are unchanged. - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - + - Initializes a new instance of the class. + Resolves the specified property name. + The property name to resolve. + The resolved property name. - + - Resolves the name of the property. + The default serialization binder used when resolving and loading classes from type names. - Name of the property. - The property name camel cased. - + - The default serialization binder used when resolving and loading classes from type names. + Initializes a new instance of the class. @@ -7353,8 +7638,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. @@ -7391,1041 +7676,1166 @@ true if handled; otherwise, false. - + - Contract details for a used by the . + Provides data for the Error event. - + - Initializes a new instance of the class. + Gets the current object the error event is being raised against. - The underlying type for the contract. + The current object the error event is being raised against. - + - Gets the of the collection items. + Gets the error context. - The of the collection items. + The error context. - + - Gets a value indicating whether the collection type is a multidimensional array. + Initializes a new instance of the class. - true if the collection type is a multidimensional array; otherwise, false. + The current object. + The error context. - + - Handles serialization callback events. + Get and set values for a using dynamic methods. - The object that raised the callback event. - The streaming context. - + - Handles serialization error callback events. + Initializes a new instance of the class. - The object that raised the callback event. - The streaming context. - The error context. + The member info. - + - Sets extension data for an object during deserialization. + Sets the value. - The object to set extension data on. - The extension data key. - The extension data value. + The target to set the value on. + The value to set on the target. - + - Gets extension data for an object during serialization. + Gets the value. - The object to set extension data on. + The target to get the value from. + The value. - + - Contract details for a used by the . + Provides methods to get attributes. - + - Initializes a new instance of the class. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The underlying type for the contract. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Gets or sets the property name resolver. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - The property name resolver. + 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. - + - Gets the of the dictionary keys. + Used by to resolve a for a given . - The of the dictionary keys. + + + + - + - Gets the of the dictionary values. + Resolves the contract for a given type. - The of the dictionary values. + The type to resolve a contract for. + The contract for a given type. - + - Maps a JSON property to a .NET member or constructor parameter. + 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. - + - Returns a that represents this instance. + Represents a trace writer. - - A that represents this instance. - - + - Gets or sets the name of the property. + 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 name of the property. + The that will be used to filter the trace messages passed to the writer. - + - Gets or sets the type that declared this property. + Writes the specified trace level, message and optional exception. - The type that declared this property. + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. - + - Gets or sets the order of serialization and deserialization of a member. + Provides methods to get and set values. - The numeric order of serialization or deserialization. - + - Gets or sets the name of the underlying member or parameter. + Sets the value. - The name of the underlying member or parameter. + The target to set the value on. + The value to set on the target. - + - Gets the that will get and set the during serialization. + Gets the value. - The that will get and set the during serialization. + The target to get the value from. + The value. - + - Gets or sets the type of the property. + Contract details for a used by the . - 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. + Gets the of the collection items. - The converter. + The of the collection items. - + - Gets or sets the member converter. + Gets a value indicating whether the collection type is a multidimensional array. - The member converter. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets a value indicating whether this is ignored. + Gets or sets the function used to create the object. When set this function will override . - true if ignored; otherwise, false. + The function used to create the object. - + - Gets or sets a value indicating whether this is readable. + Gets a value indicating whether the creator has a parameter with the collection values. - true if readable; otherwise, false. + true if the creator has a parameter with the collection values; otherwise, false. - + - Gets or sets a value indicating whether this is writable. + Initializes a new instance of the class. - true if writable; otherwise, false. + The underlying type for the contract. - + - Gets or sets a value indicating whether this has a member attribute. + Contract details for a used by the . - true if has a member attribute; otherwise, false. - + - Gets the default value. + Gets or sets the default collection items . - The default value. + The converter. - + - Gets or sets a value indicating whether this is required. + Gets or sets a value indicating whether the collection items preserve object references. - A value indicating whether this is required. + true if collection items preserve object references; otherwise, false. - + - Gets or sets a value indicating whether this property preserves object references. + Gets or sets the collection item reference loop handling. - - true if this instance is reference; otherwise, false. - + The reference loop handling. - + - Gets or sets the property null value handling. + Gets or sets the collection item type name handling. - The null value handling. + The type name handling. - + - Gets or sets the property default value handling. + Initializes a new instance of the class. - The default value handling. + The underlying type for the contract. - + - Gets or sets the property reference loop handling. + Handles serialization callback events. - The reference loop handling. + The object that raised the callback event. + The streaming context. - + - Gets or sets the property object creation handling. + Handles serialization error callback events. - The object creation handling. + The object that raised the callback event. + The streaming context. + The error context. - + - Gets or sets or sets the type name handling. + Sets extension data for an object during deserialization. - The type name handling. + The object to set extension data on. + The extension data key. + The extension data value. - + - Gets or sets a predicate used to determine whether the property should be serialize. + Gets extension data for an object during serialization. - A predicate used to determine whether the property should be serialize. + The object to set extension data on. - + - Gets or sets a predicate used to determine whether the property should be serialized. + Contract details for a used by the . - 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. + Gets the underlying type for the contract. - An action used to set whether the property has been deserialized. + The underlying type for the contract. - + - Gets or sets the converter used when serializing the property's collection items. + Gets or sets the type created during deserialization. - The collection's items converter. + The type created during deserialization. - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets or sets whether this type contract is serialized as a reference. - Whether this property's collection items are serialized as a reference. + Whether this type contract is serialized as a reference. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets or sets the default for this contract. - The collection's items type name handling. + The converter. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this converter. - The collection's items reference loop handling. - + - A collection of objects. + Gets or sets all methods called immediately after deserialization of the object. + The methods called immediately after deserialization of the object. - + - Initializes a new instance of the class. + Gets or sets all methods called during deserialization of the object. - The type. + The methods called during deserialization of the object. - + - When implemented in a derived class, extracts the key from the specified element. + Gets or sets all methods called after serialization of the object graph. - The element from which to extract the key. - The key for the specified element. + The methods called after serialization of the object graph. - + - Adds a object. + Gets or sets all methods called before serialization of the object. - The property to add to the collection. + The methods called before serialization of the object. - + - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. + Gets or sets all method called when an error is thrown during the serialization of the object. - Name of the property. - A matching property if found. + The methods called when an error is thrown during the serialization of the object. - + - Gets a property by property name. + Gets or sets the default creator method used to create the object. - The name of the property to get. - Type property name string comparison. - A matching property if found. + The default creator method used to create the object. - + - Specifies missing member handling options for the . + Gets or sets a value indicating whether the default creator is non-public. + true if the default object creator is non-public; otherwise, false. - + - Ignore a missing member and do not attempt to deserialize it. + Contract details for a used by the . - + - Throw a when a missing member is encountered during deserialization. + Gets or sets the dictionary key resolver. + The dictionary key resolver. - + - Specifies null value handling options for the . + Gets the of the dictionary keys. - - - - + The of the dictionary keys. - + - Include null values when serializing and deserializing objects. + Gets the of the dictionary values. + The of the dictionary values. - + - Ignore null values when serializing and deserializing objects. + Gets or sets the function used to create the object. When set this function will override . + The function used to create the object. - + - Specifies reference loop handling options for the . + 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. - + - Throw a when a loop is encountered. + Initializes a new instance of the class. + The underlying type for the contract. - + - Ignore loop references and do not serialize. + Contract details for a used by the . - + - Serialize loop references. + Initializes a new instance of the class. + The underlying type for the contract. - + - An in-memory representation of a JSON Schema. + Contract details for a used by the . - + - Initializes a new instance of the class. + Gets or sets the object member serialization. + The member object serialization. - + - Reads a from the specified . + Gets or sets the missing member handling used when deserializing this object. - The containing the JSON Schema to read. - The object representing the JSON Schema. + The missing member handling. - + - Reads a from the specified . + Gets or sets a value that indicates whether the object's properties are required. - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. + + A value indicating whether the object's properties are required. + - + - Load a from a string that contains schema JSON. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - A that contains JSON. - A populated from the string that contains JSON. + How the object's properties with null values are handled during serialization and deserialization. - + - Parses the specified json. + Gets the object's properties. - The json. - The resolver. - A populated from the string that contains JSON. + The object's properties. - + - Writes this schema to a . + Gets a collection of instances that define the parameters used with . - A into which this method will write. - + - Writes this schema to a using the specified . + 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. - A into which this method will write. - The resolver used. + The function used to create the object. - + - Returns a that represents the current . + Gets or sets the extension data setter. - - A that represents the current . - - + - Gets or sets the id. + Gets or sets the extension data getter. - + - Gets or sets the title. + Gets or sets the extension data value type. - + - Gets or sets whether the object is required. + Gets or sets the extension data name resolver. + The extension data name resolver. - + - Gets or sets whether the object is read only. + Initializes a new instance of the class. + The underlying type for the contract. - + - Gets or sets whether the object is visible to users. + Contract details for a used by the . - + - Gets or sets whether the object is transient. + Initializes a new instance of the class. + The underlying type for the contract. - + - Gets or sets the description of the object. + Maps a JSON property to a .NET member or constructor parameter. - + - Gets or sets the types of values allowed by the object. + Gets or sets the name of the property. - The type. + The name of the property. - + - Gets or sets the pattern. + Gets or sets the type that declared this property. - The pattern. + The type that declared this property. - + - Gets or sets the minimum length. + Gets or sets the order of serialization of a member. - The minimum length. + The numeric order of serialization. - + - Gets or sets the maximum length. + Gets or sets the name of the underlying member or parameter. - The maximum length. + The name of the underlying member or parameter. - + - Gets or sets a number that the value should be divisble by. + Gets the that will get and set the during serialization. - A number that the value should be divisble by. + The that will get and set the during serialization. - + - Gets or sets the minimum. + Gets or sets the for this property. - The minimum. + The for this property. - + - Gets or sets the maximum. + Gets or sets the type of the property. - The maximum. + The type of the property. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. + The converter. - + - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. + Gets or sets the member converter. - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. + The member converter. - + - Gets or sets the minimum number of items. + Gets or sets a value indicating whether this is ignored. - The minimum number of items. + true if ignored; otherwise, false. - + - Gets or sets the maximum number of items. + Gets or sets a value indicating whether this is readable. - The maximum number of items. + true if readable; otherwise, false. - + - Gets or sets the of items. + Gets or sets a value indicating whether this is writable. - The of items. + true if writable; otherwise, false. - + - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + Gets or sets a value indicating whether this has a member attribute. - - true if items are validated using their array position; otherwise, false. - + true if has a member attribute; otherwise, false. - + - Gets or sets the of additional items. + Gets the default value. - The of additional items. + The default value. - + - Gets or sets a value indicating whether additional items are allowed. + Gets or sets a value indicating whether this is required. - - true if additional items are allowed; otherwise, false. - + A value indicating whether this is required. - + - Gets or sets whether the array items must be unique. + Gets a value indicating whether has a value specified. - + - Gets or sets the of properties. + Gets or sets a value indicating whether this property preserves object references. - The of properties. + + true if this instance is reference; otherwise, false. + - + - Gets or sets the of additional properties. + Gets or sets the property null value handling. - The of additional properties. + The null value handling. - + - Gets or sets the pattern properties. + Gets or sets the property default value handling. - The pattern properties. + The default value handling. - + - Gets or sets a value indicating whether additional properties are allowed. + Gets or sets the property reference loop handling. - - true if additional properties are allowed; otherwise, false. - + The reference loop handling. - + - Gets or sets the required property if this property is present. + Gets or sets the property object creation handling. - The required property if this property is present. + The object creation handling. - + - Gets or sets the a collection of valid enum values allowed. + Gets or sets or sets the type name handling. - A collection of valid enum values allowed. + The type name handling. - + - Gets or sets disallowed types. + Gets or sets a predicate used to determine whether the property should be serialized. - The disallow types. + A predicate used to determine whether the property should be serialized. - + - Gets or sets the default value. + Gets or sets a predicate used to determine whether the property should be deserialized. - The default value. + A predicate used to determine whether the property should be deserialized. - + - Gets or sets the collection of that this schema extends. + Gets or sets a predicate used to determine whether the property should be serialized. - The collection of that this schema extends. + A predicate used to determine whether the property should be serialized. - + - Gets or sets the format. + Gets or sets an action used to set whether the property has been deserialized. - The format. + An action used to set whether the property has been deserialized. - + - Generates a from a specified . + Returns a that represents this instance. + + A that represents this instance. + - + - Generate a from the specified type. + Gets or sets the converter used when serializing the property's collection items. - The type to generate a from. - A generated from the specified type. + The collection's items converter. - + - Generate a from the specified type. + Gets or sets whether this property's collection items are serialized as a reference. - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. + Whether this property's collection items are serialized as a reference. - + - Generate a from the specified type. + Gets or sets the type name handling used when serializing the property's collection items. - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. + The collection's items type name handling. - + - Generate a from the specified type. + Gets or sets the reference loop handling used when serializing the property's collection items. - 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 collection's items reference loop handling. - + - Gets or sets how undefined schemas are handled by the serializer. + A collection of objects. - + - Gets or sets the contract resolver. + Initializes a new instance of the class. - The contract resolver. + The type. - + - The value types allowed by the . + 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. - + - No type specified. + Adds a object. + The property to add to the collection. - + - String type. + 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. - + - Float type. + Gets a property by property name. + The name of the property to get. + Type property name string comparison. + A matching property if found. - + - Integer type. + Contract details for a used by the . - + - Boolean type. + Initializes a new instance of the class. + The underlying type for the contract. - + - Object type. + 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. - + - Array type. + A kebab case naming strategy. - + - Null type. + 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 . + - + - Any type. + 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. + - + - Contract details for a used by the . + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Resolves the specified property name. - The underlying type for the contract. + The property name to resolve. + The resolved property name. - + - Gets or sets the object member serialization. + 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. - The member object serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + 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. - A value indicating whether the object's properties are required. + The that will be used to filter the trace messages passed to the writer. - + - Gets the object's properties. + Initializes a new instance of the class. - The object's properties. - + - Gets the constructor parameters required for any non-default constructor + 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. - + - Gets a collection of instances that define the parameters used with . + Returns an enumeration of the most recent trace messages. + An enumeration of the most recent trace messages. - + - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. + Returns a of the most recent trace messages. - The override constructor. + + A of the most recent trace messages. + - + - Gets or sets the parametrized constructor used to create the object. + A base class for resolving how property names and dictionary keys are serialized. - 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. + A flag indicating whether dictionary keys should be processed. + Defaults to false. - The function used to create the object. - + - Gets or sets the extension data setter. + A flag indicating whether extension data names should be processed. + Defaults to false. - + - Gets or sets the extension data getter. + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. - + - Contract details for a used by the . + 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. - + - Initializes a new instance of the class. + Gets the serialized name for a given extension data name. - The underlying type for the contract. + The initial extension data name. + The serialized extension data name. - + - Get and set values for a using reflection. + Gets the serialized key for a given dictionary key. + The initial dictionary key. + The serialized dictionary key. - + - Initializes a new instance of the class. + Resolves the specified property name. - The member info. + The property name to resolve. + The resolved property name. - + - Sets the value. + Hash code calculation - The target to set the value on. - The value to set on the target. + - + - Gets the value. + Object equality implementation - 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. + Compare to another NamingStrategy + + - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result + Represents a method that constructs an object. + The object type to create. - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. + When applied to a method, specifies that the method is called when an error occurs serializing an object. - + - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. + Provides methods to get attributes from a , , or . - + - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type + Initializes a new instance of the class. + The instance to get attributes for. This parameter should be a , , or . - + - Represents a method that constructs an object. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The object type to create. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - Specifies type name handling options for the . + 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. - + - Do not include the .NET type name when serializing types. + Get and set values for a using reflection. - + - Include the .NET type name when serializing into a JSON object structure. + Initializes a new instance of the class. + The member info. - + - Include the .NET type name when serializing into a JSON array structure. + Sets the value. + The target to set the value on. + The value to set on the target. - + - Always include the .NET type name when serializing. + Gets the value. + The target to get the value from. + The value. - + - Include the .NET type name when the type of the object being serialized is not the same as its declared type. + A snake case naming strategy. - + - 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. + Initializes a new instance of the class. - 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. - + + 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 . + - + - Gets a dictionary of the names and values of an Enum type. + 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. + - + - Gets a dictionary of the names and values of an Enum type. + Initializes a new instance of the class. - The enum type to get names and values for. - - + - Specifies the type of Json token. + Resolves the specified property name. + The property name to resolve. + The resolved property name. - + - This is returned by the if a method has not been called. + Specifies how strings are escaped when writing JSON text. - + - An object start token. + Only control characters (e.g. newline) are escaped. - + - An array start token. + All non-ASCII and control characters (e.g. newline) are escaped. - + - A constructor start token. + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - + - An object property name. + Specifies what messages to output for the class. - + - A comment. + Output no tracing and debugging messages. - + - Raw JSON. + Output error-handling messages. - + - An integer. + Output warnings and error-handling messages. - + - A float. + Output informational messages, warnings, and error-handling messages. - + - A string. + Output all debugging and tracing messages. - + - A boolean. + Indicates the method that will be used during deserialization for locating and loading assemblies. - + - A null token. + 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. - + - An undefined token. + 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. - + - An object end token. + 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 . + - + - An array end token. + Do not include the .NET type name when serializing types. - + - A constructor end token. + Include the .NET type name when serializing into a JSON object structure. - + - A Date. + Include the .NET type name when serializing into a JSON array structure. - + - Byte data. + Always include the .NET type name when serializing. - + - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. + 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. - + + + 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. + + + - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. @@ -8441,15 +8851,6 @@ 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. @@ -8496,22 +8897,20 @@ 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. + 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -8521,12 +8920,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. @@ -8536,7 +8935,7 @@ - A array is being written. + An array is being written. @@ -8551,8 +8950,61 @@ - A write method has not been called. + 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll new file mode 100644 index 0000000..aa8843c Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml similarity index 57% rename from packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.xml rename to packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml index 68d7166..4d19d19 100644 --- a/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.xml +++ b/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml @@ -9,3759 +9,5644 @@ Represents a BSON Oid (object id). - - - Initializes a new instance of the class. - - The Oid value. - Gets or sets the value of the Oid. The value of the Oid. - + - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. + 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. - + - Initializes a new instance of the class with the specified . + 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. + - + - Reads the next JSON token from the stream. + Gets or sets a value indicating whether the root object will be read as a JSON array. - true if the next token was read successfully; false if there are no more tokens to read. + + true if the root object will be read as a JSON array; otherwise, false. + - + - Reads the next JSON token from the stream as a . + Gets or sets the used when reading values from BSON. - A . This method will return null at the end of an array. + The used when reading values from BSON. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A or a null reference if the next JSON token is null. This method will return null at the end of an array. + The containing the BSON data to read. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + 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 as a . + Reads the next JSON token from the underlying . - A . This method will return null at the end of an array. + + true if the next token was read successfully; false if there are no more tokens to read. + - + - Skips the children of the current token. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Sets the current token. + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - The new token. - + - Sets the current token and value. + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. - The new token. - The value. + The used when writing values to BSON. - + - Sets the state based on current token type. + Initializes a new instance of the class. + The to write to. - + - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + Initializes a new instance of the class. + The to write to. - + - Releases unmanaged and - optionally - managed resources + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Changes the to Closed. + Writes the end. + The token. - + - Gets the current reader state. + Writes a comment /*...*/ containing the specified text. - The current reader state. + Text to place inside the comment. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. + Writes the start of a constructor with the given name. - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - + The name of the constructor. - + - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. + Writes raw JSON. - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - + The raw JSON to write. - + - Gets the quotation mark character used to enclose the value of a string. + Writes raw JSON where a value is expected and updates the writer's state. + The raw JSON to write. - + - Get or set how time zones are handling when reading JSON. + Writes the beginning of a JSON array. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + Writes the beginning of a JSON object. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Writes the property name of a name/value pair on a JSON object. + The name of the property. - + - Get or set how custom date formatted strings are parsed when reading JSON. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + The value to write. - + - Gets the type of the current JSON token. + Writes a null value. - + - Gets the text value of the current JSON token. + Writes an undefined value. - + - Gets The Common Language Runtime (CLR) type for the current JSON token. + Writes a value. + The value to write. - + - Gets the depth of the current token in the JSON document. + Writes a value. - The depth of the current token in the JSON document. + The value to write. - + - Gets the path of the current JSON token. + Writes a value. + The value to write. - + - Gets or sets the culture used when reading JSON. Defaults to . + Writes a value. + The value to write. - + - Specifies the state of the reader. + Writes a value. + The value to write. - + - The Read method has not been called. + Writes a value. + The value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Reader is at a property. + Writes a value. + The value to write. - + - Reader is at the start of an object. + Writes a value. + The value to write. - + - Reader is in an object. + Writes a value. + The value to write. - + - Reader is at the start of an array. + Writes a value. + The value to write. - + - Reader is in an array. + Writes a value. + The value to write. - + - The Close method has been called. + Writes a value. + The value to write. - + - Reader has just read a value. + Writes a value. + The value to write. - + - Reader is at the start of a constructor. + Writes a value. + The value to write. - + - Reader in a constructor. + Writes a value. + The value to write. - + - An error occurred that prevents the read operation from continuing. + Writes a [] value. + The [] value to write. - + - The end of the file has been reached successfully. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The stream. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - The reader. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value that represents a BSON object id. - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The Object ID value to write. - + - Initializes a new instance of the class. + Writes a BSON regex. - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. + The regex pattern. + The regex options. - + - Reads the next JSON token from the stream as a . + Specifies how constructors are used when initializing objects during deserialization by the . - - 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 . + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Converts a binary value to and from a base 64 string value. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Writes the JSON representation of the object. - A . This method will return null at the end of an array. + The to write to. + The value. + The calling serializer. - + - Reads the next JSON token from the stream as a . + Reads the JSON representation of the object. - - A . This method will return null at the end of an array. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Reads the next JSON token from the stream. + Determines whether this instance can convert the specified object type. + Type of the object. - true if the next token was read successfully; false if there are no more tokens to read. + true if this instance can convert the specified object type; otherwise, false. - + - Changes the to Closed. + Converts a to and from JSON and BSON. - + - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. + Writes the JSON representation of the object. - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - + The to write to. + The value. + The calling serializer. - + - Gets or sets a value indicating whether the root object will be read as a JSON array. + Reads the JSON representation of the object. - - true if the root object will be read as a JSON array; otherwise, false. - + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Gets or sets the used when reading values from BSON. + Determines whether this instance can convert the specified object type. - The used when reading values from BSON. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + Creates a custom object. + The object type to convert. - + - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Creates an instance of the JsonWriter class. + 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. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Creates an object which will then be populated by the serializer. + Type of the object. + The created object. - + - Closes this stream and the underlying stream. + 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. + - + - Writes the beginning of a Json object. + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + - + - Writes the end of a Json object. + Provides a base class for converting a to and from JSON. - + - Writes the beginning of a Json array. + 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. + - + - Writes the end of an array. + Converts a F# discriminated union type to and from JSON. - + - Writes the start of a constructor with the given name. + Writes the JSON representation of the object. - The name of the constructor. + The to write to. + The value. + The calling serializer. - + - Writes the end constructor. + 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. - + - Writes the property name of a name/value pair on a JSON object. + Determines whether this instance can convert the specified object type. - The name of the property. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the property name of a name/value pair on a JSON object. + Converts an to and from JSON. - 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 JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes the current token and its children. + Reads the JSON representation of the object. - The to read the token from. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes the current token. + Determines whether this instance can convert the specified object type. - The to read the token from. - A flag indicating whether the current token's children should be written. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes the specified end token. + Gets a value indicating whether this can write JSON. - The end token to write. + + true if this can write JSON; otherwise, false. + - + - Writes indent characters. + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - + - Writes the JSON value delimiter. + 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. - + - Writes an indent space. + 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. - + - Writes a null value. + 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 an undefined value. + Writes the JSON representation of the object. + The to write to. + The value. + The calling serializer. - + - Writes raw JSON without changing the writer's state. + Reads the JSON representation of the object. - The raw JSON to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes raw JSON where a value is expected and updates the writer's state. + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - The raw JSON to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from JSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from JSON and BSON. - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. - - - - Writes a value. - - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts an to and from its name string value. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Gets or sets the naming strategy used to resolve how enum text is written. - The value to write. + The naming strategy used to resolve how enum text is written. - + - Writes a value. + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. - The value to write. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + true if the written enum text will be camel case; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + - + - Writes a value. + Initializes a new instance of the class. - The value to write. + The of the used to write enum text. + + 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. + + true if integers are allowed when serializing and deserializing; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts a to and from Unix epoch time - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Converts a to and from a string (e.g. "1.2.3.4"). - The value to write. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The value. + The calling serializer. - + - Writes a value. + Reads the JSON representation of the object. - The value to write. + 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. - + - Writes a value. + Determines whether this instance can convert the specified object type. - The value to write. + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + - + - Writes a value. + Converts XML to and from JSON. - The value to write. - + - Writes a value. + 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 value to write. + The name of the deserialized root element. - + - Writes a value. + Gets or sets a value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. - The value to write. + true if the array attribute is written to the XML; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to write the root JSON object. - The value to write. + true if the JSON root object is omitted; otherwise, false. - + - Writes a value. + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. - The value to write. + true if special characters are encoded; otherwise, false. - + - Writes a value. + Writes the JSON representation of the object. - The value to write. + The to write to. + The calling serializer. + The value. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + Reads the JSON representation of the object. - The value to write. + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. - + - Writes out a comment /*...*/ containing the specified text. + Checks if the is a namespace attribute. - Text to place inside the comment. + 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. - + - Writes out the given white space. + Determines whether this instance can convert the specified value type. - The string of white space characters. + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + - + - Sets the state of the JsonWriter, + Specifies how dates are formatted when writing JSON text. - The JsonToken being written. - The value being written. - + - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - + - Gets the top. + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - The top. - + - Gets the state of the writer. + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - + - Gets the path of the writer. + Date formatted strings are not parsed to a date type and are read as strings. - + - Indicates how JSON text output is formatted. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how dates are written to JSON text. + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - + - Get or set how time zones are handling when writing JSON text. + Specifies how to treat the time value when converting between string and . - + - Get or set how strings are escaped when writing JSON text. + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - + - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. + Treat as a UTC. If the object represents a local time, it is converted to a UTC. - + - Get or set how and values are formatting when writing JSON text. + 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. - + - Gets or sets the culture used when writing JSON. Defaults to . + Time zone information should be preserved when converting. - + - Initializes a new instance of the class. + The default JSON name table implementation. - The stream. - + - Initializes a new instance of the class. + 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. + Gets a string containing the same characters as the specified range of characters in the given array. + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. - + - Writes the end. + Adds the specified string into name table. - The token. + The string to add. + This method is not thread-safe. + The resolved string. - + - Writes out a comment /*...*/ containing the specified text. + Specifies default value handling options for the . - Text to place inside the comment. + + + + - + - Writes the start of a constructor with the given name. + 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. - The name of the constructor. - + - Writes raw JSON. + 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. - The raw JSON to write. - + - Writes raw JSON where a value is expected and updates the writer's state. + Members with a default value but no JSON will be set to their default value when deserializing. - The raw JSON to write. - + - Writes the beginning of a Json array. + 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. - + - Writes the beginning of a Json object. + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . - + - Writes the property name of a name/value pair on a Json object. + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - The name of the property. - + - Closes this stream and the underlying stream. + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. - + - Writes a value. - An error will raised if the value cannot be written as a single JSON token. + 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. - The value to write. - + - Writes a null value. + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - + - Writes an undefined value. + Floating point numbers are parsed to . - + - Writes a value. + Floating point numbers are parsed to . - The value to write. - + - Writes a value. + Specifies formatting options for the . - The value to write. - + - Writes a value. + No special formatting is applied. This is the default. - The value to write. - + - Writes a value. + Causes child objects to be indented according to the and settings. - The value to write. - + - Writes a value. + Provides an interface for using pooled arrays. - The value to write. + The array type content. - + - Writes a value. + Rent an array from the pool. This array must be returned when it is no longer needed. - The value to write. + 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. - + - Writes a value. + Return an array to the pool. - The value to write. + The array that is being returned. - + - Writes a value. + Provides an interface to enable a class to return line and position information. - The value to write. - + - Writes a value. + Gets a value indicating whether the class can return line information. - The value to write. + + true if and can be provided; otherwise, false. + - + - Writes a value. + Gets the current line number. - The value to write. + The current line number or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Gets the current line position. - The value to write. + The current line position or 0 if no line information is available (for example, when returns false). - + - Writes a value. + Instructs the how to serialize the collection. - The value to write. - + - Writes a value. + Gets or sets a value indicating whether null items are allowed in the collection. - The value to write. + true if null items are allowed in the collection; otherwise, false. - + - Writes a value. + Initializes a new instance of the class. - The value to write. - + - Writes a value. + Initializes a new instance of the class with a flag indicating whether the array can contain null items. - The value to write. + A flag indicating whether the array can contain null items. - + - Writes a value. + Initializes a new instance of the class with the specified container Id. - The value to write. + The container Id. - + - Writes a value. + Instructs the to use the specified constructor when deserializing that object. - The value to write. - + - Writes a value. + Instructs the how to serialize the object. - The value to write. - + - Writes a value. + Gets or sets the id. - The value to write. + The id. - + - Writes a value. + Gets or sets the title. - The value to write. + The title. - + - Writes a value that represents a BSON object id. + Gets or sets the description. - The Object ID value to write. + The description. - + - Writes a BSON regex. + Gets or sets the collection's items converter. - The regex pattern. - The regex options. + The collection's items converter. - + - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. + 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. - The used when writing values to BSON. + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + - + - Specifies how constructors are used when initializing objects during deserialization by the . + Gets or sets the of the . + The of the . - + - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. + 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" })] + + - + - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. + Gets or sets a value that indicates whether to preserve object references. + + true to keep object reference; otherwise, false. The default is false. + - + - Converts a to and from JSON and BSON. + 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. + - + - Converts an object to and from JSON. + Gets or sets the reference loop handling used when serializing the collection's items. + The reference loop handling. - + - Writes the JSON representation of the object. + Gets or sets the type name handling used when serializing the collection's items. - The to write to. - The value. - The calling serializer. + The type name handling. - + - Reads the JSON representation of the object. + Initializes a new instance of the class. - 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. + Initializes a new instance of the class with the specified container Id. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The container Id. - + - Gets the of the JSON produced by the JsonConverter. + Provides methods for converting between .NET types and JSON types. - The of the JSON produced by the JsonConverter. + + + - + - Gets a value indicating whether this can read JSON. + 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 + . - true if this can read JSON; otherwise, false. - + - Gets a value indicating whether this can write JSON. + Represents JavaScript's boolean value true as a string. This field is read-only. - true if this can write JSON; otherwise, false. - + - Writes the JSON representation of the object. + Represents JavaScript's boolean value false as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's null as a string. This field is read-only. - 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. + Represents JavaScript's undefined as a string. This field is read-only. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - + - Create a custom object + Represents JavaScript's positive infinity as a string. This field is read-only. - The object type to convert. - + - Writes the JSON representation of the object. + Represents JavaScript's negative infinity as a string. This field is read-only. - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Represents JavaScript's NaN as a string. This field is read-only. - 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. + Converts the to its JSON string representation. - Type of the object. - The created object. + The value to convert. + A JSON string representation of the . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation using the specified. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + 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 . - + - Gets a value indicating whether this can write JSON. + Converts the to its JSON string representation. - - true if this can write JSON; otherwise, false. - + The value to convert. + A JSON string representation of the . - + - Provides a base class for converting a to and from JSON. + 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 . - + - Determines whether this instance can convert the specified object type. + Converts the to its JSON string representation. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + 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 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 value 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 . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + 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. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + 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. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + 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. + + + + + 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. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + 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 type used when serializing the property's collection items. + + The collection's items type. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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 asynchronicity. + + + + 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. + + + + + 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. + + + + 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. - + - Converts an ExpandoObject to and from JSON. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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 . + - + - Writes the JSON representation of the object. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The to write to. - The value. - The calling serializer. + The type name assembly format. - + - Reads the JSON representation of the object. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type name assembly format. - + - Determines whether this instance can convert the specified object type. + Gets or sets how object references are preserved by the serializer. + The default value is . - 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. + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + 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 default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + 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. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. - true if this can write JSON; otherwise, false. + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). + Initializes a new instance of the class. - + - Writes the JSON representation of the object. + Creates a new instance. + The will not use default settings + from . - The to write to. - The value. - The calling serializer. + + A new instance. + The will not use default settings + from . + - + - Reads the JSON representation of the object. + Creates a new instance using the specified . + The will not use default settings + from . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + - + - Gets or sets the date time styles used when converting a date to and from JSON. + Creates a new instance. + The will use default settings + from . - The date time styles used when converting a date to and from JSON. + + A new instance. + The will use default settings + from . + - + - Gets or sets the date time format used when converting a date to and from JSON. + Creates a new instance using the specified . + The will use default settings + from as well as the specified . - The date time format used when converting a date to and from JSON. + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + - + - Gets or sets the culture used when converting a date to and from JSON. + Populates the JSON values onto the target object. - The culture used when converting a date to and from JSON. + The that contains the JSON structure to read values from. + The target object to populate values onto. - + - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). + Populates the JSON values onto the target object. + The that contains the JSON structure to read 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. + The default value is . + + Reference loop handling. + + - Writes the JSON representation of the object. + 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 default value is . - The to write to. - The value. - The calling serializer. + Missing member handling. - + - Reads the JSON representation of the object. + Gets or sets how objects are created during deserialization. + The default value is . - 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. + The object creation handling. - + - Converts a to and from JSON. + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + Null value handling. - + - Writes the JSON representation of the object. + Gets or sets how default values are handled during serialization and deserialization. + The default value is . - The to write to. - The value. - The calling serializer. + The default value handling. - + - Reads the JSON representation of the object. + Gets or sets a collection that will be used during serialization. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The converters. - + - Determines whether this instance can convert the specified object type. + Gets or sets how object references are preserved by the serializer. + The default value is . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The preserve references handling. - + - Converts a to and from JSON. + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + 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. - + - Writes the JSON representation of the object. + Gets or sets how metadata properties are used during deserialization. + The default value is . - The to write to. - The value. - The calling serializer. + The metadata properties handling. - + - Reads the JSON representation of the object. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The type name assembly format. - + - Determines whether this instance can convert the specified object type. + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The type name assembly format. - + - Converts a to and from JSON and BSON. + Gets or sets how constructors are used during deserialization. + The default value is . + The constructor handling. - + - Writes the JSON representation of the object. + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. - The to write to. - The value. - The calling serializer. + The contract resolver. - + - Reads the JSON representation of the object. + Gets or sets the equality comparer used by the serializer when comparing references. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The equality comparer. - + - Determines whether this instance can convert the specified object type. + Gets or sets the used by the serializer when resolving references. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The reference resolver. - + - Converts an to and from its name string value. + 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. - + - Initializes a new instance of the class. + Gets or sets the used by the serializer when writing trace messages. + The trace writer. - + - Writes the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - The to write to. - The value. - The calling serializer. + The binder. - + - Reads the JSON representation of the object. + Gets or sets the used by the serializer when resolving type names. - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. + The binder. - + - Determines whether this instance can convert the specified object type. + Gets or sets the error handler called during serialization and deserialization. - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - + The error handler called during serialization and deserialization. - + - Gets or sets a value indicating whether the written enum text should be camel case. + Gets or sets the used by the serializer when invoking serialization callback methods. - true if the written enum text will be camel case; otherwise, false. + The context. - + - Gets or sets a value indicating whether integer values are allowed. + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - true if integers are allowed; otherwise, false. - + - Converts a to and from a string (e.g. "1.2.3.4"). + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. - + - Writes the JSON representation of the object. + Indicates how JSON text output is formatted. + The default value is . - The to write to. - The value. - The calling serializer. - + - Reads the JSON representation of the object. + Gets or sets how dates are written to JSON text. + The default value is . - 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. + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . - 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 how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . - + - Writes the JSON representation of the object. + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . - The to write to. - The calling serializer. - The value. - + - Reads the JSON representation of the object. + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . - 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. + Gets or sets how strings are escaped when writing JSON text. + The default value is . - 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. + Gets or sets the culture used when reading JSON. + The default value is . - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - + - 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 a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. - The name of the deserialize root element. + + true if there will be a check for additional content after deserializing an object; otherwise, false. + - + - 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. + Initializes a new instance of the class. - 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. + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - true if the JSON root object is omitted; otherwise, false. - + - Specifies how dates are formatted when writing JSON text. + 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. - + - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + 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. - + - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + 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. - + - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + 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. - + - Date formatted strings are not parsed to a date type and are read as strings. + 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. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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. - + - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + 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. - + - Specifies how to treat the time value when converting between string and . + 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. - + - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + 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. - + - Treat as a UTC. If the object represents a local time, it is converted to a UTC. + Initializes a new instance of the class with the specified . + The containing the JSON data to read. - + - 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. + Gets or sets the reader's property name table. - + - Time zone information should be preserved when converting. + Gets or sets the reader's character buffer pool. - + - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . + 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. + - + - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. + Reads the next JSON token from the underlying as a . + A . This method will return null at the end of an array. - + - Specifies default value handling options for the . + 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. - + - 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Members with a default value but no JSON will be set to their default value when deserializing. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - 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. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Changes the reader's state to . + If is set to true, the underlying is also closed. - + - Floating point numbers are parsed to . + Gets a value indicating whether the class can return line information. + + true if and can be provided; otherwise, false. + - + - Floating point numbers are parsed to . + Gets the current line number. + + The current line number or 0 if no line information is available (for example, returns false). + - + - Indicates the method that will be used during deserialization for locating and loading assemblies. + Gets the current line position. + + The current line position or 0 if no line information is available (for example, returns false). + - + - 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. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - + - 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. + 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. - + - Specifies formatting options for the . + 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. - + - No special formatting is applied. This is the default. + 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. - + - Causes child objects to be indented according to the and settings. + 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. - + - Provides an interface to enable a class to return line and position information. + 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. - + - Gets a value indicating whether the class can return line information. + Asynchronously writes indent characters. - - true if LineNumber and LinePosition can be provided; otherwise, false. - + 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 the current line number. + Asynchronously writes an indent space. - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). + 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 the current line position. + Asynchronously writes raw JSON without changing the writer's state. - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). + 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. - + - Instructs the how to serialize the collection. + 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. - + - Instructs the how to serialize the object. + 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. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class with the specified container Id. + Asynchronously writes the beginning of a JSON array. - The container Id. + 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 id. + Asynchronously writes the beginning of a JSON object. - The id. + 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 title. + Asynchronously writes the start of a constructor with the given name. - The title. + 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. - + - Gets or sets the description. + Asynchronously writes an undefined value. - The description. + 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 the collection's items converter. + Asynchronously writes the given white space. - The collection's items converter. + 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. - + - Gets or sets a value that indicates whether to preserve object references. + Asynchronously writes a of value. - - true to keep object reference; otherwise, false. The default is false. - + 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. - + - Gets or sets a value that indicates whether to preserve collection's items references. + Asynchronously writes a value. - - true to keep collection's items object references; otherwise, false. The default is false. - + 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. - + - Gets or sets the reference loop handling used when serializing the collection's items. + Asynchronously writes a value. - The reference loop handling. + 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. - + - Gets or sets the type name handling used when serializing the collection's items. + Asynchronously writes a of value. - The type name handling. + 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. - + - Initializes a new instance of the class. + 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. - + - Initializes a new instance of the class with a flag indicating whether the array can contain null items + Asynchronously writes a value. - A flag indicating whether the array can contain null items. + 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. - + - Initializes a new instance of the class with the specified container Id. + Asynchronously writes a of value. - The container Id. + 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. - + - Gets or sets a value indicating whether null items are allowed in the collection. + Asynchronously writes a value. - true if null items are allowed in the collection; otherwise, false. + 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. - + - Instructs the to use the specified constructor when deserializing that object. + 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. - + - Provides methods for converting between common language runtime types and JSON types. + 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. - + - Represents JavaScript's boolean value true as a string. This field is read-only. + 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. - + - Represents JavaScript's boolean value false as a string. This field is read-only. + 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. - + - Represents JavaScript's null as a string. This field is read-only. + 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. - + - Represents JavaScript's undefined as a string. This field is read-only. + 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. - + - Represents JavaScript's positive infinity as a string. This field is read-only. + 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. - + - Represents JavaScript's negative infinity as a string. This field is read-only. + 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. - + - Represents JavaScript's NaN as a string. This field is read-only. + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation using the specified. + Asynchronously writes a of value. - 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 . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation using the specified. + Asynchronously writes a of value. - The value to convert. - The format the date will be converted to. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a of value. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes a comment /*...*/ containing the specified text. - The value to convert. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes the end of an array. - The value to convert. - The string delimiter character. - A JSON string representation of the . + 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. - + - Converts the to its JSON string representation. + Asynchronously writes the end of a constructor. - The value to convert. - A JSON string representation of the . + 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. - + - Serializes the specified object to a JSON string. + Asynchronously writes the end of a JSON object. - The object to serialize. - A JSON string representation of the 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. - + - Serializes the specified object to a JSON string using formatting. + Asynchronously writes raw JSON where a value is expected and updates the writer's state. - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - + 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. - + - Serializes the specified object to a JSON string using a collection of . + Gets or sets the writer's character array pool. - The object to serialize. - A collection 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 . + Gets or sets how many s to write for each level in the hierarchy when is set to . - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - + - Serializes the specified object to a JSON string using . + Gets or sets which character to use to quote attribute values. - 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 . + Gets or sets which character to use for indenting when is set to . - 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 Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - + - Serializes the specified object to a JSON string using formatting and . + Gets or sets a value indicating whether object names will be surrounded with quotes. - 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 JSON string representation of the object. - - + - Serializes the specified object to a JSON string using a type, formatting and . + Initializes a new instance of the class using the specified . - 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. - - 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. - - - A JSON string representation of the object. - + The to write to. - + - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. + Flushes whatever is in the buffer to the underlying and also flushes the underlying . - 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. + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. - 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. + Writes the beginning of a JSON object. - 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. + Writes the beginning of a JSON array. - The JSON to deserialize. - The deserialized object from the JSON string. - + - Deserializes the JSON to a .NET object using . + Writes the start of a constructor with the given name. - 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. + The name of the constructor. - + - Deserializes the JSON to the specified .NET type. + Writes the specified end token. - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. + The end token to write. - + - Deserializes the JSON to the specified .NET type. + Writes the property name of a name/value pair on a JSON object. - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. + The name of the property. - + - Deserializes the JSON to the given anonymous type. + Writes the property name of a name/value pair on a JSON object. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. - + - Deserializes the JSON to the given anonymous type using . + Writes indent characters. - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered 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 . + Writes the JSON value delimiter. - 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 . + Writes an indent space. - 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 . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. + The value to write. - + - Deserializes the JSON to the specified .NET type using . + Writes a null value. - 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. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Writes an undefined value. - 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. + Writes raw JSON. - 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. - + The raw JSON to write. - + - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. + Writes a value. - 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. - + The value to write. - + - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. + Writes a value. - 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. - + The value to write. - + - Populates the object with values from the JSON string. + Writes a value. - The JSON to populate values from. - The target object to populate values onto. + The value to write. - + - Populates the object with values from the JSON string using . + Writes a value. - 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. - + The value to write. - + - Asynchronously populates the object with values from the JSON string using . + Writes a value. - 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. - + The value to write. - + - Serializes the to a JSON string. + Writes a value. - The node to convert to JSON. - A JSON string of the XNode. + The value to write. - + - Serializes the to a JSON string using formatting. + Writes a of value. - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. + The of value to write. - + - Serializes the to a JSON string using formatting and omits the root object if is true. + Writes a value. - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. + The value to write. - + - Deserializes the from a JSON string. + Writes a of value. - The JSON string. - The deserialized XNode + The of value to write. - + - Deserializes the from a JSON string nested in a root elment specified by . + Writes a value. - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode + The value to write. - + - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. + Writes a value. - 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 XNode + The value to write. - + - 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 - . + Writes a value. + The value to write. - + - Instructs the to use the specified when serializing the member or class. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. - Type of the converter. + The value to write. - + - Gets the type of the converter. + Writes a value. - The type of the converter. + The value to write. - + - Represents a collection of . + Writes a value. + The value to write. - + - Instructs the how to serialize the collection. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a [] value. + The [] value to write. - + - Initializes a new instance of the class with the specified container Id. + Writes a value. - The container Id. + The value to write. - + - The exception thrown when an error occurs during Json serialization or deserialization. + Writes a value. + The value to write. - + - Initializes a new instance of the class. + Writes a value. + The value to write. - + - Initializes a new instance of the class - with a specified error message. + Writes a value. - The error message that explains the reason for the exception. + The value to write. - + - 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. + Writes a comment /*...*/ containing the specified text. - 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. + Text to place inside the comment. - + - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. + Writes the given white space. + The string of white space characters. - + - Initializes a new instance of the class. + Specifies the type of JSON token. - + - Gets or sets a value that indicates whether to write extension data when serializing the object. + This is returned by the if a read method has not been called. - - 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. + An object start token. - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - + - Instructs the not to serialize the public field or public read/write property value. + An array start token. - + - Instructs the how to serialize the object. + A constructor start token. - + - Initializes a new instance of the class. + An object property name. - + - Initializes a new instance of the class with the specified member serialization. + A comment. - The member serialization. - + - Initializes a new instance of the class with the specified container Id. + Raw JSON. - The container Id. - + - Gets or sets the member serialization. + An integer. - The member serialization. - + - Gets or sets a value that indicates whether the object's properties are required. + A float. - - A value indicating whether the object's properties are required. - - + - Instructs the to always serialize the member with the specified name. + A string. - + - Initializes a new instance of the class. + A boolean. - + - Initializes a new instance of the class with the specified name. + A null token. - Name of the property. - + - Gets or sets the converter used when serializing the property's collection items. + An undefined token. - The collection's items converter. - + - Gets or sets the null value handling used when serializing this property. + An object end token. - The null value handling. - + - Gets or sets the default value handling used when serializing this property. + An array end token. - The default value handling. - + - Gets or sets the reference loop handling used when serializing this property. + A constructor end token. - The reference loop handling. - + - Gets or sets the object creation handling used when deserializing this property. + A Date. - The object creation handling. - + - Gets or sets the type name handling used when serializing this property. + Byte data. - The type name handling. - + - Gets or sets whether this property's value is serialized as a reference. + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - Whether this property's value is serialized as a reference. - + - Gets or sets the order of serialization and deserialization of a member. + Sets an event handler for receiving schema validation errors. - The numeric order of serialization or deserialization. - + - Gets or sets a value indicating whether this property is required. + Gets the text value of the current JSON token. - - A value indicating whether this property is required. - + - + - Gets or sets the name of the property. + Gets the depth of the current token in the JSON document. - The name of the property. + The depth of the current token in the JSON document. - + - Gets or sets the the reference loop handling used when serializing the property's collection items. + Gets the path of the current JSON token. - The collection's items reference loop handling. - + - Gets or sets the the type name handling used when serializing the property's collection items. + Gets the quotation mark character used to enclose the value of a string. - The collection's items type name handling. + - + - Gets or sets whether this property's collection items are serialized as a reference. + Gets the type of the current JSON token. - Whether this property's collection items are serialized as a reference. + - + - The exception thrown when an error occurs while reading Json text. + Gets the .NET type for the current JSON token. + - + - Initializes a new instance of the class. + Initializes a new instance of the class that + validates the content returned from the given . + The to read from while validating. - + - Initializes a new instance of the class - with a specified error message. + Gets or sets the schema. - The error message that explains the reason for the exception. + The schema. - + - 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 the used to construct this . - 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 specified in the constructor. - + - Gets the line number indicating where the error occurred. + Changes the reader's state to . + If is set to true, the underlying is also closed. - The line number indicating where the error occurred. - + - Gets the line position indicating where the error occurred. + Reads the next JSON token from the underlying as a of . - The line position indicating where the error occurred. + A of . - + - Gets the path to the JSON where the error occurred. + Reads the next JSON token from the underlying as a []. - The path to the JSON where the error occurred. + + A [] or null if the next JSON token is null. + - + - The exception thrown when an error occurs during Json serialization or deserialization. + Reads the next JSON token from the underlying as a of . + A of . - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . + A of . - + - Initializes a new instance of the class - with a specified error message. + Reads the next JSON token from the underlying as a of . - The error message that explains the reason for the exception. + A of . - + - 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. + Reads the next JSON token from the underlying as a . - 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. + A . This method will return null at the end of an array. - + - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. + Reads the next JSON token from the underlying as a of . + A of . This method will return null at the end of an array. - + - Initializes a new instance of the class. + Reads the next JSON token from the underlying as a of . + A of . - + - Creates a new instance. - The will not use default settings. + Reads the next JSON token from the underlying . - A new instance. - The will not use default settings. + true if the next token was read successfully; false if there are no more tokens to read. - + - Creates a new instance using the specified . - The will not use default settings. + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - + - Creates a new instance. - The will use default settings. + Asynchronously closes this writer. + If is set to true, the destination is also closed. - - A new instance. - The will use default settings. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Creates a new instance using the specified . - The will use default settings. + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Populates the JSON values onto the target object. + Asynchronously writes the specified end token. - The that contains the JSON structure to reader values from. - The target object to populate values onto. + 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 asynchronicity. - + - Populates the JSON values onto the target object. + Asynchronously writes indent characters. - The that contains the JSON structure to reader values from. - The target object to populate values onto. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified . + Asynchronously writes the JSON value delimiter. - The that contains the JSON structure to deserialize. - The being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes an indent space. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes raw JSON without changing the writer's state. - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. + 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 asynchronicity. - + - Deserializes the Json structure contained by the specified - into an instance of the specified type. + Asynchronously writes the end of the current JSON object or array. - The containing the object. - The of object being deserialized. - The instance of being deserialized. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of an array. - The used to write the Json structure. - The to serialize. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of a constructor. - 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. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes the end of a JSON object. - 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. - + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Serializes the specified and writes the Json structure - to a Stream using the specified . + Asynchronously writes a null value. - The used to write the Json structure. - The to serialize. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. - + - Occurs when the errors during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving references. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving type names. + 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 asynchronicity. - + - Gets or sets the used by the serializer when writing trace messages. + Asynchronously writes a comment /*...*/ containing the specified text. - The trace writer. + 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 asynchronicity. - + - Gets or sets how type name writing and reading is handled by the serializer. + 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 asynchronicity. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Asynchronously writes the start of a constructor with the given name. - The type name assembly format. + 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 asynchronicity. - + - Gets or sets how object references are preserved by the serializer. + 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 asynchronicity. - + - Get or set how reference loops (e.g. a class referencing itself) is handled. + 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 asynchronicity. - + - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + 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 asynchronicity. - + - Get or set how null values are handled during serialization and deserialization. + 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 asynchronicity. - + - Get or set how null default are handled during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets how objects are created during deserialization. + Asynchronously writes a of value. - The object creation handling. + 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 asynchronicity. - + - Gets or sets how constructors are used during deserialization. + Asynchronously writes a value. - The constructor handling. + 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 asynchronicity. - + - Gets or sets how metadata properties are used during deserialization. + Asynchronously writes a value. - The metadata properties handling. + 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 asynchronicity. - + - Gets a collection that will be used during serialization. + Asynchronously writes a of value. - Collection that will be used during serialization. + 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 asynchronicity. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + 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 asynchronicity. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Asynchronously writes a value. - The context. + 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 asynchronicity. - + - Indicates how JSON text output is formatted. + 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 asynchronicity. - + - Get or set how dates are written to JSON text. + 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 asynchronicity. - + - Get or set how time zones are handling during serialization and deserialization. + 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 asynchronicity. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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 asynchronicity. - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + 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 asynchronicity. - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. + 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 asynchronicity. - + - Get or set how strings are escaped when writing JSON text. + 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 asynchronicity. - + - Get or set how and values are formatting when writing JSON text. + 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 asynchronicity. - + - Gets or sets the culture used when reading JSON. Defaults to . + 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 asynchronicity. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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 asynchronicity. - + - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + Asynchronously writes a of value. - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - + 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 asynchronicity. - + - Specifies the settings on a object. + 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 asynchronicity. - + - Initializes a new instance of the class. + 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 asynchronicity. - + - Gets or sets how reference loops (e.g. a class referencing itself) is handled. + Asynchronously writes a value. - Reference loop handling. + 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 asynchronicity. - + - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + Asynchronously writes a of value. - Missing member handling. + 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 asynchronicity. - + - Gets or sets how objects are created during deserialization. + Asynchronously writes a value. - The object creation handling. + 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 asynchronicity. - + - Gets or sets how null values are handled during serialization and deserialization. + Asynchronously writes a of value. - Null value handling. + 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 asynchronicity. - + - Gets or sets how null default are handled during serialization and deserialization. + Asynchronously writes a value. - The default value handling. + 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 asynchronicity. - + - Gets or sets a collection that will be used during serialization. + Asynchronously writes a value. - The converters. + 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 asynchronicity. - + - Gets or sets how object references are preserved by the serializer. + Asynchronously writes a of value. - The preserve references handling. + 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 asynchronicity. - + - Gets or sets how type name writing and reading is handled by the serializer. + Asynchronously writes a value. - The type name handling. + 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 asynchronicity. - + - Gets or sets how metadata properties are used during deserialization. + Asynchronously writes a of value. - The metadata properties handling. + 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 asynchronicity. - + - Gets or sets how a type name assembly is written and resolved by the serializer. + Asynchronously writes a value. - The type name assembly format. + 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 asynchronicity. - + - Gets or sets how constructors are used during deserialization. + Asynchronously writes a value. - The constructor handling. + 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 asynchronicity. - + - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. + Asynchronously writes a of value. - The contract resolver. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving references. + Asynchronously writes a value. - The reference resolver. + 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 asynchronicity. - + - Gets or sets the used by the serializer when writing trace messages. + Asynchronously writes a of value. - The trace writer. + 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 asynchronicity. - + - Gets or sets the used by the serializer when resolving type names. + Asynchronously writes a value. - The binder. + 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 asynchronicity. - + - Gets or sets the error handler called during serialization and deserialization. + Asynchronously writes a of value. - The error handler called during serialization and deserialization. + 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 asynchronicity. - + - Gets or sets the used by the serializer when invoking serialization callback methods. + Asynchronously writes a value. - The context. + 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 asynchronicity. - + - Get or set how and values are formatting when writing JSON text. + 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 asynchronicity. - + - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + 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 asynchronicity. - + - Indicates how JSON text output is formatted. + 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 asynchronicity. - + - Get or set how dates are written to JSON text. + 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 asynchronicity. - + - Get or set how time zones are handling during serialization and deserialization. + 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 asynchronicity. - + - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + 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. + - + - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. + 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. + - + - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + Gets the top. + The top. - + - Get or set how strings are escaped when writing JSON text. + Gets the state of the writer. - + - Gets or sets the culture used when reading JSON. Defaults to . + Gets the path of the writer. - + - Gets a value indicating whether there will be a check for additional content after deserializing an object. + Gets or sets a value indicating how JSON text output should be formatted. - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - + - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + Gets or sets how dates are written to JSON text. - + - Initializes a new instance of the class with the specified . + Gets or sets how time zones are handled when writing JSON text. - The TextReader containing the XML data to read. - + - Reads the next JSON token from the stream. + Gets or sets how strings are escaped when writing JSON text. - - 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 . + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. - - 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 . + Gets or sets how and values are formatted when writing JSON text. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets or sets the culture used when writing JSON. Defaults to . - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Flushes whatever is in the buffer to the destination and also flushes the destination. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. - A . This method will return null at the end of an array. - + - Changes the state to closed. + Writes the beginning of a JSON object. - + - Gets a value indicating whether the class can return line information. + Writes the end of a JSON object. - - true if LineNumber and LinePosition can be provided; otherwise, false. - - + - Gets the current line number. + Writes the beginning of a JSON array. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - + - Gets the current line position. + Writes the end of an array. - - 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. + Writes the start of a constructor with the given name. + The name of the constructor. - + - Creates an instance of the JsonWriter class using the specified . + Writes the end constructor. - The TextWriter to write to. - + - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. + Writes the property name of a name/value pair of a JSON object. + The name of the property. - + - Closes this stream and the underlying stream. + 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 beginning of a Json object. + Writes the end of the current JSON object or array. - + - Writes the beginning of a Json array. + Writes the current token and its children. + The to read the token from. - + - Writes the start of a constructor with the given name. + Writes the current token. - The name of the constructor. + The to read the token from. + A flag indicating whether the current token's children should be written. - + - Writes the specified end token. + Writes the token and its value. - The end token to write. + 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 property name of a name/value pair on a Json object. + Writes the token. - The name of the property. + The to write. - + - Writes the property name of a name/value pair on a JSON object. + Writes the specified end token. - 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 end token to write. - + 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. + Writes a null value. - The value to write. - + - Writes a null value. + Writes an undefined value. - + - Writes an undefined value. + Writes raw JSON without changing the writer's state. + The raw JSON to write. - + - Writes raw JSON. + 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 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. - - - - 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. - - - - - 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. + Writes a of value. + The of value to write. - + - A comment. + Writes a of value. + The of value to write. - + - Raw JSON. + Writes a of value. + The of value to write. - + - An integer. + Writes a of value. + The of value to write. - + - A float. + Writes a of value. + The of value to write. - + - A string. + Writes a of value. + The of value to write. - + - A boolean. + Writes a of value. + The of value to write. - + - A null token. + Writes a of value. + The of value to write. - + - An undefined token. + Writes a of value. + The of value to write. - + - An object end token. + Writes a of value. + The of value to write. - + - An array end token. + Writes a of value. + The of value to write. - + - A constructor end token. + Writes a of value. + The of value to write. - + - A Date. + Writes a of value. + The of value to write. - + - Byte data. + Writes a of value. + The of value to write. - + - Represents a reader that provides validation. + Writes a of value. + The of value to write. - + - Initializes a new instance of the class that - validates the content returned from the given . + Writes a of value. - The to read from while validating. + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a of value. - A . + The of value to write. - + - Reads the next JSON token from the stream as a . + Writes a [] value. - - A or a null reference if the next JSON token is null. - + The [] value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. - A . + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a value. + An error will raised if the value cannot be written as a single JSON token. - A . This method will return null at the end of an array. + The value to write. - + - Reads the next JSON token from the stream as a . + Writes a comment /*...*/ containing the specified text. - A . This method will return null at the end of an array. + Text to place inside the comment. - + - Reads the next JSON token from the stream as a . + Writes the given white space. - A . + The string of white space characters. - + - Reads the next JSON token from the stream. + Releases unmanaged and - optionally - managed resources. - - true if the next token was read successfully; false if there are no more tokens to read. - + true to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Sets an event handler for receiving schema validation errors. + Sets the state of the . + The being written. + The value being written. - + - Gets the text value of the current JSON token. + The exception thrown when an error occurs while writing JSON text. - - + - Gets the depth of the current token in the JSON document. + Gets the path to the JSON where the error occurred. - The depth of the current token in the JSON document. + The path to the JSON where the error occurred. - + - Gets the path of the current JSON token. + Initializes a new instance of the class. - + - Gets the quotation mark character used to enclose the value of a string. + Initializes a new instance of the class + with a specified error message. - + The error message that explains the reason for the exception. - + - Gets the type of the current JSON token. + 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. - + - Gets the Common Language Runtime (CLR) type for the current JSON token. + 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. - + - Gets or sets the schema. + Specifies how JSON comments are handled when loading JSON. - The schema. - + - Gets the used to construct this . + Ignore comments. - The specified in the constructor. - + - The exception thrown when an error occurs while reading Json text. + Load comments as a with type . - + - Initializes a new instance of the class. + Specifies how duplicate property names are handled when loading JSON. - + - Initializes a new instance of the class - with a specified error message. + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. - 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. + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. - 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. - + - Gets the path to the JSON where the error occurred. + Throw a when a duplicate property is encountered. - The path to the JSON where the error occurred. @@ -3774,7 +5659,15 @@ The type of the objects in source, constrained to . An of that contains the source collection. - An of that contains the ancestors of every node in 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. @@ -3782,7 +5675,15 @@ The type of the objects in source, constrained to . An of that contains the source collection. - An of that contains the descendants of every node in 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. @@ -3797,14 +5698,14 @@ An of that contains the source collection. The token key. - An of that contains the values of every node in the source collection with the given 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 node in the source collection. + An of that contains the values of every token in the source collection. @@ -3813,7 +5714,7 @@ 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 node in the source collection with the given key. + An that contains the converted values of every token in the source collection with the given key. @@ -3821,7 +5722,7 @@ The type to convert the values to. An of that contains the source collection. - An that contains the converted values of every node in the source collection. + An that contains the converted values of every token in the source collection. @@ -3846,7 +5747,7 @@ The source collection type. An of that contains the source collection. - An of that contains the values of every node in the source collection. + An of that contains the values of every token in the source collection. @@ -3855,7 +5756,7 @@ 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 node in the source collection. + An that contains the converted values of every token in the source collection. @@ -3876,11 +5777,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. @@ -3892,912 +5793,1085 @@ - + - Represents a token that can contain other tokens. + 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. - + - Represents an abstract JSON token. + 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 . - + - Compares the values of two tokens, including the values of all descendant tokens. + Asynchronously loads a from a . - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. + 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 . - + - Adds the specified content immediately after this token. + Gets the container's children tokens. - A content object that contains simple content or a collection of content objects to be added after this token. + The container's children tokens. - + - Adds the specified content immediately before this token. + Gets the node type for this . - A content object that contains simple content or a collection of content objects to be added before this token. + The type. - + - Returns a collection of the ancestor tokens of this token. + Initializes a new instance of the class. - A collection of the ancestor tokens of this token. - + - Returns a collection of the sibling tokens after this token, in document order. + Initializes a new instance of the class from another object. - A collection of the sibling tokens after this tokens, in document order. + A object to copy from. - + - Returns a collection of the sibling tokens before this token, in document order. + Initializes a new instance of the class with the specified content. - A collection of the sibling tokens before this token, in document order. + The contents of the array. - + - Gets the with the specified key converted to the specified type. + Initializes a new instance of the class with the specified content. - The type to convert the token to. - The token key. - The converted token value. + The contents of the array. - + - Returns a collection of the child tokens of this token, in document order. + Loads an from a . - An of containing the child tokens of this , in document order. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + Loads an from a . - The type to filter the child tokens on. - A containing the child tokens of this , in document order. + 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 . - + - Returns a collection of the child values of this token, in document order. + Load a from a string that contains JSON. - The type to convert the values to. - A containing the child values of this , in document order. + A that contains JSON. + A populated from the string that contains JSON. + + + - + - Removes this token from its parent. + 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. - + - Replaces this token with the specified token. + Creates a from an object. - The value. + 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 . + 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. - + - Returns the indented JSON for this token. + 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 . - The indented JSON for this token. - + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . - + - Returns the JSON for this token using the given formatting and converters. + Asynchronously loads a from a . - 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. + 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 . - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Gets or sets the name of this constructor. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Gets the node type for this . - The value. - The result of the conversion. + The type. - + - Performs an explicit conversion from to . + Initializes a new instance of the class. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the class from another object. - The value. - The result of the conversion. + A object to copy from. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name and content. - The value. - The result of the conversion. + The constructor name. + The contents of the constructor. - + - Performs an explicit conversion from to . + Initializes a new instance of the class with the specified name. - The value. - The result of the conversion. + The constructor name. - + - Performs an explicit conversion from to . + Writes this token to a . - The value. - The result of the conversion. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an explicit conversion from to . + Gets the with the specified key. - The value. - The result of the conversion. + The with the specified key. - + - Performs an explicit conversion from to . + Loads a from a . - The value. - The result of the conversion. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Performs an explicit conversion from to . + Loads a from a . - The value. - The result of the conversion. + 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 . - + - Performs an explicit conversion from to . + Represents a token that can contain other tokens. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Occurs when the items list of the collection has changed, or the collection is reset. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Gets the container's children tokens. - The value. - The result of the conversion. + The container's children tokens. - + - Performs an explicit conversion from to . + Raises the event. - The value. - The result of the conversion. + The instance containing the event data. - + - Performs an explicit conversion from to . + Gets a value indicating whether this token has child tokens. - The value. - The result of the conversion. + + true if this token has child values; otherwise, false. + - + - Performs an explicit conversion from to . + Get the first child token of this token. - The value. - The result of the conversion. + + A containing the first child token of the . + - + - Performs an explicit conversion from to . + Get the last child token of this token. - The value. - The result of the conversion. + + A containing the last child token of the . + - + - Performs an explicit conversion from to . + Returns a collection of the child tokens of this token, in document order. - The value. - The result of the conversion. + + An of containing the child tokens of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the child values of this token, in document order. - The value. - The result of the conversion. + The type to convert the values to. + + A containing the child values of this , in document order. + - + - Performs an explicit conversion from to . + Returns a collection of the descendant tokens for this token in document order. - The value. - The result of the conversion. + An of containing the descendant tokens of the . - + - Performs an explicit conversion from to . + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - The value. - The result of the conversion. + An of containing this token, and all the descendant tokens of the . - + - Performs an explicit conversion from to . + Adds the specified content as children of this . - The value. - The result of the conversion. + The content to be added. - + - Performs an explicit conversion from to . + Adds the specified content as the first children of this . - The value. - The result of the conversion. + The content to be added. - + - Performs an explicit conversion from to . + Creates a that can be used to add tokens to the . - The value. - The result of the conversion. + A that is ready to have content written to it. - + - Performs an explicit conversion from to . + Replaces the child nodes of this token with the specified content. - The value. - The result of the conversion. + The content. - + - Performs an explicit conversion from to . + Removes the child nodes from this token. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Merge the specified content into this . - The value. - The result of the conversion. + The content to be merged. - + - Performs an explicit conversion from to . + Merge the specified content into this using . - The value. - The result of the conversion. + The content to be merged. + The used to merge the content. - + - Performs an explicit conversion from to . + Gets the count of child JSON tokens. - The value. - The result of the conversion. + The count of child JSON tokens. - + - Performs an explicit conversion from to . + Represents a collection of objects. - The value. - The result of the conversion. + The type of token. - + - Performs an explicit conversion from to . + An empty collection of objects. - The value. - The result of the conversion. - + - Performs an explicit conversion from to . + Initializes a new instance of the struct. - The value. - The result of the conversion. + The enumerable. - + - Performs an explicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value. - The result of the conversion. + + A that can be used to iterate through the collection. + - + - Performs an explicit conversion from to . + Gets the of with the specified key. - The value. - The result of the conversion. + - + - Performs an explicit conversion from to . + Determines whether the specified is equal to this instance. - The value. - The result of the conversion. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Determines whether the specified is equal to this instance. - The value to create a from. - The initialized with the specified value. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Performs an implicit conversion from to . + Returns a hash code for this instance. - The value to create a from. - The initialized with the specified value. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Performs an implicit conversion from to . + Represents a JSON object. - The value to create a from. - The initialized with the specified value. + + + - + - Performs an implicit conversion from to . + Writes this token to a asynchronously. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Asynchronously loads a from a . - The value to create a from. - The initialized with the specified value. + 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 . - + - Performs an implicit conversion from to . + Asynchronously loads a from a . - The value to create a from. - The initialized with the specified value. + 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 . - + - Performs an implicit conversion from to . + Gets the container's children tokens. - The value to create a from. - The initialized with the specified value. + The container's children tokens. - + - Performs an implicit conversion from to . + Occurs when a property value changes. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class. - The value to create a from. - The initialized with the specified value. - + - Performs an implicit conversion from to . + Initializes a new instance of the class from another object. - The value to create a from. - The initialized with the specified value. + A object to copy from. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Initializes a new instance of the class with the specified content. - The value to create a from. - The initialized with the specified value. + The contents of the object. - + - Performs an implicit conversion from to . + Gets the node type for this . - The value to create a from. - The initialized with the specified value. + The type. - + - Performs an implicit conversion from to . + Gets an of of this object's properties. - The value to create a from. - The initialized with the specified value. + An of of this object's properties. - + - Performs an implicit conversion from to . + Gets a with the specified name. - The value to create a from. - The initialized with the specified value. + The property name. + A with the specified name or null. - + - Performs an implicit conversion from to . + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. - The value to create a from. - The initialized with the specified value. + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. - + - Performs an implicit conversion from to . + Gets a of of this object's property values. - The value to create a from. - The initialized with the specified value. + A of of this object's property values. - + - Performs an implicit conversion from to . + Gets the with the specified key. - The value to create a from. - The initialized with the specified value. + The with the specified key. - + - Performs an implicit conversion from to . + Gets or sets the with the specified property name. - The value to create a from. - The initialized with the specified value. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Loads a from a . - The value to create a from. - The initialized with the specified value. + 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. + - + - Performs an implicit conversion from to . + Load a from a string that contains JSON. - The value to create a from. - The initialized with the specified value. + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + - + - Performs an implicit conversion from to . + Load a from a string that contains JSON. - The value to create a from. - The initialized with the specified value. + 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. + + + + - + - Performs an implicit conversion from to . + Creates a from an object. - The value to create a from. - The initialized with the specified value. + The object that will be used to create . + A with the values of the specified object. - + - Performs an implicit conversion from to . + Creates a from an object. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Writes this token to a . - The value to create a from. - The initialized with the specified value. + A into which this method will write. + A collection of which will be used when writing the token. - + - Performs an implicit conversion from to . + Gets the with the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The with the specified property name. - + - Performs an implicit conversion from to . + 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. - The value to create a from. - The initialized with the specified value. + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. - + - Performs an implicit conversion from to . + 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. - The value to create a from. - The initialized with the specified value. + 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. - + - Performs an implicit conversion from to . + Adds the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The value. - + - Performs an implicit conversion from to . + Determines whether the JSON object has the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + true if the JSON object has the specified property name; otherwise, false. - + - Performs an implicit conversion from to . + Removes the property with the specified name. - The value to create a from. - The initialized with the specified value. + Name of the property. + true if item was successfully removed; otherwise, false. - + - Performs an implicit conversion from to . + Tries to get the with the specified property name. - The value to create a from. - The initialized with the specified value. + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. - + - Performs an implicit conversion from to . + Returns an enumerator that can be used to iterate through the collection. - The value to create a from. - The initialized with the specified value. + + A that can be used to iterate through the collection. + - + - Performs an implicit conversion from to . + Raises the event with the provided arguments. - The value to create a from. - The initialized with the specified value. + Name of the property. - + - Creates an for this token. + Returns the responsible for binding operations performed on this object. - An that can be used to read this token and its descendants. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Creates a from an object. + Represents a JSON property. - The object that will be used to create . - A with the value of the specified object - + - Creates a from an object using the specified . + Writes this token to a asynchronously. - 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 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. - + - Creates the specified .NET type from the . + Asynchronously loads a from a . - The object type that the token will be deserialized to. - The new object created from the JSON value. + 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 . - + - Creates the specified .NET type from the . + Asynchronously loads a from a . - The object type that the token will be deserialized to. - The new object created from the JSON value. + 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 . - + - Creates the specified .NET type from the using the specified . + Gets the container's children tokens. - 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. + The container's children tokens. - + - Creates the specified .NET type from the using the specified . + Gets the property name. - 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. + The property name. - + - Creates a from a . + Gets or sets the property value. - 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. - + The property value. - + - Load a from a string that contains JSON. + Initializes a new instance of the class from another object. - A that contains JSON. - A populated from the string that contains JSON. + A object to copy from. - + - Creates a from a . + Gets the node type for this . - 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. - + The type. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Initializes a new instance of the class. - - A that contains a JPath expression. - - A , or null. + The property name. + The property content. - + - Selects a using a JPath expression. Selects the token that matches the object path. + Initializes a new instance of the class. - - 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 . + The property name. + The property content. - + - Selects a collection of elements using a JPath expression. + Writes this token to a . - - A that contains a JPath expression. - - An that contains the selected elements. + A into which this method will write. + A collection of which will be used when writing the token. - + - Selects a collection of elements using a JPath expression. + Loads a from a . - - 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. + A that will be read for the content of the . + A that contains the JSON that was read from the specified . - + - Returns the responsible for binding operations performed on this object. + Loads a from a . - The expression tree representation of the runtime value. - - The to bind this object. - + 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 . - + - Returns the responsible for binding operations performed on this object. + Represents a raw JSON string. - 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. + Asynchronously creates an instance of with the content of the reader's current token. - A new instance of the . + 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. - + - Gets a comparer that can compare two tokens for value equality. + Initializes a new instance of the class from another object. - A that can compare two nodes for value equality. + A object to copy from. - + - Gets or sets the parent. + Initializes a new instance of the class. - The parent. + The raw json. - + - Gets the root of this . + Creates an instance of with the content of the reader's current token. - The root of this . + The reader. + An instance of with the content of the reader's current token. - + - Gets the node type for this . + Specifies the settings used when loading JSON. - The type. - + - Gets a value indicating whether this token has child tokens. + Initializes a new instance of the class. - - true if this token has child values; otherwise, false. - - + - Gets the next sibling token of this node. + Gets or sets how JSON comments are handled when loading JSON. + The default value is . - The that contains the next sibling token. + The JSON comment handling. - + - Gets the previous sibling token of this node. + Gets or sets how JSON line info is handled when loading JSON. + The default value is . - The that contains the previous sibling token. + The JSON line info handling. - + - Gets the path of the JSON token. + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + The JSON duplicate property name handling. - + - Gets the with the specified key. + Specifies the settings used when merging JSON. - The with the specified key. - + - Get the first child token of this token. + Initializes a new instance of the class. - A containing the first child token of the . - + - Get the last child token of this token. + Gets or sets the method used when merging JSON arrays. - A containing the last child token of the . + The method used when merging JSON arrays. - + - Raises the event. + Gets or sets how null value properties are merged. - The instance containing the event data. + How null value properties are merged. - + - Returns a collection of the child tokens of this token, in document order. + Gets or sets the comparison used to match property names while merging. + 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. - - An of containing the child tokens of this , in document order. - + The comparison used to match property names while merging. - + - Returns a collection of the child values of this token, in document order. + Represents an abstract JSON token. - 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. + Writes this token to a asynchronously. - An containing the descendant tokens of the . + 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. - + - Adds the specified content as children of this . + Writes this token to a asynchronously. - The content to be added. + 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. - + - Adds the specified content as the first children of this . + Asynchronously creates a from a . - The content to be added. + 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. + - + - Creates an that can be used to add tokens to the . + Asynchronously creates a from a . - An that is ready to have content written to it. + 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. + - + - Replaces the children nodes of this token with the specified content. + Asynchronously creates a from a . - The content. + 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. + - + - Removes the child nodes from this token. + 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. + - + - Merge the specified content into this . + Gets a comparer that can compare two tokens for value equality. - The content to be merged. + A that can compare two nodes for value equality. - + - Merge the specified content into this using . + Gets or sets the parent. - The content to be merged. - The used to merge the content. + The parent. - + - Occurs when the items list of the collection has changed, or the collection is reset. + Gets the root of this . + The root of this . - + - Gets the container's children tokens. + Gets the node type for this . - The container's children tokens. + The type. - + Gets a value indicating whether this token has child tokens. @@ -4805,778 +6879,809 @@ true if this token has child values; otherwise, false. - + - Get the first child token of this token. + Compares the values of two tokens, including the values of all descendant tokens. - - A containing the first child token of the . - + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. - + - Get the last child token of this token. + Gets the next sibling token of this node. - - A containing the last child token of the . - + The that contains the next sibling token. - + - Gets the count of child JSON tokens. + Gets the previous sibling token of this node. - The count of child JSON tokens + The that contains the previous sibling token. - + - Initializes a new instance of the class. + Gets the path of the JSON token. - + - Initializes a new instance of the class from another object. + Adds the specified content immediately after this token. - A object to copy from. + A content object that contains simple content or a collection of content objects to be added after this token. - + - Initializes a new instance of the class with the specified content. + Adds the specified content immediately before this token. - The contents of the array. + A content object that contains simple content or a collection of content objects to be added before this token. - + - Initializes a new instance of the class with the specified content. + Returns a collection of the ancestor tokens of this token. - The contents of the array. + A collection of the ancestor tokens of this token. - + - Loads an from a . + Returns a collection of tokens that contain this token, and the ancestors of this token. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + A collection of tokens that contain this token, and the ancestors of this token. - + - Load a from a string that contains JSON. + Returns a collection of the sibling tokens after this token, in document order. - A that contains JSON. - A populated from the string that contains JSON. - - - + A collection of the sibling tokens after this tokens, in document order. - + - Creates a from an object. + Returns a collection of the sibling tokens before this token, in document order. - The object that will be used to create . - A with the values of the specified object + A collection of the sibling tokens before this token, in document order. - + - Creates a from an object. + Gets the with the specified key. - 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 + The with the specified key. - + - Writes this token to a . + Gets the with the specified key converted to the specified type. - A into which this method will write. - A collection of which will be used when writing the token. + The type to convert the token to. + The token key. + The converted token value. - + - Determines the index of a specific item in the . + Get the first child token of this token. - The object to locate in the . - - The index of if found in the list; otherwise, -1. - + A containing the first child token of the . - + - Inserts an item to the at the specified index. + Get the last child token of this token. - 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. + A containing the last child token of the . - + - Removes the item at the specified index. + Returns a collection of the child tokens of this token, in document order. - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. + An of containing the child tokens of this , in document order. - + - Returns an enumerator that iterates through the collection. + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - A that can be used to iterate through the collection. - + The type to filter the child tokens on. + A containing the child tokens of this , in document order. - + - Adds an item to the . + Returns a collection of the child values of this token, in document order. - The object to add to the . - The is read-only. + The type to convert the values to. + A containing the child values of this , in document order. - + - Removes all items from the . + Removes this token from its parent. - The is read-only. - + - Determines whether the contains a specific value. + Replaces this token with the specified token. - The object to locate in the . - - true if is found in the ; otherwise, false. - + The value. - + - Copies to. + Writes this token to a . - The array. - Index of the array. + A into which this method will write. + A collection of which will be used when writing the token. - + - Removes the first occurrence of a specific object from the . + Returns the indented JSON for this token. - The object to remove from the . + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + The indented JSON for this token. - The is read-only. - - - - Gets the container's children tokens. - - The container's children tokens. - + - Gets the node type for this . + Returns the JSON for this token using the given formatting and converters. - The type. + 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. - + - Gets the with the specified key. + Performs an explicit conversion from to . - The with the specified key. + The value. + The result of the conversion. - + - Gets or sets the at the specified index. + Performs an explicit conversion from to . - + The value. + The result of the conversion. - + - Gets a value indicating whether the is read-only. + Performs an explicit conversion from to of . - true if the is read-only; otherwise, false. + The value. + The result of the conversion. - + - Represents a JSON constructor. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class from another object. + Performs an explicit conversion from to of . - A object to copy from. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name and content. + Performs an explicit conversion from to of . - The constructor name. - The contents of the constructor. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name and content. + Performs an explicit conversion from to of . - The constructor name. - The contents of the constructor. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified name. + Performs an explicit conversion from to of . - The constructor name. + The value. + The result of the conversion. - + - Writes this token to a . + Performs an explicit conversion from to . - A into which this method will write. - A collection of which will be used when writing the token. + The value. + The result of the conversion. - + - Loads an from a . + Performs an explicit conversion from to . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value. + The result of the conversion. - + - Gets the container's children tokens. + Performs an explicit conversion from to . - The container's children tokens. + The value. + The result of the conversion. - + - Gets or sets the name of this constructor. + Performs an explicit conversion from to . - The constructor name. + The value. + The result of the conversion. - + - Gets the node type for this . + Performs an explicit conversion from to . - The type. + The value. + The result of the conversion. - + - Gets the with the specified key. + Performs an explicit conversion from to . - The with the specified key. + The value. + The result of the conversion. - + - Represents a collection of objects. + Performs an explicit conversion from to of . - The type of token + The value. + The result of the conversion. - + - An empty collection of objects. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the struct. + Performs an explicit conversion from to of . - The enumerable. + The value. + The result of the conversion. - + - Returns an enumerator that iterates through the collection. + Performs an explicit conversion from to of . - - A that can be used to iterate through the collection. - + The value. + The result of the conversion. - + - Returns an enumerator that iterates through a collection. + Performs an explicit conversion from to of . - - An object that can be used to iterate through the collection. - + The value. + The result of the conversion. - + - Determines whether the specified is equal to this instance. + Performs an explicit conversion from to of . - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The value. + The result of the conversion. - + - Returns a hash code for this instance. + Performs an explicit conversion from to of . - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + The value. + The result of the conversion. - + - Gets the with the specified key. + Performs an explicit conversion from to of . - + The value. + The result of the conversion. - + - Represents a JSON object. + Performs an explicit conversion from to . - - - + The value. + The result of the conversion. - + - Initializes a new instance of the class. + Performs an explicit conversion from to of . + The value. + The result of the conversion. - + - Initializes a new instance of the class from another object. + Performs an explicit conversion from to of . - A object to copy from. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified content. + Performs an explicit conversion from to . - The contents of the object. + The value. + The result of the conversion. - + - Initializes a new instance of the class with the specified content. + Performs an explicit conversion from to . - The contents of the object. + The value. + The result of the conversion. - + - Gets an of this object's properties. + Performs an explicit conversion from to . - An of this object's properties. + The value. + The result of the conversion. - + - Gets a the specified name. + Performs an explicit conversion from to . - The property name. - A with the specified name or null. + The value. + The result of the conversion. - + - Gets an of this object's property values. + Performs an explicit conversion from to . - An of this object's property values. + The value. + The result of the conversion. - + - Loads an from a . + Performs an explicit conversion from to []. - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value. + The result of the conversion. - + - Load a from a string that contains JSON. + Performs an explicit conversion from to . - A that contains JSON. - A populated from the string that contains JSON. - - - + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to of . - The object that will be used to create . - A with the values of the specified object + The value. + The result of the conversion. - + - Creates a from an object. + Performs an explicit conversion from to . - 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 + The value. + The result of the conversion. - + - Writes this token to a . + Performs an explicit conversion from to of . - A into which this method will write. - A collection of which will be used when writing the token. + The value. + The result of the conversion. - + - Gets the with the specified property name. + Performs an explicit conversion from to . - Name of the property. - The with the specified property name. + The value. + The result of the conversion. - + - 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. + Performs an implicit conversion from to . - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. + The value to create a from. + The initialized with the specified value. - + - 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. + Performs an implicit conversion from to . - 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. + The value to create a from. + The initialized with the specified value. - + - Adds the specified property name. + Performs an implicit conversion from to . - Name of the property. - The value. + The value to create a from. + The initialized with the specified value. - + - Removes the property with the specified name. + Performs an implicit conversion from of to . - Name of the property. - true if item was successfully removed; otherwise, false. + The value to create a from. + The initialized with the specified value. - + - Tries the get value. + Performs an implicit conversion from to . - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. + The value to create a from. + The initialized with the specified value. - + - Returns an enumerator that iterates through the collection. + Performs an implicit conversion from of to . - - A that can be used to iterate through the collection. - + The value to create a from. + The initialized with the specified value. - + - Raises the event with the provided arguments. + Performs an implicit conversion from of to . - Name of the property. + The value to create a from. + The initialized with the specified value. - + - Returns the responsible for binding operations performed on this object. + Performs an implicit conversion from of to . - The expression tree representation of the runtime value. - - The to bind this object. - + The value to create a from. + The initialized with the specified value. - + - Gets the container's children tokens. + Performs an implicit conversion from of to . - The container's children tokens. + The value to create a from. + The initialized with the specified value. - + - Occurs when a property value changes. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Gets the node type for this . + Performs an implicit conversion from of to . - The type. + The value to create a from. + The initialized with the specified value. - + - Gets the with the specified key. + Performs an implicit conversion from of to . - The with the specified key. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the with the specified property name. + Performs an implicit conversion from to . - + The value to create a from. + The initialized with the specified value. - + - Represents a JSON property. + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from of to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . - The property name. - The property content. + The value to create a from. + The initialized with the specified value. - + - Writes this token to a . + Performs an implicit conversion from of to . - A into which this method will write. - A collection of which will be used when writing the token. + The value to create a from. + The initialized with the specified value. - + - Loads an from a . + Performs an implicit conversion from of to . - A that will be read for the content of the . - A that contains the JSON that was read from the specified . + The value to create a from. + The initialized with the specified value. - + - Gets the container's children tokens. + Performs an implicit conversion from to . - The container's children tokens. + The value to create a from. + The initialized with the specified value. - + - Gets the property name. + Performs an implicit conversion from of to . - The property name. + The value to create a from. + The initialized with the specified value. - + - Gets or sets the property value. + Performs an implicit conversion from of to . - The property value. + The value to create a from. + The initialized with the specified value. - + - Gets the node type for this . + Performs an implicit conversion from of to . - The type. + The value to create a from. + The initialized with the specified value. - + - Represents a raw JSON string. + Performs an implicit conversion from of to . + The value to create a from. + The initialized with the specified value. - + - Represents a value in JSON (string, integer, date, etc). + Performs an implicit conversion from to . + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class from another object. + Performs an implicit conversion from to . - A object to copy from. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from [] to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Performs an implicit conversion from of to . - The value. + The value to create a from. + The initialized with the specified value. - + - Initializes a new instance of the class with the given value. + Creates a for this token. - The value. + A that can be used to read this token and its descendants. - + - Initializes a new instance of the class with the given value. + Creates a from an object. - The value. + The object that will be used to create . + A with the value of the specified object. - + - Initializes a new instance of the class with the given value. + Creates a from an object using the specified . - The value. + 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. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Initializes a new instance of the class with the given value. + Creates an instance of the specified .NET type from the . - The value. + The object type that the token will be deserialized to. + The new object created from the JSON value. - + - Creates a comment with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A comment with the given value. + 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 string with the given value. + Creates an instance of the specified .NET type from the using the specified . - The value. - A string with the given value. + 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 null value. + Creates a from a . - A null value. + 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 null value. + Creates a from a . - A null value. + 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. + - + - Writes this token to a . + Load a from a string that contains JSON. - A into which this method will write. - A collection of which will be used when writing the token. + A that contains JSON. + A populated from the string that contains JSON. - + - Indicates whether the current object is equal to another object of the same type. + Load a from a string that contains JSON. - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. + 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. - + - Determines whether the specified is equal to the current . + Creates a from a . - The to compare with the current . + 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. - true if the specified is equal to the current ; otherwise, false. + 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. - - The parameter is null. - - + - Serves as a hash function for a particular type. + Creates a from a . + A positioned at the token to read into this . - A hash code for the current . + 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. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A , or null. - + - Returns a that represents this instance. + Selects a using a JSONPath expression. Selects the token that matches the object path. - The format. - - A that represents this instance. - + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath expression. + + An of that contains the selected elements. - + - Returns a that represents this instance. + Selects a collection of elements using a JSONPath expression. - The format. - The format provider. - - A that represents this instance. - + + A that contains a JSONPath 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. @@ -5585,75 +7690,66 @@ 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. + Returns the responsible for binding operations performed on this object. - An object to compare with this instance. + The expression tree representation of the runtime value. - 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 . + The to bind this object. - - is not the same type as this instance. - - + - Gets a value indicating whether this token has child tokens. + Creates a new instance of the . All child tokens are recursively cloned. - - true if this token has child values; otherwise, false. - + A new instance of the . - + - Gets the node type for this . + Adds an object to the annotation list of this . - The type. + The annotation to add. - + - Gets or sets the underlying token value. + Get the first annotation object of the specified type from this . - The underlying token value. + 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. - + - Initializes a new instance of the class from another object. + Gets the first annotation object of the specified type from this . - A object to copy from. + 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. - + - Initializes a new instance of the class. + Gets a collection of annotations of the specified type for this . - The raw json. + The type of the annotations to retrieve. + An that contains the annotations for this . - + - Creates an instance of with the content of the reader's current token. + Gets a collection of annotations of the specified type for this . - The reader. - An instance of with the content of the reader's current token. + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . - + - Specifies the settings used when merging JSON. + Removes the annotations of the specified type from this . + The type of annotations to remove. - + - Gets or sets the method used when merging JSON arrays. + Removes the annotations of the specified type from this . - The method used when merging JSON arrays. + The of annotations to remove. @@ -5667,7 +7763,7 @@ The first object of type to compare. The second object of type to compare. - true if the specified objects are equal; otherwise, false. + true if the specified objects are equal; otherwise, false. @@ -5676,63 +7772,37 @@ 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. - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - 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 . + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - A . This method will return null at the end of an array. - + - Reads the next JSON token from the stream as a . + Gets the at the reader's current position. - 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 . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. - + - Reads the next JSON token from the stream as a . + Initializes a new instance of the class. - A . This method will return null at the end of an array. + The token to read from. + The initial path of the token. It is prepended to the returned . - 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. + true if the next token was read successfully; false if there are no more tokens to read. @@ -5837,8 +7907,19 @@ - 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 JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + The token being written. @@ -5853,22 +7934,26 @@ - 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. + - Writes the beginning of a Json object. + Writes the beginning of a JSON object. - Writes the beginning of a Json array. + Writes the beginning of a JSON array. @@ -5885,164 +7970,425 @@ - Writes the property name of a name/value pair on a Json object. + 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. + 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 to write. + The value. - + - Writes a null value. + Initializes a new instance of the class with the given value. + The value. - + - Writes an undefined value. + Initializes a new instance of the class with the given value. + The value. - + - Writes raw JSON. + Initializes a new instance of the class with the given value. - The raw JSON to write. + The value. - + - Writes out a comment /*...*/ containing the specified text. + Initializes a new instance of the class with the given value. - Text to place inside the comment. + The value. - + - Writes a value. + Initializes a new instance of the class with the given value. - The value to write. + The value. - + - Writes a value. + Gets a value indicating whether this token has child tokens. - The value to write. + + true if this token has child values; otherwise, false. + - + - Writes a value. + Creates a comment with the given value. - The value to write. + The value. + A comment with the given value. - + - Writes a value. + Creates a string with the given value. - The value to write. + The value. + A string with the given value. - + - Writes a value. + Creates a null value. - The value to write. + A null value. - + - Writes a value. + Creates a undefined value. - The value to write. + A undefined value. - + - Writes a value. + Gets the node type for this . - The value to write. + The type. - + - Writes a value. + Gets or sets the underlying token value. - The value to write. + The underlying token value. - + - Writes a value. + Writes this token to a . - The value to write. + A into which this method will write. + A collection of s which will be used when writing the token. - + - Writes a value. + Indicates whether the current object is equal to another object of the same type. - The value to write. + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. - + - Writes a value. + Determines whether the specified is equal to the current . - The value to write. + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + - + - Writes a value. + Serves as a hash function for a particular type. - The value to write. + + A hash code for the current . + - + - Writes a value. + Returns a that represents this instance. - The value to write. + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format provider. + + A that represents this instance. + - + - Writes a value. + Returns a that represents this instance. - The value to write. + The format. + The format provider. + + A that represents this instance. + - + - Writes a value. + Returns the responsible for binding operations performed on this object. - The value to write. + The expression tree representation of the runtime value. + + The to bind this object. + - + - Writes a value. + 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. - The value to write. + 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. + - + - Writes a value. + Specifies how line information is handled when loading JSON. - The value to write. - + - Writes a value. + Ignore line information. - The value to write. - + - Gets the token being writen. + Load line information. - The token being writen. @@ -6061,6 +8407,21 @@ 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 . @@ -6074,7 +8435,7 @@ - Only members must be marked with or are serialized. + Only members marked with or are serialized. This member serialization mode can also be set by marking the class with . @@ -6082,7 +8443,27 @@ 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. + + + + + 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. @@ -6105,8 +8486,8 @@ Specifies null value handling options for the . - - + + @@ -6142,10 +8523,10 @@ 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 . - + @@ -6208,14 +8589,29 @@ 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 https://www.newtonsoft.com/jsonschema for more details. + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6225,7 +8621,12 @@ + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6236,14 +8637,24 @@ + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://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 https://www.newtonsoft.com/jsonschema for more details. + The source to test. The schema to test with. @@ -6251,64 +8662,13 @@ - An in-memory representation of a JSON Schema. - - - - - 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 . + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - - A that represents the current . - @@ -6327,7 +8687,7 @@ - Gets or sets whether the object is read only. + Gets or sets whether the object is read-only. @@ -6371,9 +8731,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. @@ -6389,15 +8749,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 (). @@ -6486,7 +8846,7 @@ Gets or sets disallowed types. - The disallow types. + The disallowed types. @@ -6506,30 +8866,71 @@ The format. - + - Returns detailed information about the schema exception. + Initializes a new instance of the class. - + - 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. - + - Initializes a new instance of the class - with a specified error message. + Reads a from the specified . - The error message that explains the reason for the exception. + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. - + - 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. + 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 https://www.newtonsoft.com/jsonschema for more details. + - 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. @@ -6549,10 +8950,46 @@ 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 https://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. @@ -6586,21 +9023,21 @@ Specify whether the generated root will be nullable. A generated from the specified type. - - - Gets or sets how undefined schemas are handled by the serializer. - - - + - Gets or sets the contract resolver. + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + - The contract resolver. - + - Resolves from an id. + Gets or sets the loaded schemas. + The loaded schemas. @@ -6614,15 +9051,14 @@ The id. A for the specified reference. - - - Gets or sets the loaded schemas. - - The loaded schemas. - + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6672,7 +9108,12 @@ + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6692,7 +9133,12 @@ + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6715,7 +9161,12 @@ + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + @@ -6739,47 +9190,115 @@ Specifies the name of the serialized object. Specifies the name of the serialized object. - + - Resolves member mappings for a type, camel casing property names. + A camel case naming strategy. - + - Used by to resolves a for a given . + 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 . + - + - Used by to resolves a for a given . + 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. - + - Initializes a new instance of the class. + 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 IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members 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. - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly performance because expensive reflection will only happen once but could 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 . - @@ -6820,10 +9339,10 @@ - Resolves the default for the contract. + Resolves the default for the contract. Type of the object. - The contract's default . + The contract's default . @@ -6902,86 +9421,49 @@ Resolves the name of the property. Name of the property. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - 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. - + Resolved name of the property. - + - Gets or sets a value indicating whether compiler generated members should be serialized. + Resolves the name of the extension data. By default no changes are made to extension data names. - - true if serialized compiler generated members; otherwise, false. - + Name of the extension data. + Resolved name of the extension data. - + - Initializes a new instance of the class. + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + Key of the dictionary. + Resolved key of the dictionary. - + - Resolves the name of the property. + Gets the resolved name of the property. Name of the property. - The property name camel cased. - - - - 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 + Name of the property. - + - Gets the reference for the sepecified object. + The default naming strategy. Property names and dictionary keys are unchanged. - The serialization context. - The object to get a reference for. - The reference to the object. - + - Determines whether the specified object is referenced. + Resolves the specified property name. - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - + The property name to resolve. + The resolved property name. - + - Adds a reference to the specified object. + The default serialization binder used when resolving and loading classes from type names. - The serialization context. - The reference. - The object to reference. - + - The default serialization binder used when resolving and loading classes from type names. + Initializes a new instance of the class. @@ -6999,8 +9481,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. @@ -7042,13 +9524,6 @@ Provides data for the Error event. - - - Initializes a new instance of the class. - - The current object. - The error context. - Gets the current object the error event is being raised against. @@ -7061,29 +9536,17 @@ The error context. - - - Get and set values for a using dynamic methods. - - - - - Provides methods to get and set values. - - - + - Sets the value. + Initializes a new instance of the class. - The target to set the value on. - The value to set on the target. + The current object. + The error context. - + - Gets the value. + Get and set values for a using dynamic methods. - The target to get the value from. - The value. @@ -7105,147 +9568,185 @@ The target to get the value from. The value. - + - Represents a trace writer. + Provides methods to get attributes. - + - Writes the specified trace level, message and optional exception. + Returns a collection of all of the attributes, or an empty collection if there are no attributes. - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. - + - 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. + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - The that will be used to filter the trace messages passed to the writer. + 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. - + - Contract details for a used by the . + Used by to resolve a for a given . + + + + - + - Contract details for a used by the . + Resolves the contract for a given type. + The type to resolve a contract for. + The contract for a given type. - + - Contract details for a used by the . + Used to resolve references when serializing and deserializing JSON by the . - + - Gets the underlying type for the contract. + Resolves a reference to its object. - The underlying type for the contract. + The serialization context. + The reference to resolve. + The object that was resolved from the reference. - + - Gets or sets the type created during deserialization. + Gets the reference for the specified object. - The type created during deserialization. + The serialization context. + The object to get a reference for. + The reference to the object. - + - Gets or sets whether this type contract is serialized as a reference. + Determines whether the specified object is referenced. - Whether this type contract is serialized as a reference. + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + - + - Gets or sets the default for this contract. + Adds a reference to the specified object. - The converter. + The serialization context. + The reference. + The object to reference. - + - Gets or sets all methods called immediately after deserialization of the object. + Allows users to control class loading and mandate what class to load. - The methods called immediately after deserialization of the object. - + - Gets or sets all methods called during deserialization of the object. + When implemented, controls the binding of a serialized object to a type. - The methods called during deserialization of the object. + 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. - + - Gets or sets all methods called after serialization of the object graph. + When implemented, controls the binding of a serialized object to a type. - The methods called after serialization of the object graph. + 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. - + - Gets or sets all methods called before serialization of the object. + Represents a trace writer. - 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. + 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 methods called when an error is thrown during the serialization of the object. + 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. - + - Gets or sets the method called immediately after deserialization of the object. + Provides methods to get and set values. - The method called immediately after deserialization of the object. - + - Gets or sets the method called during deserialization of the object. + Sets the value. - The method called during deserialization of the object. + The target to set the value on. + The value to set on the target. - + - Gets or sets the method called after serialization of the object graph. + Gets the value. - The method called after serialization of the object graph. + The target to get the value from. + The value. - + - Gets or sets the method called before serialization of the object. + Contract details for a used by the . - 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. + Gets the of the collection items. - The method called when an error is thrown during the serialization of the object. + The of the collection items. - + - Gets or sets the default creator method used to create the object. + Gets a value indicating whether the collection type is a multidimensional array. - The default creator method used to create the object. + true if the collection type is a multidimensional array; otherwise, false. - + - Gets or sets a value indicating whether the default creator is non public. + Gets or sets the function used to create the object. When set this function will override . - true if the default object creator is non-public; otherwise, false. + The function used to create the object. - + - Initializes a new instance of the class. + 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 . + Gets or sets the default collection items . The converter. @@ -7267,24 +9768,12 @@ The type name handling. - + - Initializes a new instance of the class. + Initializes a new instance of the class. The underlying type for the contract. - - - 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. - Handles serialization callback events. @@ -7314,22 +9803,94 @@ The object to set extension data on. - + Contract details for a used by the . - + - Initializes a new instance of the class. + Gets the underlying type for the contract. - The underlying type for the contract. + The underlying type for the contract. - + - Gets or sets the property name resolver. + Gets or sets the type created during deserialization. - The property name resolver. + 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 the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this 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. @@ -7343,17 +9904,29 @@ The of the dictionary values. - + - Contract details for a used by the . + 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. + 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. @@ -7366,6 +9939,12 @@ The property name resolver. + + + Initializes a new instance of the class. + + The underlying type for the contract. + Contract details for a used by the . @@ -7379,14 +9958,8 @@ - Contract details for a used by the . - - - - - Initializes a new instance of the class. + Contract details for a used by the . - The underlying type for the contract. @@ -7394,6 +9967,12 @@ The member object serialization. + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + Gets or sets a value that indicates whether the object's properties are required. @@ -7402,39 +9981,26 @@ A value indicating whether the object's properties are required. - + - Gets the object's properties. + Gets or sets how the object's properties with null values are handled during serialization and deserialization. - The object's properties. + How the object's properties with null values are handled during serialization and deserialization. - + - Gets the constructor parameters required for any non-default constructor + Gets the object's properties. + The object's properties. 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 . + 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. @@ -7449,6 +10015,23 @@ 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 . @@ -7465,14 +10048,6 @@ Maps a JSON property to a .NET member or constructor parameter. - - - Returns a that represents this instance. - - - A that represents this instance. - - Gets or sets the name of the property. @@ -7487,9 +10062,9 @@ - Gets or sets the order of serialization and deserialization of a member. + Gets or sets the order of serialization of a member. - The numeric order of serialization or deserialization. + The numeric order of serialization. @@ -7503,6 +10078,12 @@ 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. @@ -7511,8 +10092,8 @@ - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. The converter. @@ -7558,6 +10139,11 @@ A value indicating whether this is required. + + + Gets a value indicating whether has a value specified. + + Gets or sets a value indicating whether this property preserves object references. @@ -7598,9 +10184,15 @@ - 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 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 serialize. + A predicate used to determine whether the property should be deserialized. @@ -7614,6 +10206,14 @@ 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. @@ -7628,13 +10228,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. @@ -7665,7 +10265,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. @@ -7690,41 +10290,57 @@ The underlying type for the contract. - + - Represents a method that constructs an object. + Lookup and create an instance of the type described by the argument. - The object 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. - + - When applied to a method, specifies that the method is called when an error occurs serializing an object. + A kebab case naming strategy. - + - Get and set values for a using reflection. + 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. + Initializes a new instance of the class. - The member info. + + 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. + - + - Sets the value. + Initializes a new instance of the class. - The target to set the value on. - The value to set on the target. - + - Gets the value. + Resolves the specified property name. - The target to get the value from. - The value. + The property name to resolve. + The resolved property name. @@ -7732,6 +10348,16 @@ 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. @@ -7759,35 +10385,184 @@ A of the most recent trace messages. - + - 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. + A base class for resolving how property names and dictionary keys are serialized. - - The that will be used to filter the trace messages passed to the writer. - - + - Specifies metadata property handling options for the . + A flag indicating whether dictionary keys should be processed. + Defaults to false. - + - Read metadata properties located at the start of a JSON object. + A flag indicating whether extension data names should be processed. + Defaults to false. - + - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. - + - Do not try to read metadata properties. + 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. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + + + + + 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. @@ -7839,10 +10614,30 @@ 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 . + @@ -7867,34 +10662,27 @@ 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. - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - Converts the value to the specified type. If the value is unable to be converted, the @@ -7908,13 +10696,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 @@ -7934,18 +10722,60 @@ with a restriction limiting our type - + - Gets a dictionary of the names and values of an Enum type. + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - + - Gets a dictionary of the names and values of an Enum type. + 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. - The enum type to get names and values for. - + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. @@ -7961,15 +10791,6 @@ 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. @@ -8018,25 +10839,18 @@ - 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. - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - Specifies the state of the . @@ -8046,12 +10860,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. @@ -8061,7 +10875,7 @@ - A array is being written. + An array is being written. @@ -8076,8 +10890,61 @@ - A write method has not been called. + 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. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. diff --git a/packages/Newtonsoft.Json.12.0.3/packageIcon.png b/packages/Newtonsoft.Json.12.0.3/packageIcon.png new file mode 100644 index 0000000..10c06a5 Binary files /dev/null and b/packages/Newtonsoft.Json.12.0.3/packageIcon.png differ diff --git a/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg b/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg deleted file mode 100644 index 0ba67a7..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 725b1c2..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index 6bc6b88..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index f68a696..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index 597a1ce..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll deleted file mode 100644 index 1cbb715..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 32ea697..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index e9d9f38..0000000 --- a/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,7711 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Initializes a new instance of the class. - - The Oid value. - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - 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 Json data. - - - - - 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. - - - - 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. - - - - - 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 . - - - - - 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. - - - - - 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 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. - - - - - 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. - - - - - 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. - - - - 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 Json data. - - - - - Creates an instance of the JsonWriter 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 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 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 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 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 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. - An error will raised if the value cannot be written as a single JSON token. - - 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. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the 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. - - - - - 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 when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set 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 the culture used when writing JSON. Defaults to . - - - - - 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. - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - 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 paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - 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. - - 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. - - - - 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 a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - 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. - - - - 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. - - - - 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. - - - - - Initializes a new instance of the class. - - - - - 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 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. - - - - 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. - - - - - 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 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 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 . - - - - - 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 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. - - - - - 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 to enable a class to return line and position information. - - - - - 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 how to serialize the collection. - - - - - Instructs the how to serialize the object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - 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 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. - - - - 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. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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. - 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 is 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 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 is formatted. - A collection 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 Auto to write out the type name if the type of the value does not match. - Specifing 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 is 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 is 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 Auto to write out the type name if the type of the value does not match. - Specifing 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 infered 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 infered 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. - - - - - 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 - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Gets the type of the converter. - - The type of the converter. - - - - 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. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Initializes a new instance of the class. - - - - - 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. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - 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. - - - - 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. - - - - - Instructs the to always serialize the member with the specified name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - 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 and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - 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. - - - - The exception thrown when an error occurs while reading Json text. - - - - - 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. - - - - 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. - - - - 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. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings. - - - A new instance. - The will not use default settings. - - - - - Creates a new instance using the specified . - The will not use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings. - - - - - Creates a new instance. - The will use default settings. - - - A new instance. - The will use default settings. - - - - - Creates a new instance using the specified . - The will use default settings. - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings. - - - - - 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 - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - Serializes the specified and writes the Json structure - to a Stream 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. - - - - - Serializes the specified and writes the Json structure - to a Stream 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. - - - - - Serializes the specified and writes the Json structure - to a Stream using the specified . - - The used to write the Json structure. - The to serialize. - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - - - 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. - - - - - Get or set 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. - - - - - Get or set 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 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. - - - - - 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 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. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatting when writing 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. - - - - - Specifies the settings on a object. - - - - - Initializes a new instance of the class. - - - - - 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. - - 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 used by the serializer when resolving references. - - The reference resolver. - - - - 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 formatting when writing 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. - - - - - 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. - - - - 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 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. - - - - 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. - - - - - 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. - - - - 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. - - - - - 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. - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - 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 . 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. - - - - - 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. - - - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - The exception thrown when an error occurs while reading Json text. - - - - - 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. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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. - - - - - - - - Represents a token that can contain other tokens. - - - - - Represents an abstract JSON token. - - - - - 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. - - - - 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 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 converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - 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. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - 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. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - 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. - - - - - 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. - - - - - Gets the with the specified key. - - The with the specified key. - - - - 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 . - - - - 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 container's children tokens. - - The container's children tokens. - - - - 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 . - - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - 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 . - - - - Load a from a string that contains JSON. - - A that contains JSON. - 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. - - - - 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. - - - - 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. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Represents a JSON constructor. - - - - - 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. - - - - 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 . - - - - 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. - - - - Gets the with the specified key. - - The with the specified key. - - - - 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. - - - - - 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. - - - - - Gets the with the specified key. - - - - - - Represents a JSON object. - - - - - - - - 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 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. - - - - 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 . - - - - Load a from a string that contains JSON. - - A that contains JSON. - 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. - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Gets the node type for this . - - The type. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Represents a JSON property. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - 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 . - - - - 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. - - - - Gets the node type for this . - - The type. - - - - Represents a raw JSON string. - - - - - 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. - - - - 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 null value. - - A null 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. - - - - - 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. - - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - 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. - - - - 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. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - 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. - - - - 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. - - - - - 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. - - - - Gets the token being writen. - - The token being writen. - - - - 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 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 must be 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. - - - - - Contains the JSON schema extension methods. - - - - - Determines whether the is valid. - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - Determines whether the is valid. - - 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 . - - The source to test. - The schema to test with. - - - - Validates the specified . - - The source to test. - The schema to test with. - The validation event handler. - - - - An in-memory representation of a JSON Schema. - - - - - 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 . - - - - - 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. - - - - Returns detailed information about the schema exception. - - - - - 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. - - - - 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. - - - - Generates a from a specified . - - - - - 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. - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Resolves from an id. - - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - The value types allowed by the . - - - - - 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 . - - - - - 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 . - - - - - 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 . - - - - - 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. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Used by to resolves a for a given . - - - - - 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. - - - - 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 performance because expensive reflection will only happen once but could 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. - - - - 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. - Name of the property. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - 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. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - 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. - - - - Provides data for the Error event. - - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - 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. - - - - Represents a trace 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. - - - - 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. - - - - 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 . - - - - - Contract details for a used by the . - - - - - 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. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - 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. - - - - 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. - - - - 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 . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - 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. - - - - 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. - - - - - 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. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - 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 and deserialization of a member. - - The numeric order of serialization or deserialization. - - - - 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 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 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. - - - - 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. - - - - 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. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - 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 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 . - - - - - 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. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - 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. - - - - - 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. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - 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. - - - - diff --git a/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 382f1ca..0000000 Binary files a/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/packages/Newtonsoft.Json.6.0.4/tools/install.ps1 b/packages/Newtonsoft.Json.6.0.4/tools/install.ps1 deleted file mode 100644 index dfc78f0..0000000 --- a/packages/Newtonsoft.Json.6.0.4/tools/install.ps1 +++ /dev/null @@ -1,93 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -# open json.net splash page on package install -# don't open if json.net is installed as a dependency - -try -{ - $url = "http://james.newtonking.com/json" - $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) - - if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") - { - # user is installing from VS NuGet console - # get reference to the window, the console host and the input history - # show webpage if "install-package newtonsoft.json" was last input - - $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) - - $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1 - if ($prop -eq $null) { return } - - $hostInfo = $prop.GetValue($consoleWindow) - if ($hostInfo -eq $null) { return } - - $history = $hostInfo.WpfConsole.InputHistory.History - - $lastCommand = $history | select -last 1 - - if ($lastCommand) - { - $lastCommand = $lastCommand.Trim().ToLower() - if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - else - { - # user is installing from VS NuGet dialog - # get reference to the window, then smart output console provider - # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation - - $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor ` - [System.Reflection.BindingFlags]::NonPublic) - $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - if ($instanceField -eq $null -or $consoleField -eq $null) { return } - - $instance = $instanceField.GetValue($null) - if ($instance -eq $null) { return } - - $consoleProvider = $consoleField.GetValue($instance) - if ($consoleProvider -eq $null) { return } - - $console = $consoleProvider.CreateOutputConsole($false) - - $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - if ($messagesField -eq $null) { return } - - $messages = $messagesField.GetValue($console) - if ($messages -eq $null) { return } - - $operations = $messages -split "==============================" - - $lastOperation = $operations | select -last 1 - - if ($lastOperation) - { - $lastOperation = $lastOperation.ToLower() - - $lines = $lastOperation -split "`r`n" - - $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1 - - if ($installMatch) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } -} -catch -{ - # stop potential errors from bubbling up - # worst case the splash page won't open -} - -# yolo \ No newline at end of file