aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@protonmail.com>2017-11-23 10:16:47 +0100
committermarcinzelent <zelent.marcin@protonmail.com>2017-11-23 10:16:47 +0100
commit956d0c668bf20cb461c2c48ce388087bc6618886 (patch)
treef3eea2ad9ecf1dae73e1a20e3bd16cfde0e1ce45
parent462aed0ddd5dd5cca7fb51175cc0829650e4916c (diff)
Changed configs.
-rw-r--r--AirPollutionWebApi.Tests/AirPollutionWebApi.Tests.csproj91
-rw-r--r--AirPollutionWebApi.Tests/Controllers/HomeControllerTest.cs35
-rw-r--r--AirPollutionWebApi.Tests/packages.config13
-rw-r--r--AirPollutionWebApi.sln6
-rw-r--r--AirPollutionWebApi.userprefs8
-rw-r--r--AirPollutionWebApi/AirPollutionWebApi.csproj12
-rw-r--r--AirPollutionWebApi/Web.config9
-rw-r--r--AirPollutionWebApi/bin/AirPollutionWebApi.dllbin11776 -> 11776 bytes
-rw-r--r--AirPollutionWebApi/bin/AirPollutionWebApi.pdbbin2512 -> 2512 bytes
-rw-r--r--AirPollutionWebApi/bin/Newtonsoft.Json.dllbin653824 -> 502272 bytes
-rw-r--r--AirPollutionWebApi/bin/Newtonsoft.Json.xml7952
-rw-r--r--AirPollutionWebApi/bin/System.Net.Http.Formatting.dllbin185544 -> 185032 bytes
-rw-r--r--AirPollutionWebApi/bin/System.Web.Http.WebHost.dllbin82120 -> 82120 bytes
-rw-r--r--AirPollutionWebApi/bin/System.Web.Http.dllbin471240 -> 471248 bytes
-rw-r--r--AirPollutionWebApi/obj/Debug/AirPollutionWebApi.csproj.CoreCompileInputs.cache2
-rw-r--r--AirPollutionWebApi/obj/Debug/AirPollutionWebApi.dllbin11776 -> 11776 bytes
-rw-r--r--AirPollutionWebApi/obj/Debug/AirPollutionWebApi.pdbbin2512 -> 2512 bytes
-rw-r--r--AirPollutionWebApi/packages.config10
-rw-r--r--AirPollutionWebApi/web.config2
-rw-r--r--packages/Microsoft.AspNet.WebApi.5.2.0/Microsoft.AspNet.WebApi.5.2.0.nupkgbin0 -> 3175 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Client.5.2.0/Microsoft.AspNet.WebApi.Client.5.2.0.nupkgbin0 -> 188658 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Client.5.2.0/lib/net45/System.Net.Http.Formatting.dllbin0 -> 185032 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Client.5.2.0/lib/net45/System.Net.Http.Formatting.xml2094
-rw-r--r--packages/Microsoft.AspNet.WebApi.Client.5.2.0/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dllbin0 -> 150728 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Client.5.2.0/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.xml4025
-rw-r--r--packages/Microsoft.AspNet.WebApi.Core.5.2.0/Content/web.config.transform11
-rw-r--r--packages/Microsoft.AspNet.WebApi.Core.5.2.0/Microsoft.AspNet.WebApi.Core.5.2.0.nupkgbin0 -> 239362 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.dllbin0 -> 471248 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.xml6664
-rw-r--r--packages/Microsoft.AspNet.WebApi.WebHost.5.2.0/Microsoft.AspNet.WebApi.WebHost.5.2.0.nupkgbin0 -> 43002 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.WebHost.5.2.0/lib/net45/System.Web.Http.WebHost.dllbin0 -> 82120 bytes
-rw-r--r--packages/Microsoft.AspNet.WebApi.WebHost.5.2.0/lib/net45/System.Web.Http.WebHost.xml135
-rw-r--r--packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkgbin0 -> 1513616 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dllbin0 -> 493056 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.xml9108
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dllbin0 -> 430080 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.xml8251
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dllbin0 -> 493056 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.xml8558
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dllbin0 -> 502272 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.xml8558
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dllbin0 -> 446976 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.xml8083
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dllbin0 -> 387072 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml7711
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dllbin0 -> 444928 bytes
-rw-r--r--packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml8083
-rw-r--r--packages/Newtonsoft.Json.6.0.4/tools/install.ps193
48 files changed, 74278 insertions, 5236 deletions
diff --git a/AirPollutionWebApi.Tests/AirPollutionWebApi.Tests.csproj b/AirPollutionWebApi.Tests/AirPollutionWebApi.Tests.csproj
deleted file mode 100644
index a3f8082..0000000
--- a/AirPollutionWebApi.Tests/AirPollutionWebApi.Tests.csproj
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{803677F8-DC3E-47DA-8E66-BE10F4F47E3A}</ProjectGuid>
- <OutputType>Library</OutputType>
- <RootNamespace>AirPollutionWebApi.Tests</RootNamespace>
- <AssemblyName>AirPollutionWebApi.Tests</AssemblyName>
- <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug</OutputPath>
- <DefineConstants>DEBUG;</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <Optimize>true</Optimize>
- <OutputPath>bin\Release</OutputPath>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Web" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Core" />
- <Reference Include="System.Web.Services" />
- <Reference Include="System.Web.Routing" />
- <Reference Include="System.Web.Extensions" />
- <Reference Include="System.Web.Abstractions" />
- <Reference Include="System.Web.DynamicData" />
- <Reference Include="System.ComponentModel.DataAnnotations" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Web.Razor">
- <HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Web.Infrastructure">
- <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.Helpers">
- <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.WebPages.Deployment">
- <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.WebPages">
- <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.WebPages.Razor">
- <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.Mvc">
- <HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
- </Reference>
- <Reference Include="System.Net.Http.Formatting">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
- </Reference>
- <Reference Include="System.Net.Http" />
- <Reference Include="System.Web.Http">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
- </Reference>
- <Reference Include="System.Web.Http.WebHost">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.3\lib\net45\System.Web.Http.WebHost.dll</HintPath>
- </Reference>
- <Reference Include="Newtonsoft.Json">
- <HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
- </Reference>
- <Reference Include="nunit.framework">
- <HintPath>..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll</HintPath>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\AirPollutionWebApi\AirPollutionWebApi.csproj">
- <Project>{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}</Project>
- <Name>AirPollutionWebApi</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Controllers\HomeControllerTest.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-</Project> \ No newline at end of file
diff --git a/AirPollutionWebApi.Tests/Controllers/HomeControllerTest.cs b/AirPollutionWebApi.Tests/Controllers/HomeControllerTest.cs
deleted file mode 100644
index fdae606..0000000
--- a/AirPollutionWebApi.Tests/Controllers/HomeControllerTest.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using NUnit.Framework;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Web.Mvc;
-using AirPollutionWebApi;
-using AirPollutionWebApi.Controllers;
-
-namespace AirPollutionWebApi.Tests.Controllers
-{
- [TestFixture]
- public class HomeControllerTest
- {
- [Test]
- public void Index()
- {
- // Arrange
- var controller = new HomeController();
-
- // Act
- var result = (ViewResult)controller.Index();
-
- var mvcName = typeof(Controller).Assembly.GetName();
- var isMono = Type.GetType("Mono.Runtime") != null;
-
- var expectedVersion = mvcName.Version.Major + "." + mvcName.Version.Minor;
- var expectedRuntime = isMono ? "Mono" : ".NET";
-
- // Assert
- Assert.AreEqual(expectedVersion, result.ViewData["Version"]);
- Assert.AreEqual(expectedRuntime, result.ViewData["Runtime"]);
- }
- }
-}
diff --git a/AirPollutionWebApi.Tests/packages.config b/AirPollutionWebApi.Tests/packages.config
deleted file mode 100644
index 89948e8..0000000
--- a/AirPollutionWebApi.Tests/packages.config
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
- <package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" />
- <package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
- <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
- <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
- <package id="NUnit" version="3.9.0" targetFramework="net45" />
-</packages> \ No newline at end of file
diff --git a/AirPollutionWebApi.sln b/AirPollutionWebApi.sln
index 360c4e4..35d9c6a 100644
--- a/AirPollutionWebApi.sln
+++ b/AirPollutionWebApi.sln
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirPollutionWebApi", "AirPollutionWebApi\AirPollutionWebApi.csproj", "{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirPollutionWebApi.Tests", "AirPollutionWebApi.Tests\AirPollutionWebApi.Tests.csproj", "{803677F8-DC3E-47DA-8E66-BE10F4F47E3A}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -15,9 +13,5 @@ Global
{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}.Release|Any CPU.Build.0 = Release|Any CPU
- {803677F8-DC3E-47DA-8E66-BE10F4F47E3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {803677F8-DC3E-47DA-8E66-BE10F4F47E3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {803677F8-DC3E-47DA-8E66-BE10F4F47E3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {803677F8-DC3E-47DA-8E66-BE10F4F47E3A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/AirPollutionWebApi.userprefs b/AirPollutionWebApi.userprefs
index 960b2df..22153ef 100644
--- a/AirPollutionWebApi.userprefs
+++ b/AirPollutionWebApi.userprefs
@@ -1,6 +1,6 @@
<Properties StartupConfiguration="{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}|">
<MonoDevelop.Ide.ItemProperties.AirPollutionWebApi PreferredExecutionTarget="MonoDevelop.Default" />
- <MonoDevelop.Ide.Workbench ActiveDocument="AirPollutionWebApi Status">
+ <MonoDevelop.Ide.Workbench ActiveDocument="AirPollutionWebApi/Web.config">
<Files>
<File FileName="AirPollutionWebApi/Controllers/HomeController.cs" Line="7" Column="1" />
<File FileName="AirPollutionWebApi/Controllers/ReadingsController.cs" Line="14" Column="18" />
@@ -8,7 +8,11 @@
<File FileName="AirPollutionWebApi/Singletons/Singleton.cs" Line="6" Column="40" />
<File FileName="AirPollutionWebApi/App_Start/WebApiConfig.cs" Line="20" Column="63" />
<File FileName="AirPollutionWebApi/App_Start/RouteConfig.cs" Line="12" Column="29" />
- <File FileName="AirPollutionWebApi Status" />
+ <File FileName="../RestCustomer/RestCustomer.Service/Global.asax" Line="1" Column="1" />
+ <File FileName="../RestCustomer/RestCustomer.Service/Global.asax.cs" Line="1" Column="1" />
+ <File FileName="AirPollutionWebApi/Global.asax.cs" Line="1" Column="1" />
+ <File FileName="../RestCustomer/RestCustomer.Service/Web.config" Line="1" Column="1" />
+ <File FileName="AirPollutionWebApi/Web.config" Line="1" Column="1" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
diff --git a/AirPollutionWebApi/AirPollutionWebApi.csproj b/AirPollutionWebApi/AirPollutionWebApi.csproj
index 745c24d..ca8c5ac 100644
--- a/AirPollutionWebApi/AirPollutionWebApi.csproj
+++ b/AirPollutionWebApi/AirPollutionWebApi.csproj
@@ -59,20 +59,20 @@
<Reference Include="System.Web.Mvc">
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
</Reference>
+ <Reference Include="System.Net.Http" />
+ <Reference Include="System.Data" />
<Reference Include="System.Net.Http.Formatting">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
+ <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
- <Reference Include="System.Net.Http" />
<Reference Include="System.Web.Http">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
+ <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.0\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.WebHost">
- <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.3\lib\net45\System.Web.Http.WebHost.dll</HintPath>
+ <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.0\lib\net45\System.Web.Http.WebHost.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
- <HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
+ <HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
- <Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<Folder Include="Content\" />
diff --git a/AirPollutionWebApi/Web.config b/AirPollutionWebApi/Web.config
index 318bf1c..3056996 100644
--- a/AirPollutionWebApi/Web.config
+++ b/AirPollutionWebApi/Web.config
@@ -12,5 +12,14 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
<assemblies />
</compilation>
<httpRuntime targetFramework="4.5" />
+ <customErrors mode="Off" />
</system.web>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="6.0.0.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
</configuration> \ No newline at end of file
diff --git a/AirPollutionWebApi/bin/AirPollutionWebApi.dll b/AirPollutionWebApi/bin/AirPollutionWebApi.dll
index c5a0c27..8377b26 100644
--- a/AirPollutionWebApi/bin/AirPollutionWebApi.dll
+++ b/AirPollutionWebApi/bin/AirPollutionWebApi.dll
Binary files differ
diff --git a/AirPollutionWebApi/bin/AirPollutionWebApi.pdb b/AirPollutionWebApi/bin/AirPollutionWebApi.pdb
index 02cf464..fee9f7f 100644
--- a/AirPollutionWebApi/bin/AirPollutionWebApi.pdb
+++ b/AirPollutionWebApi/bin/AirPollutionWebApi.pdb
Binary files differ
diff --git a/AirPollutionWebApi/bin/Newtonsoft.Json.dll b/AirPollutionWebApi/bin/Newtonsoft.Json.dll
index 77a5d89..597a1ce 100644
--- a/AirPollutionWebApi/bin/Newtonsoft.Json.dll
+++ b/AirPollutionWebApi/bin/Newtonsoft.Json.dll
Binary files differ
diff --git a/AirPollutionWebApi/bin/Newtonsoft.Json.xml b/AirPollutionWebApi/bin/Newtonsoft.Json.xml
index dd18d3d..b48343e 100644
--- a/AirPollutionWebApi/bin/Newtonsoft.Json.xml
+++ b/AirPollutionWebApi/bin/Newtonsoft.Json.xml
@@ -9,114 +9,829 @@
Represents a BSON Oid (object id).
</summary>
</member>
+ <member name="M:Newtonsoft.Json.Bson.BsonObjectId.#ctor(System.Byte[])">
+ <summary>
+ Initializes a new instance of the <see cref="T:Newtonsoft.Json.Bson.BsonObjectId"/> class.
+ </summary>
+ <param name="value">The Oid value.</param>
+ </member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>
<value>The value of the Oid.</value>
</member>
- <member name="M:Newtonsoft.Json.Bson.BsonObjectId.#ctor(System.Byte[])">
+ <member name="T:Newtonsoft.Json.Bson.BsonReader">
<summary>
- Initializes a new instance of the <see cref="T:Newtonsoft.Json.Bson.BsonObjectId"/> class.
+ Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
</summary>
- <param name="value">The Oid value.</param>
</member>
- <member name="T:Newtonsoft.Json.Bson.BsonReader">
+ <member name="T:Newtonsoft.Json.JsonReader">
<summary>
- 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.
</summary>
</member>
- <member name="P:Newtonsoft.Json.Bson.BsonReader.JsonNet35BinaryCompatibility">
+ <member name="M:Newtonsoft.Json.JsonReader.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Newtonsoft.Json.JsonReader"/> class with the specified <see cref="T:System.IO.TextReader"/>.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Read">
+ <summary>
+ Reads the next JSON token from the stream.
+ </summary>
+ <returns>true if the next token was read successfully; false if there are no more tokens to read.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsInt32">
+ <summary>
+ Reads the next JSON token from the stream as a <see cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsString">
+ <summary>
+ Reads the next JSON token from the stream as a <see cref="T:System.String"/>.
+ </summary>
+ <returns>A <see cref="T:System.String"/>. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsBytes">
+ <summary>
+ Reads the next JSON token from the stream as a <see cref="T:Byte[]"/>.
+ </summary>
+ <returns>A <see cref="T:Byte[]"/> or a null reference if the next JSON token is null. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsDecimal">
+ <summary>
+ Reads the next JSON token from the stream as a <see cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsDateTime">
+ <summary>
+ Reads the next JSON token from the stream as a <see cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.String"/>. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsDateTimeOffset">
<summary>
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
+ Reads the next JSON token from the stream as a <see cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>. This method will return <c>null</c> at the end of an array.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Skip">
+ <summary>
+ Skips the children of the current token.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.SetToken(Newtonsoft.Json.JsonToken)">
+ <summary>
+ Sets the current token.
+ </summary>
+ <param name="newToken">The new token.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.SetToken(Newtonsoft.Json.JsonToken,System.Object)">
+ <summary>
+ Sets the current token and value.
+ </summary>
+ <param name="newToken">The new token.</param>
+ <param name="value">The value.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.SetStateBasedOnCurrent">
+ <summary>
+ Sets the state based on current token type.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.System#IDisposable#Dispose">
+ <summary>
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Dispose(System.Boolean)">
+ <summary>
+ Releases unmanaged and - optionally - managed resources
+ </summary>
+ <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Close">
+ <summary>
+ Changes the <see cref="T:Newtonsoft.Json.JsonReader.State"/> to Closed.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.CurrentState">
+ <summary>
+ Gets the current reader state.
+ </summary>
+ <value>The current reader state.</value>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.CloseInput">
+ <summary>
+ Gets or sets a value indicating whether the underlying stream or
+ <see cref="T:System.IO.TextReader"/> should be closed when the reader is closed.
</summary>
<value>
- <c>true</c> if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, <c>false</c>.
+ true to close the underlying stream or <see cref="T:System.IO.TextReader"/> when
+ the reader is closed; otherwise false. The default is true.
</value>
</member>
- <member name="P:Newtonsoft.Json.Bson.BsonReader.ReadRootValueAsArray">
+ <member name="P:Newtonsoft.Json.JsonReader.SupportMultipleContent">
<summary>
- Gets or sets a value indicating whether the root object will be read as a JSON array.
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
</summary>
<value>
- <c>true</c> if the root object will be read as a JSON array; otherwise, <c>false</c>.
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
</value>
</member>
- <member name="P:Newtonsoft.Json.Bson.BsonReader.DateTimeKindHandling">
+ <member name="P:Newtonsoft.Json.JsonReader.QuoteChar">
+ <summary>
+ Gets the quotation mark character used to enclose the value of a string.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.DateTimeZoneHandling">
<summary>
- Gets or sets the <see cref="T:System.DateTimeKind" /> used when reading <see cref="T:System.DateTime"/> values from BSON.
+ Get or set how <see cref="T:System.DateTime"/> time zones are handling when reading JSON.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.DateParseHandling">
+ <summary>
+ Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.FloatParseHandling">
+ <summary>
+ Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.DateFormatString">
+ <summary>
+ Get or set how custom date formatted strings are parsed when reading JSON.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.MaxDepth">
+ <summary>
+ Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.TokenType">
+ <summary>
+ Gets the type of the current JSON token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.Value">
+ <summary>
+ Gets the text value of the current JSON token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.ValueType">
+ <summary>
+ Gets The Common Language Runtime (CLR) type for the current JSON token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.Depth">
+ <summary>
+ Gets the depth of the current token in the JSON document.
+ </summary>
+ <value>The depth of the current token in the JSON document.</value>
+ </member>
+ <me